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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a2ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
call sub.MFC71.DLL_AfxGetModuleState
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x18]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], ebx
je 0x44cf44
cmp dword [ebx + 8], edi
je 0x44cf44
mov cl, byte [eax + 0x16]
test cl, cl
jne 0x44cf44
mov cl, byte [eax + 0x14]
test cl, cl
jne 0x44cf44
push 0xff00ff
push 1
push edi
lea ecx, [esp + 0x7c]
call sub.MFC71.DLL_CPen::CPen
push 0xff
push 1
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc0], edi
call sub.MFC71.DLL_CPen::CPen
push 0xff0000
push 1
push edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 1
call sub.MFC71.DLL_CPen::CPen
push 0xffff
push 1
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 2
call sub.MFC71.DLL_CPen::CPen
push 0xff00
push 1
push edi
lea ecx, [esp + 0x64]
mov byte [esp + 0xc0], 3
call sub.MFC71.DLL_CPen::CPen
mov esi, dword [ebp + 0x1c]
fild dword [esi]
mov byte [esp + 0xb4], 4
fmul qword [ebp + 0xc]
call fcn.00465938
fild dword [esi + 4]
mov dword [esp + 0x68], eax
fmul qword [ebp + 0xc]
call fcn.00465938
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 8]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x1c], edi
jle 0x44ced3
mov dword [esp + 0x14], edi
jmp 0x44cc13
mov ebx, dword [esp + 0x24]
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + edx + 0x40]
add ebx, edx
add eax, 0xfffffffe
cmp eax, 4
mov dword [esp + 0x60], ebx
ja case.0x44cc2c.3
jmp dword [eax*4 + 0x44cf5c]
lea eax, [esp + 0x30]
jmp 0x44cc4b
lea ecx, [esp + 0x50]
push ecx
jmp 0x44cc4c
lea edx, [esp + 0x38]
push edx
jmp 0x44cc4c
lea eax, [esp + 0x58]
push eax
mov ecx, dword [ebp + 0x18]
call sub.MFC71.DLL_CDC::SelectObject
mov eax, dword [ebx + 8]
test eax, eax
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 0
mov dword [esp + 0x10], 0
jle 0x44ce70
fild dword [esp + 0x68]
fstp qword [esp + 0x78]
fild dword [esp + 0x6c]
fstp qword [esp + 0x80]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
fld qword [ecx + edx*8]
fadd qword [0x46e348]
fmul qword [ebp + 0xc]
fsub qword [0x46e348]
fsub qword [esp + 0x78]
fcom qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x44ccb6
fld qword [0x46e348]
jmp 0x44ccbc
fld qword [0x46e340]
fxch st(1)
fadd st(1)
call fcn.00465938
fstp st(0)
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [ebx + 0x20]
fld qword [eax + ecx*8]
fadd qword [0x46e348]
fmul qword [ebp + 0xc]
fsub qword [0x46e348]
fsub qword [esp + 0x80]
fcom qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x44ccfe
fld qword [0x46e348]
jmp 0x44cd04
fld qword [0x46e340]
fxch st(1)
fadd st(1)
call fcn.00465938
fstp st(0)
mov cl, byte [esp + 0xf]
test cl, cl
mov esi, eax
mov eax, dword [ebp + 0x14]
je 0x44cd68
cmp edi, dword [eax + 8]
jge 0x44ce4a
cmp esi, dword [eax + 0xc]
jge 0x44cd68
cmp edi, dword [eax]
jle 0x44cd68
cmp esi, dword [eax + 4]
jle 0x44cd68
mov ecx, dword [ebp + 0x18]
push esi
push edi
lea edx, [esp + 0x98]
push edx
call sub.MFC71.DLL_CDC::MoveTo
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov byte [esp + 0xf], 0
jne 0x44ce5c
mov byte [esp + 0xe], 1
jmp 0x44ce5c
cmp edi, dword [eax + 8]
jge 0x44ce4a
cmp esi, dword [eax + 0xc]
jge 0x44ce4a
cmp edi, dword [eax]
jle 0x44ce4a
cmp esi, dword [eax + 4]
jle 0x44ce4a
test cl, cl
jne 0x44ce4a
cmp edi, dword [esp + 0x48]
jge 0x44ce4a
cmp esi, dword [esp + 0x4c]
jge 0x44ce4a
cmp edi, dword [esp + 0x40]
jle 0x44ce4a
cmp esi, dword [esp + 0x44]
jle 0x44ce4a
mov eax, dword [ebx + 0x38]
test eax, eax
mov ecx, dword [ebp + 0x18]
jne 0x44cdd1
push esi
push edi
call sub.MFC71.DLL_CDC::LineTo
jmp 0x44ce5c
call fcn.0044b3d0
mov edx, dword [eax + 4]
lea ecx, [esp + 0x98]
push ecx
push 0x10
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x44]
mov ecx, eax
neg ecx
cmp ecx, eax
jg 0x44ce5c
mov edx, edi
sub edx, esi
sub eax, ecx
inc eax
lea ebx, [ecx + esi]
mov dword [esp + 0x64], edx
mov dword [esp + 0x18], eax
jmp 0x44ce18
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x18]
push esi
add edx, ebx
push edx
call fcn.0044b3b0
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x18]
push edx
push ebx
push edi
call fcn.0044b3b0
mov eax, dword [esp + 0x18]
inc ebx
dec eax
mov dword [esp + 0x18], eax
jne 0x44ce14
mov ebx, dword [esp + 0x60]
jmp 0x44ce5c
mov ecx, dword [ebp + 0x18]
push esi
push edi
lea eax, [esp + 0x90]
push eax
call sub.MFC71.DLL_CDC::MoveTo
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x44cc84
mov al, byte [ebx + 0x3c]
test al, al
je 0x44ceb0
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax + 8]
jge 0x44ceb0
cmp edi, dword [eax]
jle 0x44ceb0
cmp esi, dword [eax + 0xc]
jge 0x44ceb0
cmp esi, dword [eax + 4]
jle 0x44ceb0
mov al, byte [esp + 0xe]
test al, al
je 0x44ceb0
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x44ceb0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0x18]
push esi
call sub.MFC71.DLL_CDC::LineTo
mov edi, esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add edx, 0x48
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x44cc0f
mov esi, 0x46cf70
lea ecx, [esp + 0x58]
mov byte [esp + 0xb4], 3
mov dword [esp + 0x58], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], 2
mov dword [esp + 0x38], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 1
mov dword [esp + 0x50], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 0
mov dword [esp + 0x30], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x70]
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0x70], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xac]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret