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

Disassembly:
push 0xffffffffffffffff
push 0x45ffa1
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, 0x466a94
push edi
mov edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
push 0x465798
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.004060e0
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.004203d0
lea ecx, [esp + 0x84]
mov ebx, eax
push ecx
mov ecx, ebp
mov dword [esp + 0x24], ebx
call fcn.0041fa70
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.0041fdc0
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.0042b470
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 0x42d4c7
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 0x42d52a
mov ecx, dword [eax + 8]
cmp byte [ecx + 4], 0
je 0x42d520
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
test eax, eax
jne 0x42d514
test edx, edx
jge 0x42d52e
push 0
jmp 0x42d54c
cmp edx, 1
jne 0x42d539
push 0x64
push 0xffffffffffffff9c
jmp 0x42d54e
mov ecx, ebx
call fcn.004384b0
fmul dword [0x465928]
call fcn.0045b73c
push eax
push 0
lea ecx, [esp + 0x70]
call fcn.00406170
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.00406270
mov eax, dword [ebx + 0x60]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42d5f2
mov al, byte [ebx + 0xd9]
test al, al
je 0x42d892
lea ecx, [esp + 0x44]
call fcn.00430630
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.00434720
cdq
idiv dword [esp + 0x10]
cmp eax, 1
jge 0x42d620
mov eax, 1
jmp 0x42d63f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42d61b
mov ecx, dword [esp + 0xb0]
mov edx, dword [eax + 8]
push ecx
push ebp
push edx
push esi
mov ecx, edi
call fcn.0042ba80
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42d5ee
jmp 0x42d5a6
call fcn.0045aa4e
mov ecx, dword [edi + 0xd8]
mov eax, dword [edi + 0xe0]
sub eax, ecx
lea ecx, [edi + 0x58]
mov dword [esp + 0x10], eax
call fcn.00434720
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.00430540
sub esp, 0xc
lea eax, [edi + 0x58]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004346f0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x50]
push edx
call fcn.00424ef0
push 1
sub esp, 0xc
lea eax, [edi + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004346f0
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.00437cd0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42d6ab
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 0x42d87d
lea ecx, [ecx]
lea ecx, [esp + 0x44]
call fcn.0041bac0
fld dword [0x465808]
mov ecx, dword [edi + 0xd8]
mov edx, ebx
sub edx, ecx
fcomp dword [eax + edx*8 + 4]
fnstsw ax
test ah, 5
jnp 0x42d714
lea ecx, [esp + 0x44]
call fcn.0041bac0
mov edx, dword [edi + 0xd8]
mov ecx, ebx
sub ecx, edx
fld dword [eax + ecx*8 + 4]
fld dword [0x465938]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x42d714
fld dword [0x465938]
jmp 0x42d757
lea ecx, [esp + 0x44]
call fcn.0041bac0
fld dword [0x465808]
mov ecx, dword [edi + 0xd8]
mov edx, ebx
sub edx, ecx
fcomp dword [eax + edx*8 + 4]
fnstsw ax
test ah, 5
jp 0x42d740
fld dword [0x465808]
jmp 0x42d757
lea ecx, [esp + 0x44]
call fcn.0041bac0
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 [0x465804]
fsubp st(1)
call fcn.0045b73c
fstp st(0)
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.0041bac0
fld dword [0x465808]
mov edx, dword [edi + 0xd8]
mov ecx, ebx
sub ecx, edx
fcomp dword [eax + ecx*8]
fnstsw ax
test ah, 5
jnp 0x42d7df
lea ecx, [esp + 0x44]
call fcn.0041bac0
mov ecx, dword [edi + 0xd8]
mov edx, ebx
sub edx, ecx
fld dword [eax + edx*8]
fld dword [0x465938]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x42d7df
fld dword [0x465938]
jmp 0x42d820
lea ecx, [esp + 0x44]
call fcn.0041bac0
fld dword [0x465808]
mov edx, dword [edi + 0xd8]
mov ecx, ebx
sub ecx, edx
fcomp dword [eax + ecx*8]
fnstsw ax
test ah, 5
jp 0x42d80a
fld dword [0x465808]
jmp 0x42d820
lea ecx, [esp + 0x44]
call fcn.0041bac0
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 [0x465804]
fsubp st(1)
call fcn.0045b73c
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 0x42d6c0
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 5
call fcn.00430650
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x120]
test ecx, ecx
je 0x42d9b5
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 0x42d8e9
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 0x42d94d
jmp 0x42d910
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 0x42d906
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42d960
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 0x42d9b5
jmp 0x42d978
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 0x42d974
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.0042c660
push ebx
push ebp
push esi
mov ecx, edi
call fcn.0042ca70
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov esi, 0x46581c
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 4
mov dword [esp + 0x3c], esi
call fcn.0045ab26
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 3
mov dword [esp + 0x34], esi
call fcn.0045ab26
lea ecx, [esp + 0x68]
mov byte [esp + 0xa0], 0
call fcn.00406160
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x24], esi
call fcn.0045ab26
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 0x10