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

Disassembly:
push 0xffffffffffffffff
push 0x4fbf6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
push edi
mov edi, ecx
mov ebx, dword [esi]
lea ecx, [esi + 0x28]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
mov dword [esp + 0x50], ebx
call dword [eax + 0x28]
mov ecx, dword [esi]
push 1
mov dword [esp + 0x58], eax
call fcn.004dedce
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x406f4000
call fcn.0040b720
test byte [eax + 0x1a8], 4
je 0x424b38
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x40590000
call fcn.0040b720
fild dword [eax + 0x35c]
fdiv qword [esp + 0x10]
fstp qword [esp + 0x58]
call fcn.0040b720
fild dword [eax + 0x354]
fdiv qword [esp + 0x10]
fstp qword [esp + 0xa4]
call fcn.0040b720
fild dword [eax + 0x360]
fdiv qword [esp + 0x10]
fstp qword [esp + 0x60]
call fcn.0040b720
fild dword [eax + 0x358]
mov edx, dword [ebx + 8]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push edx
fdiv qword [esp + 0x18]
fstp qword [esp + 0x28]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
push 0x58
push eax
call ebp
mov ecx, dword [ebx + 8]
push 0x5a
push ecx
mov dword [esp + 0x30], eax
call ebp
mov edx, dword [ebx + 8]
push 0x58
push edx
mov dword [esp + 0x24], eax
call ebp
fild dword [esp + 0x10]
mov ebx, dword [esp + 0x13c]
mov dword [esp + 0x18], eax
fmul qword [esp + 0x20]
lea ebp, [ebx + 0x24]
call fcn.004bf8e8
fild dword [esp + 0x28]
push eax
fmul qword [esp + 0x64]
call fcn.004bf8e8
fild dword [esp + 0x20]
push eax
fmul qword [esp + 0xac]
call fcn.004bf8e8
fild dword [esp + 0x20]
push eax
fmul qword [esp + 0x64]
call fcn.004bf8e8
push eax
mov ecx, ebp
call fcn.004ed384
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi + 0x5c]
lea edx, [eax - 1]
cmp edx, ecx
jl 0x424c28
push esi
push ebx
push eax
mov ecx, edi
call fcn.00424a00
test eax, eax
je 0x42510d
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + eax*4 - 4]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
lea edx, [esp + 0xf0]
mov ecx, dword [eax + 8]
push edx
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0x100]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x104]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x40], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
sub eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebp, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, edx
add ecx, ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], ecx
lea edx, [eax - 0xa]
add eax, 0xa
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x2c]
push ecx
push ebx
push esi
mov ecx, edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
call fcn.004251b0
lea ecx, [esp + 0xac]
call fcn.0044fe10
xor ebp, ebp
lea ecx, [esp + 0x68]
mov dword [esp + 0x134], ebp
call fcn.0044fe10
mov byte [esp + 0x134], 1
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x94]
test eax, eax
jle 0x424d19
cmp dword [esp + 0x20], eax
jge 0x424fe5
jmp 0x424d2e
mov ecx, dword [edi + 0xd8]
call fcn.0046e0e0
cmp dword [esp + 0x20], eax
jge 0x424fe5
mov eax, dword [esi + 0x94]
mov ebp, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x18], 0
jle 0x424e57
mov ecx, dword [esi + 0x9c]
mov ebx, ebp
mov eax, ebx
cdq
idiv ecx
mov ebp, eax
mov eax, ebx
cdq
idiv ecx
mov eax, ebp
mov ebp, dword [esi + 0xa4]
mov ecx, dword [ebp + eax*4]
mov eax, dword [esp + 0x28]
test eax, eax
mov ebp, dword [ecx + edx*4]
jl 0x424d7d
inc eax
cmp ebp, eax
mov eax, 1
jg 0x424d81
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x28], ebp
je 0x424e50
test byte [esi + 0x38], 1
jne 0x424e24
mov eax, dword [esi + 0x34]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esi + 0x40]
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, ebx
sub edx, ecx
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.004df1e3
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x40]
cdq
mov ebx, dword [esp + 0x44]
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esi + 0x40]
add ecx, ebx
push eax
push ecx
mov ecx, dword [esi]
call fcn.004df22f
mov eax, dword [esi + 0x34]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esi + 0x40]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, ebx
sub edx, ecx
mov ecx, dword [esi]
push eax
lea eax, [esp + 0xec]
push edx
push eax
call fcn.004df1e3
mov eax, dword [esi + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esi + 0x40]
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, ebp
add ecx, edx
push eax
push ecx
mov ecx, dword [esi]
call fcn.004df22f
mov edx, dword [esi + 0x34]
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
push edx
lea eax, [esp + 0x40]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0x2c]
push ecx
push 0
push edx
call ebx
mov ebx, dword [esp + 0x13c]
jmp 0x424d03
mov ebx, dword [esp + 0x13c]
mov ecx, dword [edi + 0xd8]
push ebp
call fcn.0046e240
mov ecx, dword [edi + 0xdc]
push ebp
mov dword [esp + 0x14], eax
call fcn.0046e240
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x38]
test al, 1
jne 0x424eb3
xor eax, eax
mov ecx, edi
push eax
push ebp
mov dword [esp + 0xa4], eax
mov dword [esp + 0xe8], eax
call fcn.00423680
test eax, eax
je 0x424eb3
lea eax, [esp + 0x98]
lea ecx, [esp + 0xdc]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.004288d0
mov edx, dword [edi + 0xd8]
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x44]
push ebx
push ecx
push edx
mov ecx, edi
mov dword [esp + 0xd4], ebp
call fcn.004248f0
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xdc]
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x34]
push ebx
push edx
push eax
mov ecx, edi
mov dword [esp + 0x90], ebp
call fcn.004248f0
mov ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x424f31
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x425008
test ebp, ebp
jl 0x425008
xor ecx, ecx
cmp eax, ecx
jne 0x424f63
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi + 0x6c]
shl eax, 1
xor edx, edx
mov dx, word [ecx + eax - 2]
mov ecx, dword [esi + 0x80]
mov dword [esp + 0xc4], edx
xor edx, edx
mov dx, word [ecx + eax - 2]
mov dword [esp + 0x80], edx
jmp 0x424f71
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x80], ecx
push esi
lea eax, [esp + 0x40]
push ebx
lea ecx, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.00426710
push esi
lea edx, [esp + 0x30]
push ebx
lea eax, [esp + 0x70]
push edx
push eax
mov ecx, edi
call fcn.00426710
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x424fee
test ebp, ebp
jl 0x424fee
cmp ebp, eax
jge 0x424fb0
mov dword [esp + 0x18], eax
mov ebp, eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x40]
push 0
push ecx
call ebp
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
push 0
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc ecx
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
jmp 0x424d03
mov dword [ebx + 0x10], 0
jmp 0x425008
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x425008
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x425008
inc dword [esp + 0x20]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x42501a
mov ecx, dword [esp + 0x4c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi]
push eax
call fcn.004dedce
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebx + 0x14]
cmp ecx, eax
jne 0x42507a
mov ebx, dword [esi + 0x5c]
lea edi, [esi + 0x54]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
mov ecx, edi
call fcn.00429680
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x68]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0xc4]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.004d6675
mov ecx, dword [esp + 0x80]
mov eax, dword [esi + 0x84]
add esi, 0x7c
push ecx
push eax
mov ecx, esi
call fcn.004d6675
lea ecx, [esp + 0x98]
mov byte [esp + 0x134], 3
call fcn.0044ee00
mov eax, dword [esp + 0x88]
mov esi, 0x510acc
test eax, eax
mov dword [esp + 0x84], esi
je 0x4250ae
push eax
call fcn.004db92d
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x134], 0
call fcn.004dbbcb
lea ecx, [esp + 0xdc]
mov dword [esp + 0x134], 5
call fcn.0044ee00
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc8], esi
test eax, eax
je 0x4250f1
push eax
call fcn.004db92d
add esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x134], 0xffffffff
call fcn.004dbbcb
mov eax, 1
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 8