Function at 0x42ce50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45e891
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, 0x465a6c
push edi
mov edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
push 0x464770
lea ecx, [esp + 0x30]
mov dword [esp + 0xa4], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xa8], 1
call fcn.004060a0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0xa8]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0xa0], 5
call dword [edx + 0x24]
mov ebp, dword [edi + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
push eax
mov ecx, ebp
mov dword [esp + 0x34], ebp
call fcn.0041ffb0
lea ecx, [esp + 0x84]
mov ebx, eax
push ecx
mov ecx, ebp
mov dword [esp + 0x24], ebx
call fcn.0041f650
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x28]
call sub.MFC71.DLL_CGdiObject::Attach
mov ecx, ebp
call fcn.0041f9a0
mov ebp, dword [esp + 0xb0]
mov edx, dword [edi + 0xd8]
xor ecx, ecx
cmp ebp, eax
mov ebp, dword [esp + 0xac]
mov eax, dword [ebx + 0xec]
setne cl
add eax, ebp
dec ecx
and ecx, 0xffebebec
add ecx, 0xffffff
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [esp + 0x24], ecx
lea ecx, [ebp + 1]
mov edx, esp
mov dword [edx + 4], ecx
mov ecx, dword [edi + 0xe0]
mov dword [edx + 8], ecx
push esi
mov ecx, edi
mov dword [edx + 0xc], eax
call fcn.0042af70
mov edx, dword [esi]
push 6
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [edi + 0xd8]
push ebp
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call sub.MFC71.DLL_CDC::MoveTo
mov edx, dword [edi + 0xe0]
push ebp
push edx
mov ecx, esi
call sub.MFC71.DLL_CDC::LineTo
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42cfc7
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0xec]
mov eax, dword [edi + 0xd8]
lea edx, [ecx + ebp - 1]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call sub.MFC71.DLL_CDC::MoveTo
mov edx, dword [ebx + 0xec]
mov ecx, dword [edi + 0xe0]
lea eax, [edx + ebp - 1]
push eax
push ecx
mov ecx, esi
call sub.MFC71.DLL_CDC::LineTo
mov edx, dword [esi]
push 7
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [ebx + 0x9c]
or edx, 0xffffffff
test eax, eax
je 0x42d02a
mov ecx, dword [eax + 8]
cmp byte [ecx + 4], 0
je 0x42d020
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
test eax, eax
jne 0x42d014
test edx, edx
jge 0x42d02e
push 0
jmp 0x42d04c
cmp edx, 1
jne 0x42d039
push 0x64
push 0xffffffffffffff9c
jmp 0x42d04e
mov ecx, ebx
call fcn.00437c80
fmul dword [0x464900]
call fcn.0045a0cc
push eax
push 0
lea ecx, [esp + 0x70]
call fcn.00406130
mov ecx, dword [edi + 0xd8]
sub esp, 0x10
add ecx, 0xffffffe2
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [edi + 0xd8]
mov dword [esp + 0x7c], 0xbf9b7b
mov dword [esp + 0x80], 0xdcdcdc
mov eax, dword [ebx + 0xec]
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
add eax, ebp
push esi
lea ecx, [esp + 0x7c]
mov dword [edx + 0xc], eax
call fcn.00406220
mov eax, dword [ebx + 0x60]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42d0f2
mov al, byte [ebx + 0xd9]
test al, al
je 0x42d392
lea ecx, [esp + 0x44]
call fcn.0042ff00
mov eax, dword [edi + 0xe0]
sub eax, dword [edi + 0xd8]
lea ecx, [edi + 0x58]
mov byte [esp + 0xa0], 6
mov dword [esp + 0x10], eax
call fcn.00433fd0
cdq
idiv dword [esp + 0x10]
cmp eax, 1
jge 0x42d120
mov eax, 1
jmp 0x42d13f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42d11b
mov ecx, dword [esp + 0xb0]
mov edx, dword [eax + 8]
push ecx
push ebp
push edx
push esi
mov ecx, edi
call fcn.0042b580
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42d0ee
jmp 0x42d0a6
call fcn.004593ce
mov ecx, dword [edi + 0xd8]
mov eax, dword [edi + 0xe0]
sub eax, ecx
lea ecx, [edi + 0x58]
mov dword [esp + 0x10], eax
call fcn.00433fd0
cdq
idiv dword [esp + 0x10]
mov ecx, dword [edi + 0xe0]
push eax
sub ecx, dword [edi + 0xd8]
push 1
push ecx
lea ecx, [esp + 0x50]
call fcn.0042fdf0
sub esp, 0xc
lea eax, [edi + 0x58]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00433fa0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x50]
push edx
call fcn.00424ac0
push 1
sub esp, 0xc
lea eax, [edi + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00433fa0
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.004374a0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42d1ab
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [edi + 0xd8]
cmp ebx, dword [edi + 0xe0]
jge 0x42d37d
lea ecx, [ecx]
lea ecx, [esp + 0x44]
call fcn.00405f00
fld dword [0x4647e0]
mov ecx, dword [edi + 0xd8]
mov edx, ebx
sub edx, ecx
fcomp dword [eax + edx*8 + 4]
fnstsw ax
test ah, 5
jnp 0x42d214
lea ecx, [esp + 0x44]
call fcn.00405f00
mov edx, dword [edi + 0xd8]
mov ecx, ebx
sub ecx, edx
fld dword [eax + ecx*8 + 4]
fld dword [0x464910]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x42d214
fld dword [0x464910]
jmp 0x42d257
lea ecx, [esp + 0x44]
call fcn.00405f00
fld dword [0x4647e0]
mov ecx, dword [edi + 0xd8]
mov edx, ebx
sub edx, ecx
fcomp dword [eax + edx*8 + 4]
fnstsw ax
test ah, 5
jp 0x42d240
fld dword [0x4647e0]
jmp 0x42d257
lea ecx, [esp + 0x44]
call fcn.00405f00
mov edx, dword [edi + 0xd8]
mov ecx, ebx
sub ecx, edx
fld dword [eax + ecx*8 + 4]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xec]
mov dword [esp + 0x1c], eax
cdq
sub eax, edx
sar eax, 1
add eax, ebp
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fild dword [esp + 0x1c]
fmul st(2)
fmul dword [0x4647dc]
fsubp st(1)
call fcn.0045a0cc
fstp st(0)
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.00405f00
fld dword [0x4647e0]
mov edx, dword [edi + 0xd8]
mov ecx, ebx
sub ecx, edx
fcomp dword [eax + ecx*8]
fnstsw ax
test ah, 5
jnp 0x42d2df
lea ecx, [esp + 0x44]
call fcn.00405f00
mov ecx, dword [edi + 0xd8]
mov edx, ebx
sub edx, ecx
fld dword [eax + edx*8]
fld dword [0x464910]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x42d2df
fld dword [0x464910]
jmp 0x42d320
lea ecx, [esp + 0x44]
call fcn.00405f00
fld dword [0x4647e0]
mov edx, dword [edi + 0xd8]
mov ecx, ebx
sub ecx, edx
fcomp dword [eax + ecx*8]
fnstsw ax
test ah, 5
jp 0x42d30a
fld dword [0x4647e0]
jmp 0x42d320
lea ecx, [esp + 0x44]
call fcn.00405f00
mov ecx, dword [edi + 0xd8]
mov edx, ebx
sub edx, ecx
fld dword [eax + edx*8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xec]
mov dword [esp + 0x10], eax
cdq
sub eax, edx
sar eax, 1
add eax, ebp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fild dword [esp + 0x10]
fmul st(2)
fmul dword [0x4647dc]
fsubp st(1)
call fcn.0045a0cc
fstp st(0)
inc eax
push eax
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call sub.MFC71.DLL_CDC::MoveTo
mov edx, dword [esp + 0x14]
push edx
push ebx
mov ecx, esi
call sub.MFC71.DLL_CDC::LineTo
mov eax, dword [edi + 0xe0]
inc ebx
cmp ebx, eax
jl 0x42d1c0
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 5
call fcn.0042ff20
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x120]
test ecx, ecx
je 0x42d4b5
push 0xdcdcdc
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x40]
call sub.MFC71.DLL_CGdiObject::Attach
push 0xdcdcdc
push 1
push 2
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x38]
call sub.MFC71.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x40]
test eax, eax
je 0x42d3e9
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 9
mov ecx, esi
call sub.MFC71.DLL_CDC::SetROP2
mov edx, dword [esp + 0xb4]
mov eax, dword [edx + 0x14]
test eax, eax
mov dword [esp + 0x10], eax
je 0x42d44d
jmp 0x42d410
mov eax, dword [esp + 0x10]
lea ebx, [ebx]
mov eax, dword [eax + 8]
lea ecx, [ebp + 2]
push ecx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call sub.MFC71.DLL_CDC::MoveTo
mov ecx, dword [ebx + 0xec]
mov eax, dword [esp + 0x14]
lea edx, [ecx + ebp - 1]
push edx
push eax
mov ecx, esi
call sub.MFC71.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42d406
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42d460
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 0x30]
test eax, eax
mov dword [esp + 0x10], eax
je 0x42d4b5
jmp 0x42d478
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [ebp + 2]
push ecx
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call sub.MFC71.DLL_CDC::MoveTo
mov edx, dword [ebx + 0xec]
mov ecx, dword [esp + 0x14]
lea eax, [edx + ebp - 1]
push eax
push ecx
mov ecx, esi
call sub.MFC71.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42d474
push 0xd
mov ecx, esi
call sub.MFC71.DLL_CDC::SetROP2
mov ebx, dword [esp + 0xb0]
push ebx
push ebp
push esi
mov ecx, edi
call fcn.0042c160
push ebx
push ebp
push esi
mov ecx, edi
call fcn.0042c570
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov esi, 0x4647f4
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 4
mov dword [esp + 0x3c], esi
call fcn.004594a6
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 3
mov dword [esp + 0x34], esi
call fcn.004594a6
lea ecx, [esp + 0x68]
mov byte [esp + 0xa0], 0
call fcn.00406120
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x24], esi
call fcn.004594a6
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 0x10