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

Disassembly:
push 0xffffffffffffffff
push 0x4607d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], 0x466aa8
mov dword [esp + 0x8c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0x466a94
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 0x4658b0
push 0xa
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 2
call fcn.0045ab72
mov eax, dword [esi + 0x14]
cmp eax, edi
mov byte [esp + 0x8c], 3
je 0x433897
mov eax, dword [eax]
cmp eax, edi
jne 0x433891
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
call sub.MFC71.DLL_CPlex::FreeDataChain
lea ebx, [esi + 0x2c]
mov dword [esi + 0x24], edi
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4338be
mov eax, dword [eax]
cmp eax, edi
jne 0x4338b8
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
call sub.MFC71.DLL_CPlex::FreeDataChain
mov ebp, dword [esp + 0x94]
push 1
mov ecx, ebp
mov dword [ebx + 0x14], edi
call sub.MFC71.DLL_CDC::SetBkMode
push edi
mov ecx, ebp
call sub.MFC71.DLL_CDC::SetTextAlign
mov ecx, dword [esi + 8]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x38]
push 0xd
lea ecx, [esp + 0x3c]
call fcn.00413870
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC71.DLL_CGdiObject::Attach
mov eax, dword [esi + 8]
push eax
push 1
push edi
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x44]
call sub.MFC71.DLL_CGdiObject::Attach
cmp dword [esi + 0xc], edi
jne 0x43397c
mov edx, dword [ebp]
push 8
mov ecx, ebp
call dword [edx + 0x2c]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x433951
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push ecx
mov ecx, dword [ebp + 4]
inc eax
push eax
mov eax, dword [esp + 0xa0]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x43398f
mov edx, dword [ebp + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x98]
dec eax
push eax
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, ebp
call sub.MFC71.DLL_CDC::MoveTo
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
dec eax
inc ecx
push eax
push ecx
mov ecx, ebp
call sub.MFC71.DLL_CDC::LineTo
mov edi, dword [esi + 0x4c]
sub edi, dword [esi + 0x50]
test edi, edi
mov dword [esp + 0x24], edi
jle 0x433d91
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
xor esi, esi
sub edx, ecx
cmp edx, 0xa
mov dword [esp + 0x10], esi
jle 0x433d91
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xb0]
call fcn.004363a0
mov eax, edi
cdq
push edx
push eax
push esi
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.0045b7c0
test edx, edx
jg 0x433b11
jl 0x433a33
cmp eax, 0x46
jae 0x433b11
mov edi, dword [esp + 0xa0]
jmp 0x433a40
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x433a63
test esi, esi
je 0x433d91
lea edx, [esi + esi*4]
shl edx, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xa
jmp 0x433ad8
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::RemoveHead
mov edx, eax
mov edi, dword [edx + 4]
mov eax, dword [edx]
mov ecx, edi
imul ecx, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x20], edx
jle 0x433a8e
mov esi, eax
lea ecx, [ecx + ecx*4]
shl ecx, 1
dec esi
jne 0x433a84
test eax, eax
jge 0x433aae
neg eax
mov esi, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
dec esi
mov ecx, eax
jne 0x433a94
mov edx, dword [esp + 0x20]
cmp edi, 1
mov dword [esp + 0x10], ecx
je 0x433ac0
cmp edi, 0xa
mov dword [esp + 0x14], edi
jle 0x433ac8
mov dword [esp + 0x14], 0xa
push edx
call sub.MFC71.DLL_operator_delete
mov edi, dword [esp + 0xa4]
add esp, 4
mov ecx, dword [esp + 0x98]
mov eax, edi
sub eax, ecx
imul dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.0045b7c0
test edx, edx
jl 0x433a3c
jg 0x433b0b
cmp eax, 0x46
jb 0x433a3c
mov esi, dword [esp + 0x10]
jmp 0x433b18
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x433b41
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::RemoveHead
push eax
call sub.MFC71.DLL_operator_delete
mov eax, dword [esp + 0x78]
add esp, 4
test eax, eax
jne 0x433b20
mov edi, dword [esp + 0xa0]
test esi, esi
je 0x433d91
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x50]
cdq
idiv esi
imul eax, esi
cmp eax, esi
mov dword [esp + 0x20], eax
jl 0x433b64
sub eax, esi
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x433b82
mov eax, dword [ebp + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x98]
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp eax, dword [edx + 0x4c]
fimul dword [esp + 0x10]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x14]
fimul dword [esp + 0x24]
fdivp st(1)
fstp dword [esp + 0x30]
jge 0x433d73
fild dword [esp + 0x24]
fstp qword [esp + 0x50]
jmp 0x433bd0
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0x98]
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edi, esi
mov dword [esp + 0x24], edi
fisub dword [eax + 0x50]
fild dword [esp + 0x24]
fmulp st(1)
fdiv qword [esp + 0x50]
call fcn.0045b73c
mov ecx, dword [esp + 0x1c]
mov edi, eax
add edi, esi
mov esi, dword [esp + 0xa8]
push ecx
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.00436050
test esi, esi
je 0x433c14
add esi, 4
jmp 0x433c16
xor esi, esi
mov edx, dword [esp + 0xa4]
add edx, 0xfffffff0
push 0
mov ecx, esi
mov dword [esp + 0x28], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0xa4]
push eax
mov eax, dword [ebp + 4]
push 4
push ecx
lea edx, [edi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
cmp edi, dword [esp + 0x98]
jl 0x433c93
mov ecx, dword [esp + 0xa4]
add ecx, 0xfffffff3
push ecx
push edi
lea edx, [esp + 0x60]
push edx
mov ecx, ebp
call sub.MFC71.DLL_CDC::MoveTo
mov eax, dword [esp + 0xa4]
push eax
push edi
mov ecx, ebp
call sub.MFC71.DLL_CDC::LineTo
mov ecx, dword [esp + 0x18]
push edi
add ecx, 0x10
call fcn.00427d30
mov ecx, dword [esp + 0x14]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x433d5a
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fild dword [esp + 0x20]
fmul dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fadd dword [esp + 0x24]
fild dword [esp + 0xa0]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x433d43
fild dword [esp + 0x98]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x433d45
fld dword [esp + 0x24]
call fcn.0045b73c
mov ecx, dword [esp + 0xa4]
add ecx, 0xfffffffc
push ecx
lea esi, [eax + edi]
push esi
lea edx, [esp + 0x68]
push edx
mov ecx, ebp
call sub.MFC71.DLL_CDC::MoveTo
mov eax, dword [esp + 0xa4]
dec eax
push eax
push esi
mov ecx, ebp
call sub.MFC71.DLL_CDC::LineTo
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00402a50
mov dword [eax + 8], esi
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x433d3b
mov dword [ecx], eax
mov dword [ebx + 8], eax
jmp 0x433d45
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
jmp 0x433d45
fstp st(0)
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x433cb0
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp eax, dword [edx + 0x4c]
mov dword [esp + 0x1c], eax
jl 0x433bc2
mov eax, dword [ebp]
push 8
mov ecx, ebp
call dword [eax + 0x2c]
mov edx, dword [ebp]
push 5
mov ecx, ebp
call dword [edx + 0x2c]
mov eax, dword [ebp]
push 0xd
mov ecx, ebp
call dword [eax + 0x2c]
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 2
call sub.MFC71.DLL_CPtrList::CPtrList
mov esi, 0x46581c
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 1
mov dword [esp + 0x38], esi
call fcn.0045ab26
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
mov dword [esp + 0x40], esi
call fcn.0045ab26
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], esi
mov dword [esp + 0x8c], 0xffffffff
call fcn.0045ab26
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 0x18