Function at 0x43af20
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4880b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], vtable.CFont.0
mov ebx, dword [esp + 0x434]
push 0x48
push 0x5a
push ebx
mov dword [esp + 0x438], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esp + 0x84], eax
mov edi, 0x4a422c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
lea edx, [esp + 0xa0]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x98], 0
shr ecx, 2
mov byte [esp + 0x99], 0
mov byte [esp + 0x9a], 0
mov byte [esp + 0x9b], 0
mov byte [esp + 0x9c], 4
mov byte [esp + 0x9d], 0
mov byte [esp + 0x9e], 0
mov byte [esp + 0x9f], 0x20
push 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x38]
call fcn.00474b2b
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x74]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x5c]
push ecx
push 5
push str.19999
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], 0xffffff
xor esi, esi
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x18], esi
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x43b1a5
mov ecx, dword [ebp + 0x48]
cmp ecx, esi
jle 0x43b160
lea edi, [eax + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov eax, dword [ebp + 0x54]
cmp eax, esi
jle 0x43b143
mov esi, dword [ebp + 0x50]
mov dword [esp + 0x10], eax
xor eax, eax
mov al, byte [edi - 8]
cmp eax, esi
jne 0x43b12f
cmp dword [ebp + 0x58], 1
jne 0x43b0c7
xor eax, eax
mov al, byte [edi - 5]
jmp 0x43b100
cmp esi, 0xbe
je 0x43b0fb
cmp esi, 0xc2
je 0x43b0fb
xor eax, eax
xor ecx, ecx
mov al, byte [edi]
mov cl, byte [edi - 1]
shl eax, 8
add eax, ecx
xor edx, edx
mov dl, byte [edi - 2]
xor ecx, ecx
mov cl, byte [edi - 3]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
jmp 0x43b100
xor eax, eax
mov al, byte [edi - 3]
mov ecx, dword [esp + 0x2c]
cdq
cmp ecx, edx
jl 0x43b119
jg 0x43b111
cmp dword [esp + 0x28], eax
jbe 0x43b119
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x1c], edx
jg 0x43b12f
jl 0x43b127
cmp dword [esp + 0x18], eax
jae 0x43b12f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x10]
add edi, 0xc
dec eax
mov dword [esp + 0x10], eax
jne 0x43b0b1
xor esi, esi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edi, 0x190
dec eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
jne 0x43b09f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c8]
push 0x4a421c
push ecx
call fcn.00449ffa
lea edi, [esp + 0x1d0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x5c]
dec ecx
push edx
lea eax, [esp + 0x1c4]
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
add ecx, edx
mov edx, dword [esp + 0x80]
sub edx, edi
mov dword [ebp + 0x68], eax
add edx, 0xfffffffc
sub eax, ecx
push 1
push ebx
mov dword [ebp + 0x60], ecx
mov dword [esp + 0x80], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp + 0x74]
xor edi, edi
cmp ecx, esi
jle 0x43b2e2
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
cdq
idiv ecx
mov esi, eax
test esi, esi
jge 0x43b209
xor esi, esi
jmp 0x43b216
cmp esi, 0xff
jle 0x43b216
mov esi, 0xff
mov ecx, eax
test ecx, ecx
jge 0x43b220
xor ecx, ecx
jmp 0x43b22d
cmp ecx, 0xff
jle 0x43b22d
mov ecx, 0xff
test eax, eax
jge 0x43b235
xor eax, eax
jmp 0x43b241
cmp eax, 0xff
jle 0x43b241
mov eax, 0xff
xor edx, edx
and esi, 0xff
mov dh, al
mov dl, cl
lea ecx, [esp + 0x3c]
shl edx, 8
or edx, esi
push edx
push 1
push 0
call fcn.00474b98
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
and eax, esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x60]
mov esi, eax
mov eax, edi
add eax, edx
push 0
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
mov edx, edi
add edx, ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], vtable.CGdiObject.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x42c], 1
call fcn.00474b82
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0x40
mov byte [esp + 0x42c], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x74]
cmp edi, ecx
jl 0x43b1f8
xor esi, esi
push esi
push 2
push esi
lea ecx, [esp + 0x50]
call fcn.00474b98
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x44]
neg eax
sbb eax, eax
mov byte [esp + 0x42c], 2
and eax, esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x60]
dec ecx
push 0
dec edx
push ecx
push edx
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
mov edi, dword [sym.imp.GDI32.dll_LineTo]
dec eax
inc ecx
push eax
push ecx
push ebx
call edi
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x68]
inc edx
inc eax
push edx
push eax
push ebx
call edi
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x60]
inc ecx
dec edx
push ecx
push edx
push ebx
call edi
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x60]
dec eax
dec ecx
push eax
push ecx
push ebx
call edi
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x707070
push 1
push 0
lea ecx, [esp + 0x78]
call fcn.00474b98
push 0x404040
push 1
push 0
lea ecx, [esp + 0x70]
mov byte [esp + 0x438], 3
call fcn.00474b98
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x43b7f9
mov edx, dword [0x4a8c20]
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x324]
push 0x100
push ecx
push 0
push eax
push 0
push 0x400
mov byte [esp + 0x444], 5
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov eax, dword [ebp + 0x4c]
lea edx, [esp + 0x224]
push 0x100
push edx
push 0
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea ecx, [esp + 0x224]
lea edx, [esp + 0x324]
push ecx
push edx
lea eax, [esp + 0xc8]
push str._s__s
push eax
call fcn.00449ffa
add esp, 0x10
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x6c]
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x60]
mov esi, dword [sym.imp.GDI32.dll_TextOutA]
not ecx
dec ecx
add edx, 2
push ecx
lea ecx, [esp + 0xc4]
push ecx
push edx
push eax
push ebx
call esi
mov eax, dword [ebp + 0x48]
lea ecx, [esp + 0x324]
push 0x100
push ecx
lea eax, [eax + eax*4]
push 0
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x4c]
shl edx, 4
lea ecx, [edx + eax - 0x190]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x4c]
lea edx, [esp + 0x224]
push 0x100
lea eax, [eax + eax*4]
push edx
push 0
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [eax + ecx - 0x190]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [esp + 0x224]
lea ecx, [esp + 0x324]
push eax
push ecx
lea edx, [esp + 0xc8]
push str._s__s
push edx
call fcn.00449ffa
add esp, 0x10
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xc0]
push ecx
mov ecx, dword [ebp + 0x6c]
add ecx, 2
push eax
push ecx
push edx
push ebx
call esi
push 0xffff
push 1
push 0
lea ecx, [esp + 0x58]
call fcn.00474b98
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x4c]
neg eax
sbb eax, eax
and eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
mov ecx, dword [esp + 0x2c]
jne 0x43b5db
cmp ecx, dword [esp + 0x1c]
jne 0x43b5db
push ecx
push eax
lea eax, [esp + 0xc8]
push 0x4a421c
push eax
call fcn.00449ffa
lea edi, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 0x64]
not ecx
dec ecx
cdq
push ecx
lea ecx, [esp + 0xc4]
sub eax, edx
push ecx
mov ecx, eax
mov eax, dword [ebp + 0x74]
cdq
sub eax, edx
mov edx, dword [ebp + 0x60]
sar ecx, 1
sar eax, 1
sub eax, ecx
sub edx, 4
add eax, edi
push eax
push edx
push ebx
call esi
mov eax, dword [ebp + 0x74]
mov esi, dword [ebp + 0x64]
cdq
sub eax, edx
push 0
sar eax, 1
add eax, esi
push eax
mov eax, dword [ebp + 0x60]
push eax
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x74]
mov edi, dword [ebp + 0x64]
cdq
mov ecx, dword [ebp + 0x68]
sub eax, edx
sar eax, 1
add eax, edi
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x43b7c0
push ecx
push eax
lea edx, [esp + 0xc8]
push 0x4a421c
push edx
call fcn.00449ffa
mov eax, dword [esp + 0x24]
lea edi, [esp + 0xd0]
cdq
sub eax, edx
or ecx, 0xffffffff
mov edx, eax
xor eax, eax
add esp, 0x10
sar edx, 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], edx
push ecx
mov ecx, dword [ebp + 0x6c]
sub ecx, edx
mov edx, dword [ebp + 0x60]
lea eax, [esp + 0xc4]
sub edx, 4
push eax
push ecx
push edx
push ebx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xc8]
push 0x4a421c
push edx
call fcn.00449ffa
lea edi, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x30]
mov edx, dword [ebp + 0x60]
not ecx
dec ecx
lea eax, [esp + 0xc0]
push ecx
mov ecx, dword [ebp + 0x64]
sub ecx, edi
push eax
sub edx, 4
push ecx
push edx
push ebx
call esi
mov ecx, dword [ebp + 0x48]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x30], esi
jle 0x43b7c0
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x24], 0
imul eax, esi
cdq
idiv ecx
add eax, dword [ebp + 0x60]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x54]
test eax, eax
jle 0x43b7a2
mov dword [esp + 0x10], edi
mov eax, dword [ebp + 0x4c]
xor ecx, ecx
mov cl, byte [edi + eax + 0x10]
lea edi, [edi + eax + 0x10]
mov eax, dword [ebp + 0x50]
cmp ecx, eax
jne 0x43b77f
cmp dword [ebp + 0x58], 1
jne 0x43b6db
xor eax, eax
mov al, byte [edi + 3]
jmp 0x43b713
cmp eax, 0xbe
je 0x43b70e
cmp eax, 0xc2
je 0x43b70e
xor eax, eax
xor edx, edx
mov al, byte [edi + 8]
mov dl, byte [edi + 7]
shl eax, 8
add eax, edx
xor ecx, ecx
mov cl, byte [edi + 6]
xor edx, edx
mov dl, byte [edi + 5]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
jmp 0x43b713
xor eax, eax
mov al, byte [edi + 5]
mov esi, dword [esp + 0x28]
cdq
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov edi, edx
sub ecx, esi
sbb edi, eax
mov eax, dword [ebp + 0x74]
cdq
push edx
push eax
push edi
push ecx
call fcn.0044a100
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
sub ecx, esi
mov esi, dword [esp + 0x1c]
sbb esi, edi
push esi
push ecx
push edx
push eax
call fcn.0044a050
mov edi, dword [ebp + 0x6c]
sub edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x43b775
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
push 0
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x20]
push edi
push ecx
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x78], edx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x54]
inc eax
add edi, 0xc
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edi
jl 0x43b6b6
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x48]
inc esi
add edi, 0x190
cmp esi, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], edi
jl 0x43b68f
mov eax, dword [esp + 0x58]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x42c], 6
call fcn.00474b82
lea ecx, [esp + 0x3c]
mov byte [esp + 0x42c], 4
call fcn.0047162c
jmp 0x43b7fe
mov esi, vtable.CGdiObject.0
mov ecx, dword [esp + 0x54]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x64], esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x42c], 7
call fcn.00474b82
mov dword [esp + 0x6c], esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x42c], 8
call fcn.00474b82
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x42c], 9
call fcn.00474b82
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x42c], 0xa
call fcn.00474b82
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret 4