Function at 0x470930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4fcd88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
push eax
mov dword [esp + 0x88], esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004ecef3
mov edi, eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x58], edi
call fcn.004eca65
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x8c]
push ecx
xor ebp, ebp
push edx
mov dword [esp + 0xdc], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp edi, ebp
jne 0x470999
xor eax, eax
jmp 0x47099c
mov eax, dword [edi + 4]
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x7c]
call fcn.004ecf01
mov esi, dword [esp + 0xe0]
mov ecx, esi
call fcn.004ed255
mov edi, dword [esp + 0xe4]
cmp edi, ebp
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
je 0x4709d4
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x4709d8
xor ecx, ecx
jmp 0x470a00
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], ecx
push 0x18
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x30], ecx
call ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
push ecx
sub eax, edx
push eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.004ed1fe
cmp esi, ebp
jne 0x470a30
xor esi, esi
jmp 0x470a33
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x7c]
push esi
push edx
call fcn.004ed287
cmp edi, ebp
mov dword [esp + 0x8c], eax
je 0x470a50
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470a54
xor eax, eax
jmp 0x470a7c
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], ecx
push 0x18
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
jmp 0x470a90
mov eax, dword [esp + 0xec]
cmp eax, ebp
je 0x470aa2
mov eax, dword [eax + 4]
cmp eax, ebp
jne 0x470aa6
xor eax, eax
jmp 0x470ae6
xor ecx, ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0xc8], ecx
push 0x18
mov dword [esp + 0xd0], ecx
push eax
mov dword [esp + 0xd8], ecx
call ebx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
sub ecx, eax
mov eax, dword [esp + 0x28]
sub ecx, edx
cmp eax, ecx
jge 0x470c3f
cmp edi, ebp
je 0x470c3f
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x470c3f
xor edx, edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xb0], edx
push 0x18
mov dword [esp + 0xb8], edx
push eax
mov dword [esp + 0xc0], edx
call ebx
cmp dword [esp + 0xa4], ebp
jle 0x470c3f
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470b68
xor esi, esi
jmp 0x470b93
xor edx, edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x70], edx
push 0x18
mov dword [esp + 0x78], edx
push eax
mov dword [esp + 0x80], edx
call ebx
mov esi, dword [esp + 0x68]
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470b9e
xor eax, eax
jmp 0x470bc6
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x54], edx
push 0x18
mov dword [esp + 0x5c], edx
push eax
mov dword [esp + 0x64], edx
call ebx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push ebp
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], esi
call fcn.00465990
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470c08
mov ecx, dword [esp + 0x28]
xor eax, eax
add ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x470a90
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], edx
push 0x18
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
call ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x470a90
mov edi, dword [esp + 0xe4]
cmp edi, ebp
je 0x470c51
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470c55
xor esi, esi
jmp 0x470c7d
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], edx
push 0x18
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
call ebx
mov esi, dword [esp + 0x34]
cmp edi, ebp
je 0x470c88
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470c8c
xor eax, eax
jmp 0x470cb4
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x54], edx
push 0x18
mov dword [esp + 0x5c], edx
push eax
mov dword [esp + 0x64], edx
call ebx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x10]
push edx
push ebp
mov dword [esp + 0x20], eax
push ebp
lea eax, [esp + 0x84]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], esi
call fcn.00465990
mov edi, dword [esp + 0xec]
cmp edi, ebp
je 0x470cec
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470cf0
xor esi, esi
jmp 0x470d18
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x3c], ecx
push 0x18
mov dword [esp + 0x44], ecx
push eax
mov dword [esp + 0x4c], ecx
call ebx
mov esi, dword [esp + 0x34]
cmp edi, ebp
je 0x470d23
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470d27
xor eax, eax
jmp 0x470d4f
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x54], ecx
push 0x18
mov dword [esp + 0x5c], ecx
push eax
mov dword [esp + 0x64], ecx
call ebx
mov eax, dword [esp + 0x48]
cmp edi, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
je 0x470d6a
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x470d6e
xor eax, eax
jmp 0x470d99
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x70], ecx
push 0x18
mov dword [esp + 0x78], ecx
push eax
mov dword [esp + 0x80], ecx
call ebx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x90]
lea ecx, [esp + 0x10]
push ecx
sub edx, eax
push ebp
sub edx, ebx
push edx
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call fcn.00465990
mov eax, dword [esp + 0x8c]
cmp eax, ebp
pop ebx
jne 0x470dd1
xor eax, eax
jmp 0x470dd4
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call fcn.004ed287
lea ecx, [esp + 0x74]
call fcn.004ecf69
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x74]
mov dword [esp + 0xd4], 0xffffffff
call fcn.004ecf7f
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xcc
ret 0x10