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

Disassembly:
push 0xffffffffffffffff
push 0x610730
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
test edi, edi
je 0x47c694
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.user32.dll_IsRectEmpty]
test eax, eax
jne 0x47c694
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
mov ebx, ecx
sub ebx, dword [esp + 0x90]
sub esi, edx
test eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
je 0x47c6ae
cmp dword [eax + 4], 0
je 0x47c6ae
mov ebp, dword [esp + 0x88]
test ebp, ebp
je 0x47c6ae
cmp dword [ebp + 4], 0
je 0x47c6ae
add esi, edi
push esi
mov esi, dword [esp + 0x84]
push edi
push edx
push ecx
mov ecx, dword [esi + 4]
push ecx
call fcn.0047cd90
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
push edi
lea eax, [ebx + edi]
push eax
push edx
mov edx, dword [esi + 4]
push ecx
push edx
mov eax, ebp
call fcn.0047cd90
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x20
lea ecx, [esp + 0x60]
call fcn.0056f38b
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x78], 0
mov eax, dword [ebp + 4]
test eax, eax
je 0x47c6d0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x64]
call fcn.0056fa23
test eax, eax
je 0x47c73b
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], vtable.CBitmap.0
mov byte [esp + 0x78], 1
mov eax, dword [ebp + 4]
mov eax, dword [eax + 4]
lea ebp, [esi + edi]
lea ecx, [ebx + edi]
push ebp
push ecx
push eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x24], ecx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x5c]
call fcn.0056fcea
test eax, eax
lea ecx, [esp + 0x58]
jne 0x47c763
mov byte [esp + 0x78], 0
mov dword [esp + 0x58], vtable.CBitmap.0
call fcn.00423d70
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xffffffff
call fcn.0056fa9d
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x20
push ecx
lea ecx, [esp + 0x64]
call fcn.004502b0
push 0x28
mov dword [esp + 0x54], eax
call fcn.0055dbf6
mov ecx, dword [esp + 0x1c]
mov ebx, eax
xor eax, eax
mov dword [ebx + 4], ecx
imul ecx, ebp
add esp, 4
push eax
push eax
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [ebx], 0x28
mov dword [ebx + 8], ebp
mov word [ebx + 0xc], 1
mov word [ebx + 0xe], 0x20
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
push ebx
push eax
mov dword [esp + 0x60], ebx
call dword [sym.imp.gdi32.dll_CreateDIBSection]
test eax, eax
mov dword [esp + 0x54], eax
je 0x47cb78
cmp dword [esp + 0x14], 0
je 0x47cb78
push eax
lea ecx, [esp + 0x64]
call fcn.004304c0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x80]
push 0xcc0020
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [esp + 0x24]
push ecx
push ebp
push edx
push 0
push 0
lea ecx, [esp + 0x80]
call fcn.00450240
mov ecx, dword [esp + 0x84]
lea eax, [ecx - 0x64]
cdq
idiv edi
xor ebp, ebp
test edi, edi
mov dword [esp + 0x44], eax
jle 0x47ca46
lea edx, [esi + 1]
mov dword [esp + 0x24], edx
lea edx, [edi + edi]
mov dword [esp + 0x30], edx
mov edx, eax
imul eax, edi
neg edx
mov dword [esp + 0x28], ecx
sub ecx, eax
mov eax, esi
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
jmp 0x47c884
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x84]
add eax, ecx
cmp esi, eax
mov ebx, esi
mov dword [esp + 0x3c], eax
jge 0x47c8ea
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
sub edx, dword [esp + 0x90]
mov esi, dword [esp + 0x2c]
sub eax, ebx
sub eax, dword [esp + 0x94]
add edx, edi
add eax, edi
imul edx, eax
mov eax, dword [esp + 0x14]
add edx, ebp
add edx, edi
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x38], eax
call fcn.0047cb90
mov ecx, dword [esp + 0x38]
add ebx, 1
cmp ebx, dword [esp + 0x3c]
mov dword [ecx], eax
jl 0x47c897
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
lea eax, [edx + ebp]
cmp ebx, eax
jge 0x47c957
lea esp, [esp]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
sub eax, ebp
sub eax, dword [esp + 0x94]
add ecx, edi
sub eax, esi
mov esi, dword [esp + 0x28]
add eax, edi
imul ecx, eax
add ecx, ebx
lea eax, [edx + ecx*4]
mov ecx, dword [eax]
mov dword [esp + 0x3c], eax
call fcn.0047cb90
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [ecx], eax
add ebx, 1
lea eax, [edx + ebp]
cmp ebx, eax
jl 0x47c900
mov ebx, dword [esp + 0x30]
cmp ebx, dword [esp + 0x24]
jge 0x47c9b5
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
sub eax, ebx
sub eax, dword [esp + 0x94]
add ecx, edi
add eax, edi
imul ecx, eax
add ecx, ebp
add ecx, dword [esp + 0x1c]
lea eax, [edx + ecx*4]
mov ecx, dword [eax]
mov dword [esp + 0x3c], eax
call fcn.0047cb90
mov ecx, dword [esp + 0x3c]
add ebx, 1
cmp ebx, dword [esp + 0x24]
mov dword [ecx], eax
jl 0x47c961
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x84]
jge 0x47ca14
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
sub edx, dword [esp + 0x90]
mov esi, dword [esp + 0x2c]
sub eax, ebp
sub eax, dword [esp + 0x94]
add edx, edi
imul edx, eax
mov eax, dword [esp + 0x14]
add edx, ebx
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x3c], eax
call fcn.0047cb90
mov ecx, dword [esp + 0x3c]
add ebx, 1
cmp ebx, dword [esp + 0x84]
mov dword [ecx], eax
jl 0x47c9c2
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x28], edx
add dword [esp + 0x2c], ecx
mov eax, 1
add dword [esp + 0x24], eax
sub dword [esp + 0x30], eax
sub dword [esp + 0x84], eax
add ebp, eax
cmp ebp, edi
jl 0x47c880
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x80]
push 0xcc0020
push 0
push 0
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0xa0]
push ebp
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.00450240
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x47cad2
mov edx, dword [esi + 4]
push ebp
lea eax, [edi + 1]
push eax
push edx
call fcn.004502e0
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x64]
call fcn.004502b0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov eax, dword [esi + 4]
push 0xcc0020
push ecx
push edx
push eax
push ebp
push edi
push 0
push 0
lea ecx, [esp + 0x80]
call fcn.00450240
mov ebp, dword [esp + 0x88]
test ebp, ebp
je 0x47cb2a
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [edi + 1]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004502e0
push ebp
lea ecx, [esp + 0x64]
call fcn.004502b0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
mov eax, dword [esi + 4]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push edi
push ecx
push 0
push 0
lea ecx, [esp + 0x80]
call fcn.00450240
mov edx, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x64]
call fcn.004502b0
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.gdi32.dll_DeleteObject]
push ebx
call fcn.0055dbfb
mov byte [esp + 0x7c], 0
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], vtable.CBitmap.0
call fcn.00423d70
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xffffffff
call fcn.0056fa9d
jmp 0x47c694
push ebx
call fcn.0055dbfb
add esp, 4
lea ecx, [esp + 0x58]
jmp 0x47c729