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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578b5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x114]
mov dword [esp + 0x40], ebx
test eax, eax
je 0x469590
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x469267
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov dword [esp + 0x78], 0
je 0x469247
push 0x273e
mov ecx, eax
call fcn.00486d60
jmp 0x469249
xor eax, eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push 0x5a5210
push eax
mov dword [esp + 0x80], 0xffffffff
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [eax + 0x514]
mov ecx, ebx
mov dword [esp + 0x3c], esi
call fcn.0046a380
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 8]
mov edx, 1
cmp eax, edx
jne 0x469292
test ecx, ecx
jne 0x469292
mov dword [esp + 0x18], edx
cmp eax, 2
jne 0x4692a1
cmp dword [esp + 0x18], edx
je 0x469590
test esi, esi
jle 0x46957e
mov ecx, esi
xor eax, eax
shl ecx, 5
mov dword [esp + 0x48], ecx
mov ecx, esi
shl ecx, 7
mov dword [esp + 0x44], ecx
mov ecx, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], esi
xor esi, esi
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x20]
mov edi, dword [ebx + 0xfc]
lea eax, [ecx + esi]
mov ecx, dword [edi + eax*4]
cmp ecx, 1
jl 0x469519
cmp ecx, 1
jne 0x469308
mov dword [esp + 0x1c], 0
jmp 0x469369
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 8]
cmp eax, 1
jle 0x469364
mov edx, dword [edx + 4]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x10], edx
jl 0x469369
mov edx, dword [esp + 0x20]
add edx, esi
lea esi, [eax + 1]
mov ebx, dword [edi + edx*4]
mov edx, 2
mov dword [esp + 0x14], ebx
jmp 0x469341
mov ebx, dword [esp + 0x14]
cmp ebx, edx
jl 0x46934d
cmp ebx, esi
jg 0x46934d
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x10]
inc ecx
add edx, eax
add esi, eax
cmp ecx, ebx
jle 0x46933d
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
jmp 0x469369
dec ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x28]
fld qword [eax + edi + 0x30]
fstp dword [esp + 0x14]
fld qword [eax + edi + 0x38]
mov eax, esi
fstp dword [esp + 0x10]
dec eax
je 0x46939e
dec eax
je 0x469394
dec eax
jne 0x4693a8
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0x14]
jmp 0x4693a8
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4694c9
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x7c]
push 0
push 1
push eax
call fcn.0045ade0
mov cl, byte [ebx + 0xd]
test cl, cl
je 0x4693ce
xor eax, eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], vtable.CPen.0
push eax
push 1
push 0
mov dword [esp + 0x84], 1
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_1
fld dword [esp + 0x10]
mov esi, eax
lea edx, [esp + 0x4c]
lea eax, [esp + 0x54]
push edx
push eax
mov ecx, ebx
sub esp, 8
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
mov dword [esp + 0x68], 0
fstp qword [esp]
call fcn.00467a70
fld qword [esp + 0x54]
fmul qword [0x585b28]
push 0
fstp qword [esp + 0x58]
fld qword [esp + 0x50]
fmul qword [0x585b28]
mov eax, dword [esp + 0x5c]
fstp qword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0046ee10
test esi, esi
je 0x46949a
push esi
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x60], vtable.CGdiObject.0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x60], vtable.CObject.0
jmp 0x469519
fld dword [esp + 0x10]
sub esp, 8
lea edx, [esp + 0x70]
fstp qword [esp]
fld dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push edx
call fcn.00468d30
mov ecx, dword [ebx + 0x7c]
add esp, 0x14
push 0
push 0
call fcn.0045acd0
mov eax, dword [esp + 0x20]
sub esp, 8
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x74]
fstp qword [esp]
push 0xffffffffffffffff
push 0
push 0
push 0
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00467be0
inc esi
cmp esi, 4
mov dword [esp + 0x24], esi
jl 0x4692e0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add edx, 0x20
add ecx, 0x80
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jne 0x4692da
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
add eax, edi
add ecx, esi
mov esi, dword [esp + 0x3c]
dec edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jne 0x4692ce
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, 1
mov dword [esp + 0x18], ecx
jle 0x46927e
mov ecx, dword [esp + 0x70]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4