Function at 0x4030f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525661
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x566090]
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 0x403412
test edi, edi
je 0x403412
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 0x4031d0
sub edx, dword [ebp - 0x5c]
sar edx, 1
push edx
push ecx
lea ecx, [esi + 0x18]
call fcn.00445880
mov edx, edi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4031f0
sub edx, ecx
lea ecx, [esi + 0x30]
sar edx, 1
push edx
push edi
call fcn.00445880
test ebx, ebx
je 0x40322b
mov edx, ebx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403212
sub edx, ecx
lea ecx, [esi + 0x48]
sar edx, 1
push edx
push ebx
call fcn.00445880
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403230
sub edx, ecx
lea ecx, [esi + 0x60]
sar edx, 1
push edx
push edi
call fcn.00445880
push 0xc
push str.__d___d_
lea ecx, [esi + 0x60]
call fcn.00445020
mov byte [ebp - 0x5c], 0
lea edx, [ebp - 0x60]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.00444270
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.00444270
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x58]
call fcn.00443a40
mov byte [ebp - 4], 0xa
mov edi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4032d6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4032cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403432
push edx
push ecx
call fcn.004fc7e0
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.00445880
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.004440e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00444e70
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00444030
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403372
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403368
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403437
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4033ac
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4033a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403437
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4033e2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4033d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403437
push edx
push ecx
call fcn.004fc7e0
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.004fc7af
mov esp, ebp
pop ebp
ret 0x28
call fcn.0050175f
call fcn.0050175f
int3