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

Disassembly:
push 0xffffffffffffffff
push 0x4f23a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x194]
mov eax, dword [edi + 0x190]
mov edx, dword [edi + 0x198]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x19c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], edx
push ecx
mov dword [esp + 0x40], eax
call fcn.00434610
lea edx, [esp + 0x3c]
push edx
call fcn.00434610
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
add esp, 8
lea ecx, [esp + 0x48]
sub esi, edx
call fcn.004dc560
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
xor ebp, ebp
push edx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], ebp
call fcn.004dc610
lea ecx, [esp + 0x88]
mov dword [esp + 0x30], esi
push ecx
mov dword [esp + 0x38], ebp
fild qword [esp + 0x34]
sub esp, 8
lea ecx, [esp + 0x54]
fstp qword [esp]
call fcn.004dc6e0
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004caf20
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x34], ebp
mov esi, ebx
mov dword [esp + 0x30], 0x4f5178
xor esi, 0xffffff
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0x4f5164
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 2
call fcn.004dc560
push esi
push ebp
push ebp
mov byte [esp + 0x84], 3
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xffff00
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x98], eax
call sub.MFC42.DLL_CDC::SelectObject_2
push 7
mov ecx, esi
mov dword [esp + 0x94], eax
call sub.MFC42.DLL_CDC::SetROP2
mov ecx, dword [esp + 0x8c]
mov edx, dword [edi + 0x18]
mov ebp, dword [sym.imp.GDI32.dll_LPtoDP]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
push 1
push ecx
push edx
mov dword [esp + 0x30], eax
call ebp
mov ecx, dword [esi + 8]
lea eax, [esp + 0x28]
push 1
push eax
push ecx
call ebp
mov eax, dword [esi + 8]
lea edx, [esp + 0x20]
push 1
push edx
push eax
call ebp
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x3c]
mov edx, dword [esi]
push 0
lea eax, [esp + 0x44]
push 0
push eax
mov ecx, esi
call dword [edx + 0x40]
push 0
lea ecx, [esp + 0x44]
push 0
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetWindowOrg
mov eax, dword [edi + 0x1b4]
test eax, eax
jne 0x4cab6e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [eax + 5]
lea ebp, [edx + 5]
add eax, 0xfffffffb
push ecx
mov ecx, dword [esi + 4]
add edx, 0xfffffffb
push ebp
push eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea ecx, [eax + 5]
lea ebp, [edx + 5]
add eax, 0xfffffffb
push ecx
mov ecx, dword [esi + 4]
add edx, 0xfffffffb
push ebp
push eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esp + 0x94]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esp + 0x84]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SetROP2
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 2
call fcn.004dc5b0
mov ebp, 0x4f4f14
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], 0x4f4f00
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [edi + 0x15c]
xor ebp, ebp
test eax, eax
mov byte [esp + 0x78], 0
jle 0x4cac90
mov eax, dword [edi + 0x1b4]
test eax, eax
jne 0x4cac6b
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
push ebp
push eax
push ecx
push ebx
push esi
mov ecx, edi
call fcn.004cb070
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push ebp
push edx
push eax
push ebx
push esi
mov ecx, edi
call fcn.004cb070
mov eax, dword [edi + 0x15c]
inc ebp
cmp ebp, eax
jl 0x4cac4f
mov eax, dword [edi + 0x170]
xor ebp, ebp
test eax, eax
jle 0x4cacdd
mov eax, dword [edi + 0x1b4]
test eax, eax
jne 0x4cacb8
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
push ebp
push ecx
push edx
push ebx
push esi
mov ecx, edi
call fcn.004cb400
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
push ebp
push eax
push ecx
push ebx
push esi
mov ecx, edi
call fcn.004cb400
mov eax, dword [edi + 0x170]
inc ebp
cmp ebp, eax
jl 0x4cac9c
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ecx, dword [edi + 0x190]
mov dword [edi + 0x18], edx
mov edx, dword [edi + 0x194]
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x30]
mov dword [edi + 0x1b8], 1
push eax
mov dword [edi + 0x1b4], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call fcn.00434610
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.00434490
fmul qword [0x4fb158]
add esp, 0x14
fmul qword [0x4f6818]
fsub qword [0x4f7898]
fcom qword [0x4f5790]
fnstsw ax
test ah, 1
je 0x4cad6a
fadd qword [0x4f6808]
fmul qword [0x4f5578]
sub esp, 8
fstp qword [esp]
call fcn.00434930
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x94]
fild dword [esp + 0x84]
fmul qword [0x4f5580]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x78], 6
call sub.MFC42.DLL_CString::CString
push 0xa27d
lea ecx, [esp + 0x98]
mov byte [esp + 0x7c], 7
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x98]
push str._4.1f
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0xa0]
mov eax, 7
add esp, 0x10
mov ecx, dword [edx - 8]
sub eax, ecx
test eax, eax
jle 0x4cae45
mov ebp, eax
mov bl, 8
lea eax, [esp + 0x94]
push 0x50f12c
lea ecx, [esp + 0x88]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x7c], bl
call fcn.004e2718
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 7
call fcn.004e2712
dec ebp
jne 0x4cae06
lea edx, [esp + 0x90]
lea eax, [esp + 0x94]
push edx
lea ecx, [esp + 0x88]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x7c], 9
call fcn.004e2718
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 7
call fcn.004e2712
mov ecx, 0x19
mov eax, 0x6e
push ecx
push eax
push ecx
lea edx, [esp + 0xa0]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea ebp, [edi + 0x1bc]
push eax
push ecx
mov ecx, ebp
call fcn.004def30
mov edx, dword [edi + 4]
push esi
push edx
mov ecx, ebp
call fcn.004defa0
lea ecx, [esp + 0x90]
mov byte [esp + 0x78], 6
call fcn.004e2712
lea ecx, [esp + 0x94]
mov byte [esp + 0x78], 0
call fcn.004e2712
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call fcn.004dc5b0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0x18