Function at 0x431f00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48bcf8
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x43229f
push ebx
push ebp
push edi
mov edi, eax
mov eax, dword [esi + 0xb8]
mov ebx, dword [edi + 0xac]
push eax
call fcn.004257d0
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x8c]
push eax
push 1
push ecx
add edi, 0xf0
push edi
mov edi, dword [esp + 0xa0]
push edi
push edx
push ebx
call fcn.00412610
mov eax, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [esi + 0x130]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebp
sub ebp, ecx
mov edx, eax
add esp, 0x20
sub edx, dword [esi + 0x12c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebp
jne 0x431fa2
xor eax, eax
mov dword [esp + 0x8c], eax
jmp 0x431fe2
mov ecx, dword [esi + 0x12c]
mov edx, dword [esi + 0x128]
sub edx, ecx
mov dword [esp + 0x8c], edx
fild dword [esp + 0x8c]
sub eax, ecx
mov dword [esp + 0x8c], eax
fimul dword [esp + 0x10]
fidiv dword [esp + 0x8c]
call fcn.0046b518
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov edx, dword [esi + 0x20]
mov edx, dword [edx + 0x1c8]
sub edx, 0
je 0x4321fa
dec edx
je 0x4320e6
dec edx
jne 0x43229c
test eax, eax
je 0x43229c
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x1a0]
mov ebx, dword [ecx + 0x1a8]
sub ebx, edx
cdq
idiv ebx
mov dword [esp + 0x10], ebx
test eax, eax
jle 0x43229c
xor ecx, ecx
mov dword [esp + 0x8c], eax
jmp 0x432040
mov ebx, dword [esp + 0x10]
lea esp, [esp]
mov eax, dword [edi]
mov edx, dword [edi + 0xc]
push edx
add ebx, ecx
lea edx, [ebx + eax]
push edx
mov edx, dword [edi + 4]
push edx
add ecx, eax
push ecx
lea eax, [esp + 0x68]
push eax
call fcn.00410730
mov ecx, dword [eax]
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x48], edx
mov eax, dword [ebp + 0xac]
push ecx
mov dword [esp + 0x2c], eax
call fcn.004257d0
mov edx, dword [esi + 0x108]
mov ecx, dword [esp + 0xa0]
push eax
push edx
mov edx, dword [esp + 0x34]
add ebp, 0x16c
push ebp
lea eax, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.004133d0
mov eax, dword [esp + 0xbc]
add esp, 0x30
dec eax
mov ecx, ebx
mov dword [esp + 0x8c], eax
jne 0x432035
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
test eax, eax
je 0x43229c
sub ebx, dword [esp + 0x1c]
push ebx
push ebp
push 0
lea eax, [esp + 0x74]
push 0
push eax
call fcn.00410730
mov ecx, dword [eax]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x30]
add esp, 0x14
sub eax, edx
mov edx, dword [esp + 0x88]
push eax
sub ecx, ebp
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00425a50
mov eax, dword [esi + 0xb8]
mov edi, dword [esi + 0x20]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [edi + 0xac]
push eax
mov dword [esp + 0x84], 0
call fcn.004257d0
mov ecx, dword [edi + 0x14]
push eax
push 1
push ecx
add edi, 0x16c
push edi
lea edx, [esp + 0x4c]
push edx
push ebx
push ebp
call fcn.00412610
add esp, 0x20
lea ecx, [esp + 0x48]
call fcn.00425ae0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
push 0
mov edi, eax
mov eax, dword [esi + 0x108]
push eax
mov eax, dword [esp + 0x24]
push 0
push 0
push edi
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xa0]
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call fcn.00411140
add esp, 0x28
push edi
call dword [sym.imp.gdi32.dll_DeleteObject]
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.00425aa0
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
test eax, eax
je 0x43229c
add ecx, eax
mov eax, dword [esi + 0x20]
add eax, 0x16c
push eax
mov dword [esp + 0x24], ecx
call fcn.00410fd0
mov edi, dword [esi + 0x20]
mov ebx, dword [edi + 0xac]
add esp, 4
test eax, eax
je 0x43226b
mov edx, dword [esi + 0xb8]
push edx
call fcn.004257d0
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [edi + 0x14]
push 1
push eax
add edi, 0x16c
push edi
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebx
call fcn.00412610
add esp, 0x20
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
mov eax, dword [esi + 0xb8]
push eax
call fcn.004257d0
mov ecx, dword [esi + 0x108]
push eax
mov eax, dword [esp + 0x90]
push ecx
add edi, 0x16c
push edi
lea edx, [esp + 0x28]
push edx
push eax
push ebx
call fcn.004133d0
add esp, 0x1c
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
pop esi
mov dword fs:[0], ecx
add esp, 0x74
ret 8