Function at 0x403180
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4621
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x534090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edi
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 1
mov dword [esi + 0x18], eax
xor edx, edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], dx
mov dword [esi + 0x30], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], 7
mov word [esi + 0x30], dx
mov dword [esi + 0x48], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], dx
mov dword [esi + 0x60], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], 7
mov word [esi + 0x60], dx
mov byte [ebp - 4], 9
mov word [esi + 0x88], dx
mov dword [esi + 0x8c], 4
test ecx, ecx
je 0x4034a2
test edi, edi
je 0x4034a2
mov eax, dword [ebp + 8]
mov edx, ecx
mov dword [esi + 0x8c], eax
lea eax, [edx + 2]
mov dword [ebp - 0x5c], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403260
sub edx, dword [ebp - 0x5c]
sar edx, 1
push edx
push ecx
lea ecx, [esi + 0x18]
call fcn.0043add0
mov edx, edi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403280
sub edx, ecx
lea ecx, [esi + 0x30]
sar edx, 1
push edx
push edi
call fcn.0043add0
test ebx, ebx
je 0x4032bb
mov edx, ebx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4032a2
sub edx, ecx
lea ecx, [esi + 0x48]
sar edx, 1
push edx
push ebx
call fcn.0043add0
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4032c0
sub edx, ecx
lea ecx, [esi + 0x60]
sar edx, 1
push edx
push edi
call fcn.0043add0
push 0xc
push 0x511520
lea ecx, [esi + 0x60]
call fcn.0043a570
mov byte [ebp - 0x5c], 0
lea edx, [ebp - 0x60]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.00439740
add esp, 4
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x64]
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x60]
call fcn.00439740
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x58]
call fcn.00438f10
mov byte [ebp - 4], 0xa
mov edi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403366
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40335c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4034c2
push edx
push ecx
call fcn.004cb66f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x68], str.json
mov dword [ebp - 0x40], eax
push 4
push str.json
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xa
call fcn.0043add0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.004395b0
push eax
lea ecx, [ebp - 0x28]
call fcn.0043a3c0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00439500
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403402
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4033f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4034c7
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40343c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403432
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4034c7
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x403472
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4034c7
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x24]
mov dword [esi + 0x7c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x80], ecx
mov cl, byte [ebp + 0x28]
mov byte [esi + 0x88], cl
mov cl, byte [ebp + 0x2c]
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], edx
mov byte [esi + 0x89], cl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret 0x28
call fcn.004d05ef
call fcn.004d05ef
int3