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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
mov esi, ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov al, byte [esi + 0xc]
test al, al
jne 0x47c98b
mov eax, dword [esi + 0x238]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
call ebx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
push 0xcc0020
push eax
push 1
push 0
push 0
push ebp
push eax
push ecx
push 0
push 1
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x18]
push edx
push ebp
call ebx
jmp 0x47c9c7
mov eax, dword [esi + 0x248]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
call ebx
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
push 0xcc0020
push 0
push 0
push ebp
add edx, 2
push ecx
push edx
push 0
push 0
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push ebp
call ebx
mov ecx, dword [esi + 0x244]
push ecx
push ebp
call ebx
mov edx, dword [esi + 0x2c]
push 0xcc0020
push 0
push 0
push ebp
push edx
push 1
push 0
push 0
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push 0xcc0020
push 0
push 0
push ebp
push eax
push 1
inc ecx
push 0
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push ebp
call ebx
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x8b8]
test eax, eax
je 0x47cd53
mov ecx, dword [esi + 0x230]
mov edx, dword [esi + 0x234]
or ecx, edx
je 0x47cd53
mov eax, dword [eax + 0xd0]
test eax, eax
mov dword [esp + 0x18], eax
je 0x47cd53
jmp 0x47ca56
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x24c]
mov ecx, dword [edx + 0x44]
cmp ecx, 4
je 0x47cb63
cmp ecx, 5
je 0x47cb63
mov ecx, dword [edx + 0x308]
test ecx, ecx
je 0x47caf6
mov ebx, dword [eax + 0x1c]
xor edi, edi
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
test ecx, ecx
mov dword [esp + 0x20], edx
je 0x47caa3
mov ebx, dword [eax + 0x20]
jmp 0x47cc0d
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
je 0x47cc0d
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov edx, ecx
or edx, eax
je 0x47cc0d
mov edx, dword [esp + 0x14]
add ecx, 1
adc eax, 0
mov dword [esp + 0x34], ecx
fild qword [edx + 0x68]
mov dword [esp + 0x38], eax
fmul qword [edx + 0xd8]
fmul qword [0x61ac38]
fild qword [esp + 0x34]
fdivp st(1)
call fcn.005c3128
add ebx, eax
adc edi, edx
jmp 0x47cc0d
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x24], ebx
test ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
je 0x47cb3c
mov eax, dword [eax + 0x38]
test eax, eax
je 0x47cb25
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x47cc0d
mov eax, dword [esi + 0x24c]
mov ebx, dword [eax + 0x470]
mov edi, dword [eax + 0x474]
jmp 0x47cc0d
mov eax, dword [eax]
test eax, eax
je 0x47cc0d
mov ecx, dword [eax + 0x50]
mov ebx, dword [eax + 0x68]
mov edx, dword [eax + 0x54]
mov edi, dword [eax + 0x6c]
add ebx, ecx
mov dword [esp + 0x1c], ecx
adc edi, edx
mov dword [esp + 0x20], edx
jmp 0x47cc0d
mov ebx, dword [eax + 0x1c]
xor edi, edi
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
test ecx, ecx
mov dword [esp + 0x20], edx
je 0x47cbac
mov eax, dword [eax + 0x38]
test eax, eax
je 0x47cb8f
mov ebx, dword [eax + 0x1c]
jmp 0x47cbf1
mov eax, dword [esi + 0x24c]
fld qword [eax + 0x368]
fmul qword [0x61ac38]
call fcn.005c3128
mov ebx, eax
mov edi, edx
jmp 0x47cbf3
mov eax, dword [eax]
test eax, eax
je 0x47cbf3
mov ecx, dword [eax + 0xd4]
mov edx, dword [eax + 0xcc]
xor edi, edi
lea ebx, [ecx + edx]
mov cl, byte [eax + 0xca]
test cl, cl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
jne 0x47cbf3
mov ecx, dword [eax + 0x54]
test ecx, ecx
jl 0x47cbf3
jg 0x47cbe5
mov ecx, dword [eax + 0x50]
test ecx, ecx
jb 0x47cbf3
mov eax, dword [eax + 0xd0]
cmp eax, ebx
jbe 0x47cbf1
mov ebx, eax
xor edi, edi
mov eax, dword [esi + 0x234]
mov ecx, dword [esi + 0x230]
cmp edi, eax
jl 0x47cc0d
jg 0x47cc09
cmp ebx, ecx
jbe 0x47cc0d
mov ebx, ecx
mov edi, eax
mov ecx, dword [esp + 0x28]
cmp ecx, edi
jl 0x47cc23
jg 0x47cc1d
cmp dword [esp + 0x24], ebx
jbe 0x47cc23
mov ebx, dword [esp + 0x24]
mov edi, ecx
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
fild qword [esi + 0x230]
cdq
fstp dword [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.005c5530
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x3c]
fdiv dword [esp + 0x10]
call fcn.005c3128
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
push edi
push ebx
push edx
push eax
call fcn.005c5530
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fdiv dword [esp + 0x10]
call fcn.005c3128
mov ecx, dword [esi + 0x240]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
mov eax, dword [esp + 0x14]
push ecx
push ebp
sub edi, eax
call ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x2c]
push 0xcc0020
push eax
push 1
push 0
push 0
push ebp
push eax
push edi
mov edi, dword [esp + 0x78]
inc edx
push 0
push edx
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
push eax
push ebp
call ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x47cd40
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
cdq
push ecx
push edx
push eax
call fcn.005c5530
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
fild qword [esp + 0x4c]
fild qword [esi + 0x230]
fdivp st(1)
call fcn.005c3128
mov edx, dword [esi + 0x23c]
mov dword [esp + 0x14], eax
push edx
push ebp
call ebx
mov ecx, dword [esp + 0x14]
push 0xcc0020
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2c]
push 0
push 0
push ebp
push eax
push 1
inc ecx
push 0
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x47ca52
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4