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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4799c5
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x495040]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x495040]
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.00476c10
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00476ae0
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 0x48355c
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.00406e6d
pop ecx
pop ecx
and dword [esp + 0xd0], 0
cmp dword [esp + 0x84], 0x10
mov eax, dword [esp + 0x70]
jae 0x419b15
lea eax, [esp + 0x70]
push eax
push 0x483560
call fcn.004220f2
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 0x419b61
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 0x419b90
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 0x419baa
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.004034a2
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 0x419c30
jmp 0x419bfa
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x74]
lea esi, [esp + 0x58]
call fcn.0040e9bf
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x419c24
push 0x4830f0
lea eax, [esp + 0x54]
push eax
call fcn.00413ad0
dec esi
jne 0x419c12
mov eax, dword [esp + 0x64]
cmp eax, dword [ebx + 0xf8]
jb 0x419bf8
imul edi, edi, 3
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x18], edi
call fcn.0040e4dc
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.00402cdb
mov byte [esp + 0xd0], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0046b601
lea esi, [ebx + 0x10c]
pop ecx
mov edi, esi
call fcn.0040f129
xor edi, edi
cmp dword [ebx + 0xf4], edi
mov dword [esp + 0x18], edi
jle 0x419d07
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.0040eba1
call fcn.0046b613
cdq
idiv dword [esp + 0x14]
add edx, 5
je 0x419cdf
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.00419962
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
push eax
push ecx
lea eax, [esp + 0x90]
push eax
mov edi, esi
call fcn.0040eba1
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0xf4]
jl 0x419ca7
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.0040e519
push edi
push ebx
lea ecx, [esp + 0x58]
call fcn.00403021
push edi
push ebx
lea ecx, [esp + 0x74]
call fcn.00403021
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.0045e86d
mov esp, ebp
pop ebp
ret 4