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

Disassembly:
push 0xffffffffffffffff
push 0x4cc47b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa4]
push eax
xor ebp, ebp
push ebp
push ebp
lea ecx, [esp + 0x40]
call sub.mfc100.dll_Ordinal_796
mov eax, vtable.CFont.0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 3
call sub.mfc100.dll_Ordinal_341
lea edi, [esi + 0xf8]
mov byte [esp + 0x58], 4
cmp edi, ebp
je 0x464fa3
cmp dword [edi + 4], ebp
jne 0x464ffb
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call sub.mfc100.dll_Ordinal_2183
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea ebx, [esi + 0x120]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call sub.mfc100.dll_Ordinal_2184
cmp ebx, ebp
jne 0x464fe5
xor ebx, ebx
jmp 0x464fe8
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 0xfc]
push ebx
push eax
call sub.mfc100.dll_Ordinal_11924
mov dword [esi + 0x118], eax
mov edx, dword [edi]
mov eax, dword [esi + 0xa0]
mov edx, dword [edx + 0x34]
push eax
mov ecx, edi
call edx
lea eax, [esi + 0xf0]
cmp eax, ebp
jne 0x465019
xor eax, eax
jmp 0x46501c
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0xfc]
lea ebp, [esi + 0xd0]
push ebp
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0xbc]
fld qword [eax + 0x30]
fabs
call sub.MSVCR100.dll__CIlog10
call fcn.004c6620
cdq
mov ebx, eax
mov eax, dword [esi + 0xbc]
xor ebx, edx
fld qword [eax + 0x28]
sub ebx, edx
fabs
call sub.MSVCR100.dll__CIlog10
call fcn.004c6620
cdq
xor eax, edx
sub eax, edx
cmp ebx, eax
jg 0x46506d
mov ebx, eax
mov ecx, dword [esi + 0x84]
lea eax, [ebx + ecx + 4]
lea edx, [eax + eax*2]
mov eax, dword [ebp]
lea ecx, [eax + edx*2]
mov dword [esi + 0xe0], ecx
mov edx, dword [esi + 0xe8]
sub edx, ecx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esi + 0xcc], edx
call sub.mfc100.dll_Ordinal_11940
mov ecx, dword [esi + 0xe4]
mov edx, dword [esi + 0xe0]
push ecx
mov ebx, eax
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call sub.mfc100.dll_Ordinal_7927
mov ecx, dword [esi + 0xe4]
mov edx, dword [esi + 0xe8]
push ecx
inc edx
push edx
mov ecx, edi
call sub.mfc100.dll_Ordinal_7491
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe8]
inc eax
inc ecx
push eax
push ecx
mov ecx, edi
call sub.mfc100.dll_Ordinal_7491
mov edx, dword [esi + 0xec]
mov eax, dword [esi + 0xe0]
inc edx
push edx
push eax
mov ecx, edi
call sub.mfc100.dll_Ordinal_7491
mov ecx, dword [esi + 0xe4]
mov edx, dword [esi + 0xe0]
push ecx
push edx
mov ecx, edi
call sub.mfc100.dll_Ordinal_7491
push ebx
mov ecx, edi
call sub.mfc100.dll_Ordinal_11940
mov eax, dword [esi + 0x78]
mov ecx, 1
inc eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
jle 0x465192
mov eax, dword [esi + 0xec]
sub eax, dword [esi + 0xe4]
mov ebx, dword [esi + 0x78]
imul eax, ecx
inc ebx
cdq
idiv ebx
mov ebp, dword [esi + 0xe0]
mov ebx, eax
add ebx, dword [esi + 0xe4]
cmp ebp, dword [esi + 0xe8]
jge 0x465185
lea esp, [esp]
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0xfc]
push eax
push ebx
push ebp
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
add ebp, 4
cmp ebp, dword [esi + 0xe8]
jl 0x465160
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x78]
inc ecx
inc edx
mov dword [esp + 0x18], ecx
cmp ecx, edx
jl 0x46512d
mov eax, dword [esi + 0x74]
mov ecx, 1
inc eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
jle 0x465202
mov eax, dword [esi + 0xe8]
sub eax, dword [esi + 0xe0]
mov ebx, dword [esi + 0x74]
imul eax, ecx
inc ebx
cdq
idiv ebx
mov ebp, dword [esi + 0xe4]
mov ebx, eax
add ebx, dword [esi + 0xe0]
cmp ebp, dword [esi + 0xec]
jge 0x4651f5
nop
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0xfc]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
add ebp, 4
cmp ebp, dword [esi + 0xec]
jl 0x4651d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x74]
inc ecx
inc edx
mov dword [esp + 0x18], ecx
cmp ecx, edx
jl 0x4651a3
push 0x4f8a08
push 0x20
push 0
mov ebx, dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call ebx
push eax
lea ecx, [esp + 0x30]
call sub.mfc100.dll_Ordinal_2184
push str.Arial
push 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12c
push 0
push 0x384
push 0
push 0xe
call ebx
push eax
lea ecx, [esp + 0x28]
call sub.mfc100.dll_Ordinal_2184
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esi + 0xa4]
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, edi
call edx
push 2
mov ecx, edi
call sub.mfc100.dll_Ordinal_12786
mov ecx, dword [esi + 0x9c]
cmp dword [ecx - 0xc], 0
lea eax, [esi + 0x9c]
lea ecx, [esp + 0x14]
jne 0x4652cd
mov edx, dword [esi + 0xbc]
fld qword [edx + 0x30]
mov eax, dword [esi + 0x84]
sub esp, 8
fstp qword [esp]
push eax
push 0x4f8a18
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x14
jmp 0x4652d4
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov edx, dword [esp + 0x14]
mov ebp, dword [edx - 0xc]
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x18], ebp
push dword [esp + 0x18]
mov ebp, dword [edi]
push edx
mov edx, dword [ebp + 0x64]
push ecx
sub eax, 4
push eax
mov ecx, edi
call edx
push 0x1a
mov ecx, edi
call sub.mfc100.dll_Ordinal_12786
mov ecx, dword [esi + 0x98]
cmp dword [ecx - 0xc], 0
lea eax, [esi + 0x98]
lea ecx, [esp + 0x14]
jne 0x465344
mov edx, dword [esi + 0xbc]
fld qword [edx + 0x28]
mov eax, dword [esi + 0x84]
sub esp, 8
fstp qword [esp]
push eax
push str._.lf
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x14
jmp 0x46534b
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov edx, dword [esp + 0x14]
mov ebp, dword [edx - 0xc]
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x18], ebp
push dword [esp + 0x18]
mov ebp, dword [edi]
push edx
mov edx, dword [ebp + 0x64]
push ecx
sub eax, 4
push eax
mov ecx, edi
call edx
push 0
mov ecx, edi
call sub.mfc100.dll_Ordinal_12786
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
lea ecx, [esp + 0x18]
jne 0x4653cb
push 0x4f8a28
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx - 0xc]
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe0]
mov dword [esp + 0x1c], ebp
push dword [esp + 0x1c]
mov ebp, dword [edi]
add eax, 4
push edx
push eax
mov eax, dword [ebp + 0x64]
push ecx
mov ecx, edi
mov byte [esp + 0x68], 5
call eax
jmp 0x465401
push eax
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx - 0xc]
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe0]
mov dword [esp + 0x1c], ebp
push dword [esp + 0x1c]
mov ebp, dword [edi]
push edx
mov edx, dword [ebp + 0x64]
add eax, 4
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x68], 6
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 4
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 2
mov ecx, edi
call sub.mfc100.dll_Ordinal_12786
mov ecx, dword [esi + 0x90]
cmp dword [ecx - 0xc], 0
lea eax, [esi + 0x90]
jne 0x46546c
mov eax, dword [esi + 0x80]
test eax, eax
jns 0x465455
mov eax, dword [esi + 0xcc]
cdq
idiv dword [esi + 0x7c]
lea edx, [esp + 0x14]
push eax
push 0x4f8a2c
push edx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0xc
jmp 0x465477
dec eax
push eax
lea eax, [esp + 0x18]
push 0x4f8a30
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0xc
jmp 0x465477
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov edx, dword [esp + 0x14]
mov ebp, dword [edx - 0xc]
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe8]
mov dword [esp + 0x1c], ebp
push dword [esp + 0x1c]
mov ebp, dword [edi]
push edx
mov edx, dword [ebp + 0x64]
add eax, 4
push eax
push ecx
mov ecx, edi
call edx
push 6
mov ecx, edi
call sub.mfc100.dll_Ordinal_12786
mov eax, dword [esi + 0xe0]
add eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xec]
cdq
sub eax, edx
mov edx, dword [esi + 0x88]
mov ebp, dword [edx - 0xc]
mov dword [esp + 0x1c], ebp
push dword [esp + 0x1c]
mov ebp, dword [edi]
add ecx, 4
push edx
sar eax, 1
push ecx
push eax
mov eax, dword [ebp + 0x64]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push ebx
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call edx
push 0x1e
mov ecx, edi
mov ebx, eax
call sub.mfc100.dll_Ordinal_12786
mov eax, dword [esi + 0xec]
add eax, dword [esi + 0xe4]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xe0]
add eax, dword [esi + 0xd0]
sar ecx, 1
cdq
sub eax, edx
mov edx, dword [esi + 0x94]
mov ebp, dword [edx - 0xc]
mov dword [esp + 0x1c], ebp
push dword [esp + 0x1c]
mov ebp, dword [edi]
push edx
sar eax, 1
push ecx
push eax
mov eax, dword [ebp + 0x64]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push ebx
mov ecx, edi
call eax
lea edi, [esi + 0x108]
test edi, edi
je 0x46555f
cmp dword [edi + 4], 0
jne 0x4655b3
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call sub.mfc100.dll_Ordinal_2183
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea ebx, [esi + 0x128]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call sub.mfc100.dll_Ordinal_2184
test ebx, ebx
je 0x4655a0
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 0x10c]
push ebx
push eax
call sub.mfc100.dll_Ordinal_11924
mov dword [esi + 0x11c], eax
mov edx, dword [edi]
mov eax, dword [esi + 0xa0]
mov edx, dword [edx + 0x34]
push eax
mov ecx, edi
call edx
lea eax, [esi + 0xf0]
test eax, eax
je 0x4655d0
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0x10c]
lea edi, [esi + 0xd0]
push edi
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp byte [esp + 0x60], 0
je 0x4655f9
mov ecx, dword [esi + 0x20]
push 1
push edi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 3
call sub.mfc100.dll_Ordinal_917
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov esi, vtable.CFont.0
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 1
mov dword [esp + 0x24], esi
call fcn.00439e00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0
mov dword [esp + 0x2c], esi
call fcn.00439e00
lea ecx, [esp + 0x34]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x34], vtable.CPen.0
call fcn.00439e00
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4