Function at 0x469ff0
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 0x46a04b
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 0x46a087
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 0x46a383
mov ecx, dword [esi + 0x130]
mov edx, dword [esi + 0x134]
or ecx, edx
je 0x46a383
mov eax, dword [eax + 0x68]
test eax, eax
mov dword [esp + 0x18], eax
je 0x46a383
jmp 0x46a113
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x14c]
mov ecx, dword [edx + 0x44]
cmp ecx, 4
je 0x46a194
cmp ecx, 5
je 0x46a194
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 0x46a165
mov eax, dword [eax + 0x38]
test eax, eax
je 0x46a154
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 0xc]
jmp 0x46a242
mov ebp, dword [edx + 0x428]
mov ebx, dword [edx + 0x42c]
jmp 0x46a242
mov eax, dword [eax]
test eax, eax
je 0x46a242
mov ebx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
mov ebp, dword [eax + 0x58]
mov dword [esp + 0x50], ebx
mov ebx, dword [eax + 0x5c]
mov eax, dword [esp + 0x50]
add ebp, edx
mov dword [esp + 0x1c], edx
adc ebx, eax
mov dword [esp + 0x20], eax
jmp 0x46a242
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 0x46a1dd
mov eax, dword [eax + 0x38]
test eax, eax
je 0x46a1c0
mov ebp, dword [eax + 0x1c]
jmp 0x46a222
mov eax, dword [esi + 0x14c]
fld qword [eax + 0x320]
fmul qword [0x5e6a38]
call fcn.00591bf8
mov ebp, eax
mov ebx, edx
jmp 0x46a224
mov eax, dword [eax]
test eax, eax
je 0x46a224
mov edx, dword [eax + 0xc0]
mov ecx, dword [eax + 0xb8]
xor ebx, ebx
lea ebp, [edx + ecx]
mov cl, byte [eax + 0xb6]
test cl, cl
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
jne 0x46a224
mov ecx, dword [eax + 0x44]
test ecx, ecx
jl 0x46a224
jg 0x46a216
mov ecx, dword [eax + 0x40]
test ecx, ecx
jb 0x46a224
mov eax, dword [eax + 0xbc]
cmp eax, ebp
jbe 0x46a222
mov ebp, eax
xor ebx, ebx
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 0x130]
cmp ebx, eax
jl 0x46a23e
jg 0x46a23a
cmp ebp, ecx
jbe 0x46a23e
mov ebp, ecx
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jl 0x46a254
jg 0x46a250
cmp ecx, ebp
jbe 0x46a254
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.00593f90
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
fild qword [esp + 0x34]
fdiv dword [esp + 0x10]
call fcn.00591bf8
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.00593f90
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x3c]
fdiv dword [esp + 0x10]
call fcn.00591bf8
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 0x46a370
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.00593f90
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fild qword [esi + 0x130]
fdivp st(1)
call fcn.00591bf8
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 0x46a10f
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4