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

Disassembly:
push 0xffffffffffffffff
push 0x441960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
fild dword [esi + 0x21d1c]
mov dword [esp + 0x80], 0
fmul qword [0x4470d8]
call sub.MSVCRT.dll__ftol
mov ebx, dword [esi + 0x21d14]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x21d24]
add eax, ebx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [0x4470d8]
call sub.MSVCRT.dll__ftol
mov ebx, dword [esp + 0x88]
push 6
mov ecx, ebx
mov dword [esp + 0x24], eax
mov edx, dword [ebx]
call dword [edx + 0x3c]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x4470c4
mov ebp, dword [eax + 0x14]
mov eax, dword [esi + 0x21d30]
mov dword [esp + 0x1c], ebp
lea edi, [ebp - 1]
imul edi, eax
lea ecx, [eax + edi - 1]
mov dword [esp + 0x18], ecx
push str.Courier_New
push 0x30
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xffffff4c
mov byte [esp + 0xb8], 1
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [ebx]
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call dword [edx + 0x30]
push ebp
push ebx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.004029a0
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x21d2c]
mov edx, dword [esi + 0x21d20]
mov ecx, dword [esi + 0x21d1c]
sub eax, edx
mov byte [esp + 0x80], 2
add eax, ecx
mov dword [esp + 0x88], eax
fild dword [esp + 0x88]
fmul qword [0x4470d8]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov ecx, edi
cmp edi, eax
mov dword [esp + 0x10], ecx
jg 0x402fdc
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x88]
neg eax
mov dword [esp + 0x8c], eax
cmp ecx, dword [esi + 0x21d38]
jge 0x402fd8
mov eax, dword [esi + 0x21d3c]
mov edx, dword [esp + 0x24]
dec eax
mov dword [esp + 0x88], edx
neg eax
sbb eax, eax
xor edi, edi
and eax, 2
add eax, 4
test eax, eax
mov dword [esp + 0x20], eax
jle 0x402fb3
jmp 0x402edd
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x21d3c]
dec eax
je 0x402f11
dec eax
jne 0x402f3f
push 0x104
push 0x453834
push edi
push ecx
lea ecx, [esi + 0x21d40]
call sub.MFC42.DLL_CListCtrl::GetItemText
mov eax, dword [esi + 0x21d60]
push 0
push edi
push 0x101d
push eax
jmp 0x402f37
push 0x104
push 0x453834
push edi
push ecx
lea ecx, [esi + 0x21d80]
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esi + 0x21da0]
push 0
push edi
push 0x101d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
push 0x453834
lea ecx, [esp + 0x18]
call fcn.00440690
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x94]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x64]
lea eax, [ebp + ebp*4]
lea ecx, [eax + eax*4]
mov eax, 0x92492493
shl ecx, 2
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x28]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x88]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x88], eax
jg 0x402faf
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x402ed9
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x18]
sub edi, 0x12c
inc ecx
cmp ecx, eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x10], ecx
jle 0x402ea1
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x30]
mov ecx, dword [esp + 0x30]
push ecx
push ebp
push ebx
mov ecx, esi
call fcn.00402710
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call fcn.00440654
mov dword [esp + 0x38], 0x4470b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], 0x44709c
mov dword [esp + 0x80], 0xffffffff
call fcn.00440654
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8