Function at 0x425ce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x30]
sub eax, dword [ecx + 0x28]
imul eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov esi, dword [edx + 0x2c]
sub esi, dword [ecx + 0x28]
cdq
idiv esi
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404ff0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00423dd0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404ff0
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404fd0
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
sub eax, ecx
push eax
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404ff0
push eax
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00423e90
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404fd0
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404ff0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00423dd0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x1c]
jge 0x425e30
push 0
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404ff0
push eax
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00423dd0
jmp 0x425f25
push 0
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404ff0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00423dd0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jle 0x425eed
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404ff0
push eax
push 1
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404ff0
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00423e90
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404fd0
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404ff0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00423dd0
jmp 0x425f25
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404fd0
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404ff0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00423dd0
lea ecx, [ebp - 0x18]
call fcn.0040a290
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x30]
push edx
push 0x4c0304
lea eax, [ebp - 0x18]
push eax
call fcn.004140a0
add esp, 0xc
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
mov ecx, 0x4d6e38
call fcn.0040a8b0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a760
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a8b0
push eax
push 0
mov eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
push eax
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4d6e38
call fcn.00423f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040a350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc