Function at 0x437780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e77bc
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x65b4e4]
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 0x4377e8
mov edx, dword [ebp - 0x454]
mov eax, dword [ebp - 0x108]
cmp eax, dword [edx + 0x30]
jae 0x4378a3
push 1
push 2
lea ecx, [ebp - 0x20c]
call fcn.0040b160
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0x6241ac
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x3d0]
push edx
lea ecx, [ebp - 0x20c]
call fcn.00409610
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.0040bf30
push eax
push 0x6241c0
push 0xed
push 0x6241d0
push 0x801
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3d0]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c]
call fcn.00409ef0
mov ecx, dword [ebp - 0x454]
mov edx, dword [ebp - 0x108]
mov dword [ecx + 0x30], edx
push 0x64
call fcn.00506ab0
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.00508440
push eax
lea ecx, [ebp - 0x104]
call fcn.004dcc40
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040c000
mov byte [ebp - 4], 3
push 1
push 2
lea ecx, [ebp - 0x18c]
call fcn.0040b160
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x454]
cmp dword [edx + 0x6c], 0
je 0x43794b
push 0x6241e0
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 0x6c]
push ecx
push 0x6241e4
push str.ptopreqflag
lea edx, [ebp - 0x18c]
push edx
call fcn.00409c80
add esp, 8
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00409610
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.00409610
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.004068e0
push eax
mov ecx, dword [ebp - 0x46c]
call fcn.0040bf30
push eax
push 0xb
lea ecx, [ebp - 0x104]
call fcn.004dd860
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x3d1], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40c]
call fcn.0040c050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3f0]
call fcn.0040c050
movzx edx, byte [ebp - 0x3d1]
test edx, edx
je 0x437a78
lea ecx, [ebp - 0x104]
call fcn.00422690
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00525560
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2ac]
push eax
call fcn.00421180
add esp, 4
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00487ae0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2b0]
call fcn.0041b290
test eax, eax
je 0x437a55
lea ecx, [ebp - 0x2b0]
call fcn.00434fa0
mov ecx, eax
call fcn.004213f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2b0]
call fcn.004d7120
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.00525690
jmp 0x437ba4
push 1
push 2
lea ecx, [ebp - 0x334]
call fcn.0040b160
mov byte [ebp - 4], 9
push 0x6241f4
lea ecx, [ebp - 0x334]
push ecx
call fcn.00409c80
add esp, 8
lea edx, [ebp - 0x428]
push edx
lea ecx, [ebp - 0x334]
call fcn.00409610
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.0040bf30
push eax
push 0x624208
push 0x106
push 0x624218
push 0x15
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x428]
call fcn.0040c050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x334]
call fcn.00409ef0
push 1
push 2
lea ecx, [ebp - 0x3b4]
call fcn.0040b160
mov byte [ebp - 4], 0xb
push 0x624228
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.00409c80
add esp, 8
lea edx, [ebp - 0x444]
push edx
lea ecx, [ebp - 0x3b4]
call fcn.00409610
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.0040bf30
push eax
push str.CP2PStream::Svc
push 0x106
push str..CmdP2P.cpp
push 0x11
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x444]
call fcn.0040c050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b4]
call fcn.00409ef0
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 0x437bf8
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 0x437c02
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x450], 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.00409ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.0041f1c0
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.005b0968
mov esp, ebp
pop ebp
ret