Function at 0x606538
Capabilities:
Create process on windows
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405130
xor eax, eax
push ebp
push 0x6067b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0047eca8
add dword [ebp - 0x18], ebx
add dword [ebp - 0x14], ebx
mov eax, ebx
add eax, eax
sub dword [ebp - 0x10], eax
sub dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x30]
mov dl, 1
mov eax, dword [0x43b98c]
call fcn.0043df8c
mov edi, eax
mov eax, edi
mov edx, dword [0x43b98c]
call fcn.004040a0
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047f228
mov edx, 0xc8
mov eax, ebx
call fcn.0047ea9c
mov edx, dword [esi + 0x48]
sub edx, dword [ebx + 0x48]
sar edx, 1
jns 0x6065c5
adc edx, 0
add edx, dword [esi + 0x40]
mov eax, ebx
call fcn.0047ea50
mov edx, dword [esi + 0x44]
add edx, 0x64
mov eax, ebx
call fcn.0047ea74
xor edx, edx
mov eax, ebx
call fcn.0043e3dc
mov edx, 0xffffff
mov eax, ebx
call fcn.0047f4a8
mov edx, 0xc
mov eax, dword [ebx + 0x68]
call fcn.0042a5c0
mov edx, 0xff
mov eax, dword [ebx + 0x68]
call fcn.0042a320
mov dx, 0xffeb
mov eax, ebx
call fcn.0047f514
mov edx, 0x6067d0
mov eax, ebx
call fcn.0047f338
mov edx, dword [esi + 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov dl, 1
mov eax, ebx
call fcn.0047f228
mov eax, dword [ebp - 4]
mov dword [ebx + 0x124], eax
mov dword [ebx + 0x120], 0x6064b0
mov edx, dword [ebp - 8]
mov eax, 0x6067ec
call fcn.00405284
test eax, eax
jle 0x606775
mov eax, dword [ebp - 4]
push eax
push 0x6064b0
mov eax, dword [edi + 0x40]
sub eax, 0x64
push eax
mov eax, dword [edi + 0x44]
add eax, 0x14
push eax
mov eax, dword [edi + 0x48]
add eax, 0xc8
push eax
mov eax, dword [edi + 0x4c]
push eax
mov ecx, dword [esi + 0x30]
mov dl, 1
mov eax, dword [0x5c6630]
call fcn.005c6ad4
mov ebx, eax
mov edx, 0xffffff
mov eax, ebx
call fcn.0047f4a8
mov eax, dword [ebx + 0x68]
mov edx, 0x16
call fcn.0042a5c0
mov eax, dword [ebx + 0x68]
mov edx, 0x6067f8
call fcn.0042a548
mov eax, dword [ebx + 0x68]
mov edx, 0xff0000
call fcn.0042a320
mov dx, 0xffeb
mov eax, ebx
call fcn.0047f514
mov dl, 2
mov eax, ebx
call fcn.00472a78
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1f0]
mov eax, 0x60680c
call fcn.00405284
mov edx, eax
add edx, 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov ecx, 0x7fffffff
call fcn.004051a0
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.0047f338
mov eax, dword [ebp - 4]
add eax, 0x1f0
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1f0]
mov eax, 0x60680c
call fcn.00405284
mov ecx, eax
dec ecx
dec ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov edx, 1
call fcn.004051a0
mov edx, dword [esi + 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov edx, dword [edi + 0x44]
add edx, 0x50
mov eax, edi
call fcn.0047ea74
mov eax, edi
mov edx, dword [0x43b98c]
call fcn.004040a0
mov edx, 0x60681c
call fcn.0047f338
jmp 0x60679a
mov eax, 0xa
call fcn.0052a444
push 3
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405140
push eax
push 0x606828
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6067bf
lea eax, [ebp - 0x1c]
call fcn.00404c80
lea eax, [ebp - 8]
call fcn.00404c80
ret