Function at 0x4267d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aede8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4ccf60]
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.00404f60
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.004247e0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404f60
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404f40
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.00404f60
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.004248a0
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404f40
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404f60
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.004247e0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x1c]
jge 0x426920
push 0
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404f60
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.004247e0
jmp 0x426a15
push 0
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404f60
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.004247e0
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 0x4269dd
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404f60
push eax
push 1
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404f60
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.004248a0
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.00404f40
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404f60
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.004247e0
jmp 0x426a15
push 0
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404f40
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
call fcn.00404f60
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.004247e0
lea ecx, [ebp - 0x18]
call fcn.0040aa00
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x30]
push edx
push str._d__
lea eax, [ebp - 0x18]
push eax
call fcn.00414920
add esp, 0xc
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
mov ecx, 0x4d9190
call fcn.00436d80
push eax
lea ecx, [ebp - 0x18]
call fcn.0040aed0
push eax
lea ecx, [ebp - 0x18]
call fcn.00436d80
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, 0x4d9190
call fcn.00424970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc