Function at 0x41b640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a6df0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CFont.0
mov eax, dword [0x628100]
mov dword [esp + 0x10], ebx
xor ebp, ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 4
cmp dword [eax - 8], ebx
jne 0x41b6d0
mov eax, dword [esp + 0x68]
mov byte [esp + 0x3c], 3
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add ecx, 5
add edx, 5
mov dword [eax + 8], ecx
lea ecx, [esp + 0xc]
mov dword [eax + 0xc], edx
call fcn.0058f6df
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 2
call fcn.0058f6df
mov dword [esp + 0x14], vtable.CGdiObject.0
mov byte [esp + 0x3c], 5
jmp 0x41b8e4
mov eax, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x68]
cmp eax, ebx
je 0x41b746
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ebx
push 4
push ebx
and ecx, 0xff
push ebx
push ecx
mov ecx, dword [esp + 0x6c]
and edx, 0xff
and eax, 0xff
push edx
mov edx, dword [esp + 0x6c]
and ecx, 0xff
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x7c]
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x1c]
call fcn.00597270
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x48]
push esi
push 0xa
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00594ead
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp eax, 1
jne 0x41b801
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
dec ecx
test ecx, ecx
jl 0x41b7d2
cmp byte [ecx + eax], 0xd
jne 0x41b7aa
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0058c2ae
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 6
call fcn.0058f818
lea ecx, [esp + 0x78]
mov byte [esp + 0x44], 4
call fcn.0058f6df
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x24]
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call esi
mov eax, dword [esp + 0x24]
cmp ebp, eax
jge 0x41b7d2
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0058f818
mov edx, dword [esp + 0x4c]
inc ebx
push 0xa
push ebx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00594ead
cmp eax, 1
je 0x41b768
cmp ebx, 1
jne 0x41b801
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0058f818
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call esi
mov esi, dword [esp + 0x70]
lea ebp, [esp + 0x2c]
mov ecx, esi
push 0xd40
push ebp
mov edx, dword [ecx]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [edi]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41b86e
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 6
lea edx, [ebx + ebx*2]
mov dword [esi + 8], ecx
lea ecx, [eax + edx*2]
jmp 0x41b895
mov edx, dword [esi]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
sub edx, ecx
lea ecx, [edx + eax + 6]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov dword [esi + 8], ecx
sub edx, eax
mov eax, dword [esi + 4]
imul edx, ebx
lea ecx, [edx + eax + 6]
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], ecx
test eax, eax
pop esi
je 0x41b8a9
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esp + 0x1c]
pop edi
test eax, eax
je 0x41b8bb
lea ecx, [esp + 0x14]
call fcn.005972c7
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 3
call fcn.0058f6df
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 2
call fcn.0058f6df
mov dword [esp + 0x14], vtable.CGdiObject.0
mov byte [esp + 0x3c], 7
lea ecx, [esp + 0x14]
call fcn.005972c7
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 0
call fcn.0058f6df
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0058f6df
mov ecx, dword [esp + 0x34]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret