Function at 0x41c0fd
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47c09d
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x498040]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x498040]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fild dword [esp + 0x14]
fld st(0)
fmulp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00479030
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00478f00
add eax, 0x400
mov dword [ebx + 0xf0], eax
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebx + 0xc]
mov dword [esp + 0x20], eax
call esi
and dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
xor eax, eax
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push 1
push 0x4855c4
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
push dword [esp + 0x14]
push dword [ebx + 0xc]
call esi
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebx + 0xcc]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004090f2
pop ecx
pop ecx
and dword [esp + 0xd0], 0
cmp dword [esp + 0x84], 0x10
mov eax, dword [esp + 0x70]
jae 0x41c21c
lea eax, [esp + 0x70]
push eax
push 0x4855c8
call fcn.00424529
movzx esi, byte [ebx + 0x9d]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop ecx
pop ecx
push 0x10
pop eax
sub eax, esi
add edx, 0x40
xor esi, esi
cmp eax, esi
lea ecx, [edi + 0x40]
mov dword [ebx + 0xfc], ecx
mov dword [ebx + 0x100], edx
jle 0x41c268
shl eax, 4
add ecx, eax
add edx, eax
mov dword [ebx + 0xfc], ecx
mov dword [ebx + 0x100], edx
mov ecx, dword [ebx + 0xf0]
mov eax, ecx
neg eax
cmp word [ebx + 0x9e], si
jl 0x41c297
mov dword [ebx + 0x108], eax
mov eax, ecx
cdq
idiv edi
mov dword [ebx + 0x104], esi
mov dword [ebx + 0xf8], eax
lea eax, [ecx + ecx]
jmp 0x41c2b1
mov dword [ebx + 0x104], eax
lea eax, [ecx + ecx]
cdq
idiv edi
mov dword [ebx + 0x108], esi
mov dword [ebx + 0xf8], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x100]
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
mov dword [ebx + 0xf4], eax
call fcn.00403572
mov byte [esp + 0xd0], 1
mov eax, dword [ebx + 0xfc]
cdq
idiv dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], eax
lea edi, [ecx + eax]
mov eax, dword [esp + 0x64]
cmp eax, dword [ebx + 0xf8]
jae 0x41c337
jmp 0x41c301
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x74]
lea esi, [esp + 0x58]
call fcn.00410bfe
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x41c32b
push 0x485160
lea eax, [esp + 0x54]
push eax
call fcn.0041619c
dec esi
jne 0x41c319
mov eax, dword [esp + 0x64]
cmp eax, dword [ebx + 0xf8]
jb 0x41c2ff
imul edi, edi, 3
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x18], edi
call fcn.0041072c
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 2
call fcn.004016c1
pop ecx
lea eax, [esp + 0x88]
push eax
lea esi, [esp + 0xa8]
mov byte [esp + 0xd4], 3
call fcn.00402d7c
mov byte [esp + 0xd0], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0046da21
lea esi, [ebx + 0x10c]
pop ecx
mov edi, esi
call fcn.004113ad
xor edi, edi
cmp dword [ebx + 0xf4], edi
mov dword [esp + 0x18], edi
jle 0x41c40e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea eax, [esp + 0x90]
push eax
lea edi, [esp + 0x40]
call fcn.00410de0
call fcn.0046da33
cdq
idiv dword [esp + 0x14]
add edx, 5
je 0x41c3e6
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.0041c069
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
push eax
push ecx
lea eax, [esp + 0x90]
push eax
mov edi, esi
call fcn.00410de0
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0xf4]
jl 0x41c3ae
xor edi, edi
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [esp + 0xac]
call fcn.0040144b
push edi
push ebx
lea esi, [esp + 0x90]
call fcn.0040144b
lea eax, [esp + 0x34]
call fcn.00410769
push edi
push ebx
lea ecx, [esp + 0x58]
call fcn.004030c2
push edi
push ebx
lea ecx, [esp + 0x74]
call fcn.004030c2
mov eax, ebx
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00460c7e
mov esp, ebp
pop ebp
ret 4