Function at 0x44f770
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e90c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
push 1
mov dword [esp + 0x30], ecx
push 1
push 1
push 1
mov ecx, esi
call sub.MFC42.DLL_CRect::DeflateRect
mov ebp, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 4]
sub ebp, ecx
xor ebx, ebx
dec ebp
sub eax, edi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], 0x4ec6c4
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x58], ebx
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x68]
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x70]
and eax, 0xff
mov dword [esp + 0x20], eax
dec eax
je 0x44f851
dec eax
je 0x44f83f
dec eax
jne 0x44f861
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 0xff0000
jmp 0x44f861
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], 0x8000
jmp 0x44f861
mov dword [esp + 0x14], 2
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x64]
cmp ebp, 1
mov dword [esp + 0x6c], 1
jl 0x44f932
fild dword [esp + 0x18]
fstp qword [esp + 0x38]
fild dword [esp + 0x6c]
push ecx
xor edi, edi
fdiv qword [esp + 0x3c]
fmul qword [0x4ed7a8]
fstp dword [esp]
call fcn.00447fb0
mov ecx, eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ecx
mov dword [esp + 0x64], ecx
jge 0x44f8f3
mov dl, byte [esp + 0x70]
test dl, dl
jne 0x44f8dd
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 8]
mov edx, dword [edx + eax*4]
add edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 8]
add edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x64]
add edi, edx
jmp 0x44f8ea
mov edx, dword [esp + 0x14]
mov edx, dword [ebx + edx*4]
mov edx, dword [edx + 8]
add edi, dword [edx + eax*4]
inc eax
cmp eax, ecx
jl 0x44f8b3
mov eax, dword [esp + 0x10]
mov edx, ecx
sub edx, eax
mov eax, edi
mov edi, edx
cdq
idiv edi
cmp eax, dword [esp + 0x80]
jle 0x44f90e
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
inc eax
cmp eax, ebp
mov dword [esp + 0x6c], eax
jle 0x44f889
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x68]
test eax, eax
jne 0x44f93d
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x4ec6b0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x58], 1
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject
cmp ebp, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x6c], 1
jl 0x44faa4
fild dword [esp + 0x18]
fstp qword [esp + 0x38]
fild dword [esp + 0x6c]
push ecx
xor edi, edi
fdiv qword [esp + 0x3c]
fmul qword [0x4ed7a8]
fstp dword [esp]
call fcn.00447fb0
mov ecx, eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ecx
mov dword [esp + 0x64], ecx
jge 0x44fa02
mov dl, byte [esp + 0x70]
test dl, dl
jne 0x44f9ec
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 8]
mov edx, dword [ebx + 4]
mov edx, dword [edx + 8]
mov ecx, dword [ecx + eax*4]
add ecx, dword [edx + eax*4]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
add ecx, dword [edx + eax*4]
add edi, ecx
mov ecx, dword [esp + 0x64]
jmp 0x44f9f9
mov edx, dword [esp + 0x14]
mov edx, dword [ebx + edx*4]
mov edx, dword [edx + 8]
add edi, dword [edx + eax*4]
inc eax
cmp eax, ecx
jl 0x44f9c2
mov eax, dword [esp + 0x10]
sub ecx, eax
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x44fa23
mov dword [esp + 0x80], 0x64
fild dword [esp + 0x1c]
push ecx
fidiv dword [esp + 0x84]
fmul qword [0x4ed7f0]
fadd qword [0x4ec6d8]
fldlg2
fxch st(1)
fyl2x
fimul dword [esp + 0x28]
fstp dword [esp]
call fcn.00447fb0
mov ecx, dword [esi]
mov edi, dword [esp + 0x70]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
lea edx, [ecx + edi - 1]
mov ecx, dword [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push edx
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x6c]
lea eax, [edx + edi - 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
inc edi
cmp edi, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x6c], edi
jle 0x44f998
mov edi, dword [esp + 0x68]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0xffff00
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x30]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov ebx, 1
cmp ebp, ebx
mov dword [esp + 0x6c], ebx
jl 0x44fb25
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
fild dword [esp + 0x18]
lea eax, [eax + eax*4]
fstp qword [esp + 0x38]
lea edx, [ecx + eax*4 + 8]
mov dword [esp + 0x70], edx
fild dword [esp + 0x6c]
push ecx
fdiv qword [esp + 0x3c]
fmul qword [0x4ed7a8]
fstp dword [esp]
call fcn.00447fb0
mov ecx, dword [esp + 0x74]
add esp, 4
cmp dword [ecx], eax
jl 0x44fb25
inc ebx
cmp ebx, ebp
mov dword [esp + 0x6c], ebx
jle 0x44fafa
mov eax, dword [esi]
mov edx, dword [esi + 0xc]
push edx
lea edx, [esp + 0x4c]
lea ecx, [eax + ebx - 1]
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push eax
lea edx, [ecx + ebx - 1]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi]
mov edx, dword [esp + 0x74]
lea ecx, [eax + ebx - 1]
mov ebx, 1
cmp ebp, ebx
mov dword [edx], ecx
mov dword [esp + 0x6c], ebx
jl 0x44fbad
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
fild dword [esp + 0x18]
lea eax, [eax + eax*4]
fstp qword [esp + 0x38]
lea edx, [ecx + eax*4 + 0xc]
mov dword [esp + 0x70], edx
fild dword [esp + 0x6c]
push ecx
fdiv qword [esp + 0x3c]
fmul qword [0x4ed7a8]
fstp dword [esp]
call fcn.00447fb0
mov ecx, dword [esp + 0x74]
add esp, 4
cmp dword [ecx], eax
jl 0x44fbad
inc ebx
cmp ebx, ebp
mov dword [esp + 0x6c], ebx
jle 0x44fb82
mov eax, dword [esi]
mov edx, dword [esi + 0xc]
push edx
lea edx, [esp + 0x4c]
lea ecx, [eax + ebx - 1]
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push eax
lea edx, [ecx + ebx - 1]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi]
mov edx, dword [esp + 0x78]
fldlg2
lea ecx, [eax + ebx - 1]
mov eax, dword [esp + 0x20]
mov dword [edx], ecx
mov ecx, dword [esp + 0x60]
lea eax, [eax + eax*4]
push ecx
fld dword [ecx + eax*4 + 0x10]
lea edi, [ecx + eax*4]
fyl2x
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
sub edx, eax
mov dword [esp + 0x74], edx
fstp qword [esp + 0x28]
fild dword [esp + 0x74]
fst qword [esp + 0x3c]
fmul qword [0x4ec6e8]
fstp dword [esp]
call fcn.00447fb0
fld qword [esp + 0x3c]
fmul qword [esp + 0x28]
mov ecx, dword [edi + 8]
add esp, 4
add eax, ecx
fmul qword [0x4ec6e8]
mov dword [esp + 0x70], eax
fiadd dword [esp + 0x70]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], eax
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0xffff
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [esp + 0x68]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectObject
mov edi, 1
cmp ebp, edi
mov dword [esp + 0x6c], edi
jl 0x44fcb8
fild dword [esp + 0x18]
fstp qword [esp + 0x38]
fild dword [esp + 0x6c]
push ecx
fdiv qword [esp + 0x3c]
fmul qword [0x4ed7a8]
fstp dword [esp]
call fcn.00447fb0
mov ecx, dword [esp + 0x74]
add esp, 4
cmp ecx, eax
jl 0x44fcb8
inc edi
cmp edi, ebp
mov dword [esp + 0x6c], edi
jle 0x44fc8d
mov edx, dword [esi]
mov ecx, dword [esi + 0xc]
push ecx
lea ecx, [esp + 0x4c]
lea eax, [edx + edi - 1]
push eax
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
lea ecx, [eax + edi - 1]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esi]
mov ecx, dword [esp + 0x2c]
lea eax, [edx + edi - 1]
mov dword [ecx + 0xe8], eax
mov edx, dword [esi]
mov ecx, dword [esp + 0x7c]
mov esi, 0x4ec688
lea eax, [edx + edi - 1]
mov dword [esp + 0x30], esi
mov dword [ecx], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x30], 0x4ec1a0
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x24