Function at 0x41d7c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x605b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
mov dword [esp + 0x18], vtable.CFont.0
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x34], 1
mov dword [esp + 0x14], 1
call fcn.005eb756
mov ecx, dword [0x69cfe8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov byte [esp + 0x30], 3
mov dword [esp + 8], esi
cmp dword [edx - 8], esi
jne 0x41d88d
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 2
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add ecx, 5
add edx, 5
mov dword [eax + 8], ecx
lea ecx, [esp + 4]
mov dword [eax + 0xc], edx
call fcn.005eb9e1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.005eb9e1
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.005f37e8
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call fcn.005eb9e1
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push edi
lea eax, [esp + 0x24]
push 0xff
push eax
mov ecx, ebp
call fcn.00411330
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x28]
mov ecx, dword [esp + 0x4c]
push 0xa
push esi
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x64], eax
call fcn.005f1351
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp eax, 1
jne 0x41d968
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
dec ecx
test ecx, ecx
jl 0x41d944
cmp byte [ecx + eax], 0xd
jne 0x41d91c
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.005e7b3e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call fcn.005ebb1a
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 3
call fcn.005eb9e1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call ebx
mov eax, dword [esp + 0x2c]
cmp esi, eax
jge 0x41d944
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005ebb1a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
inc eax
push 0xa
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005f1351
cmp eax, 1
je 0x41d8da
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call ebx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
imul eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ebx, ecx
sub ebx, edx
cmp eax, ebx
jge 0x41d9a7
sub ecx, eax
xor ebx, ebx
sub ecx, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
jmp 0x41d9b8
sub eax, ecx
mov ebx, 1
add eax, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 4]
test ebx, ebx
je 0x41d9c2
inc eax
jmp 0x41d9c3
dec eax
lea ecx, [esp + 0x24]
mov dword [ebp + 4], eax
test ecx, ecx
je 0x41d9df
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d9df
lea ecx, [esp + 0x24]
call fcn.005f37e8
lea edx, [esp + 0x24]
push 0xff
push edx
mov ecx, ebp
call fcn.00411330
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x2c]
xor edx, edx
cmp eax, edx
jge 0x41da22
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 6]
or ecx, 0xffffffff
cmp dword [ebp + 4], ecx
jle 0x41da38
mov dword [ebp + 4], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0xc]
cmp ebx, edx
mov edx, dword [esi + 4]
je 0x41da5f
mov ebx, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
imul edx, ebx
cmp edx, ecx
jl 0x41da8f
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x41da7a
cmp edx, ecx
jle 0x41da8b
jmp 0x41da7a
mov ebx, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
imul edx, ebx
cmp edx, ecx
jg 0x41daad
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x41da7a
cmp edx, ecx
jge 0x41daa9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41dac7
mov ebx, dword [esp + 0x44]
jmp 0x41d9b8
mov ebx, dword [esp + 0x14]
imul eax, ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub edx, eax
mov eax, dword [esp + 0x48]
sub edx, ecx
cmp edx, eax
jle 0x41dacb
dec dword [ebp + 4]
jmp 0x41dacb
mov ebx, dword [esp + 0x14]
imul eax, ebx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
sub eax, ecx
mov ecx, dword [esp + 0x48]
add eax, edx
cmp eax, ecx
jle 0x41dacb
inc dword [ebp + 4]
jmp 0x41dacb
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x24]
test eax, eax
je 0x41dae4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41dae4
lea ecx, [esp + 0x24]
call fcn.005f37e8
lea ecx, [esp + 0x24]
push 0xff
push ecx
mov ecx, ebp
call fcn.00411330
mov edx, dword [edi]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp eax, edx
mov edx, dword [esp + 0x20]
jne 0x41db37
imul edx, ebx
lea eax, [edx + eax + 6]
mov dword [esi + 0xc], eax
jmp 0x41db45
imul edx, ebx
mov eax, dword [esi + 0xc]
sub eax, edx
sub eax, 6
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [ecx]
cmp eax, edx
jne 0x41db5a
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx + 6]
mov dword [esi + 8], edx
jmp 0x41db68
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x1c]
sub eax, edx
sub eax, 6
mov dword [esi], eax
mov eax, dword [esp + 0x54]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0x24]
test ecx, ecx
je 0x41db8d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41db8d
lea ecx, [esp + 0x24]
call fcn.005f37e8
mov esi, dword [ebp + 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.005eb9e1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.005eb9e1
mov dword [esp + 0x24], vtable.CGdiObject.0
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 6
call fcn.005f37e8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.005eb9e1
mov ecx, dword [esp + 0x34]
pop edi
pop ebp
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret