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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
push edi
mov esi, ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov al, byte [esi + 0xc]
test al, al
jne 0x467f6b
mov eax, dword [esi + 0x138]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebp
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 edi
push eax
push ecx
push 0
push 1
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x18]
push edx
push edi
call ebp
jmp 0x467fa7
mov eax, dword [esi + 0x148]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebp
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
push 0xcc0020
push 0
push 0
push edi
add edx, 2
push ecx
push edx
push 0
push 0
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push edi
call ebp
mov ecx, dword [esi + 0x144]
push ecx
push edi
call ebp
mov edx, dword [esi + 0x2c]
push 0xcc0020
push 0
push 0
push edi
push edx
push 1
push 0
push 0
push ebx
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 edi
push eax
push 1
inc ecx
push 0
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push edi
call ebp
mov eax, dword [esi + 0x14c]
mov eax, dword [eax + 0x864]
test eax, eax
je 0x4682a3
mov ecx, dword [esi + 0x130]
mov edx, dword [esi + 0x134]
or ecx, edx
je 0x4682a3
mov eax, dword [eax + 0x68]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4682a3
jmp 0x468033
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x14c]
mov ecx, dword [edx + 0x44]
cmp ecx, 4
je 0x4680b4
cmp ecx, 5
je 0x4680b4
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
cmp dword [eax + 0x14], 0
mov ebp, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ecx
mov ebp, ecx
je 0x468085
mov eax, dword [eax + 0x38]
test eax, eax
je 0x468074
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 0xc]
jmp 0x468162
mov ebp, dword [edx + 0x428]
mov ebx, dword [edx + 0x42c]
jmp 0x468162
mov eax, dword [eax]
test eax, eax
je 0x468162
mov ebx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov ebp, dword [eax + 0x38]
mov dword [esp + 0x50], ebx
mov ebx, dword [eax + 0x3c]
mov eax, dword [esp + 0x50]
add ebp, edx
mov dword [esp + 0x1c], edx
adc ebx, eax
mov dword [esp + 0x20], eax
jmp 0x468162
mov ebp, dword [eax + 0x1c]
xor ebx, ebx
mov ecx, ebp
mov edx, ebx
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 0x4680fd
mov eax, dword [eax + 0x38]
test eax, eax
je 0x4680e0
mov ebp, dword [eax + 0x1c]
jmp 0x468142
mov eax, dword [esi + 0x14c]
fld qword [eax + 0x320]
fmul qword [0x5dda68]
call fcn.00589918
mov ebp, eax
mov ebx, edx
jmp 0x468144
mov eax, dword [eax]
test eax, eax
je 0x468144
mov edx, dword [eax + 0xa0]
mov ecx, dword [eax + 0x98]
xor ebx, ebx
lea ebp, [edx + ecx]
mov cl, byte [eax + 0x96]
test cl, cl
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
jne 0x468144
mov ecx, dword [eax + 0x24]
test ecx, ecx
jl 0x468144
jg 0x468136
mov ecx, dword [eax + 0x20]
test ecx, ecx
jb 0x468144
mov eax, dword [eax + 0x9c]
cmp eax, ebp
jbe 0x468142
mov ebp, eax
xor ebx, ebx
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 0x130]
cmp ebx, eax
jl 0x46815e
jg 0x46815a
cmp ebp, ecx
jbe 0x46815e
mov ebp, ecx
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jl 0x468174
jg 0x468170
cmp ecx, ebp
jbe 0x468174
mov ebp, ecx
mov ebx, eax
mov eax, dword [esi + 0x28]
push dword [esp + 0x28]
fild qword [esi + 0x130]
cdq
fstp dword [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.0058bcb0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
fild qword [esp + 0x34]
fdiv dword [esp + 0x10]
call fcn.00589918
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push edx
push eax
call fcn.0058bcb0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x3c]
fdiv dword [esp + 0x10]
call fcn.00589918
mov ecx, dword [esi + 0x140]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov eax, dword [esp + 0x14]
push ecx
push edi
sub ebx, eax
call ebp
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 edi
push eax
push ebx
mov ebx, dword [esp + 0x78]
inc edx
push 0
push edx
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x468290
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.0058bcb0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fild qword [esi + 0x130]
fdivp st(1)
call fcn.00589918
mov edx, dword [esi + 0x13c]
mov dword [esp + 0x14], eax
push edx
push edi
call ebp
mov ecx, dword [esp + 0x14]
push 0xcc0020
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2c]
push 0
push 0
push edi
push eax
push 1
inc ecx
push 0
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push edi
call ebp
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x46802f
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4