Function at 0x438880
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e87cc
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x65d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x454], ecx
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x108]
sub ecx, dword [eax + 0x30]
cmp ecx, 0x2710
ja 0x4388e8
mov edx, dword [ebp - 0x454]
mov eax, dword [ebp - 0x108]
cmp eax, dword [edx + 0x30]
jae 0x4389a3
push 1
push 2
lea ecx, [ebp - 0x20c]
call fcn.0040b040
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0x62530c
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x3d0]
push edx
lea ecx, [ebp - 0x20c]
call fcn.004094f0
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
call fcn.0040be10
push eax
push 0x625320
push 0xed
push 0x625330
push 0x801
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3d0]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c]
call fcn.00409dd0
mov ecx, dword [ebp - 0x454]
mov edx, dword [ebp - 0x108]
mov dword [ecx + 0x30], edx
push 0x64
call fcn.00507ad0
add esp, 4
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 0x68]
push ecx
push 0
push 0x93f
mov ecx, dword [ebp - 0x454]
add ecx, 0x3c
call fcn.00509460
push eax
lea ecx, [ebp - 0x104]
call fcn.004ddd80
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040bee0
mov byte [ebp - 4], 3
push 1
push 2
lea ecx, [ebp - 0x18c]
call fcn.0040b040
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x454]
cmp dword [edx + 0x6c], 0
je 0x438a4b
push 0x625340
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 0x6c]
push ecx
push 0x625344
push str.ptopreqflag
lea edx, [ebp - 0x18c]
push edx
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x18c]
call fcn.004094f0
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x464], ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x40c]
push edx
lea ecx, [ebp - 0x18c]
call fcn.004094f0
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x464]
call fcn.0041ec70
push eax
mov ecx, dword [ebp - 0x46c]
call fcn.0040be10
push eax
push 0xb
lea ecx, [ebp - 0x104]
call fcn.004de9a0
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x3d1], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40c]
call fcn.0040bf30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3f0]
call fcn.0040bf30
movzx edx, byte [ebp - 0x3d1]
test edx, edx
je 0x438b78
lea ecx, [ebp - 0x104]
call fcn.004231a0
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00526500
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2ac]
push eax
call fcn.00421c90
add esp, 4
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0041bd90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2b0]
call fcn.0043ead0
test eax, eax
je 0x438b55
lea ecx, [ebp - 0x2b0]
call fcn.0042bdd0
mov ecx, eax
call fcn.00421f00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2b0]
call fcn.004b09e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.00526630
jmp 0x438ca4
push 1
push 2
lea ecx, [ebp - 0x334]
call fcn.0040b040
mov byte [ebp - 4], 9
push 0x625354
lea ecx, [ebp - 0x334]
push ecx
call fcn.00409b60
add esp, 8
lea edx, [ebp - 0x428]
push edx
lea ecx, [ebp - 0x334]
call fcn.004094f0
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x474]
call fcn.0040be10
push eax
push 0x625368
push 0x106
push 0x625378
push 0x15
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x428]
call fcn.0040bf30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x334]
call fcn.00409dd0
push 1
push 2
lea ecx, [ebp - 0x3b4]
call fcn.0040b040
mov byte [ebp - 4], 0xb
push 0x625388
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.00409b60
add esp, 8
lea edx, [ebp - 0x444]
push edx
lea ecx, [ebp - 0x3b4]
call fcn.004094f0
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x47c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x47c]
call fcn.0040be10
push eax
push str.CP2PStream::Svc
push 0x106
push str..CmdP2P.cpp
push 0x11
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x444]
call fcn.0040bf30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b4]
call fcn.00409dd0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x454]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x44c], ecx
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0
je 0x438cf8
push 1
mov eax, dword [ebp - 0x448]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x480], eax
jmp 0x438d02
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x450], 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.00409dd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.0041fcf0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b1988
mov esp, ebp
pop ebp
ret