Function at 0x40b790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c27f
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xa4], 0
xor eax, eax
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0
push eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
push 0x48da78
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.00403a40
mov dword [esp + 0xa4], 1
xor eax, eax
push 0xa
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0
push str.local_path
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.00403a40
mov byte [esp + 0xa4], 2
xor eax, eax
push 6
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
push str.update
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00403a40
mov byte [esp + 0xa4], 3
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [edi + 0xb0]
call fcn.004243c0
mov byte [esp + 0xa4], 5
cmp dword [esp + 0x28], 8
jb 0x40b8e6
push dword [esp + 0x14]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov byte [esp + 0xa4], 6
cmp dword [esp + 0x40], 8
jb 0x40b918
push dword [esp + 0x2c]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0xa4], 7
cmp dword [esp + 0x58], 8
jb 0x40b94a
push dword [esp + 0x44]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], eax
mov ecx, esi
push eax
mov word [esp + 0x4c], ax
mov word [esi], ax
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
call fcn.004035e0
cmp dword [esi + 0x10], 0
mov dword [esp + 0x5c], 1
je 0x40bbb3
push 4
push str..tmp
mov ecx, esi
call fcn.00406760
xor eax, eax
mov dword [esp + 0x3c], 0
push eax
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x30]
push 0x48da78
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.00403a40
mov byte [esp + 0xa4], 8
xor eax, eax
push 0xe
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
push str.server_version
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00403a40
mov byte [esp + 0xa4], 9
xor eax, eax
push 6
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0
push str.update
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.00403a40
mov byte [esp + 0xa4], 0xa
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [edi + 0xb0]
call fcn.004243c0
mov byte [esp + 0xa4], 0xc
cmp dword [esp + 0x58], 8
jb 0x40ba96
push dword [esp + 0x44]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0xa4], 0xd
cmp dword [esp + 0x28], 8
jb 0x40bac8
push dword [esp + 0x14]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov byte [esp + 0xa4], 0xe
cmp dword [esp + 0x40], 8
jb 0x40bafa
push dword [esp + 0x2c]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x64]
push eax
movdqu xmmword [esp + 0x18], xmm0
movdqu xmmword [esp + 0x30], xmm0
call fcn.00408eb0
test al, al
je 0x40bb55
lea eax, [edi + 0x64]
push eax
lea ecx, [esp + 0x30]
call fcn.00408eb0
test al, al
je 0x40bb55
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.00408d70
test al, al
je 0x40bb66
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40bb7a
mov eax, dword [esi]
jmp 0x40bb7c
mov ecx, esi
call fcn.0040a3d0
test al, al
jne 0x40bb81
mov ecx, esi
call fcn.004066e0
jmp 0x40bb81
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov byte [esp + 0xa4], 7
cmp dword [esp + 0x78], 8
jb 0x40bb9c
push dword [esp + 0x64]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov byte [esp + 0xa4], 0
cmp dword [esp + 0x90], 8
jb 0x40bbd1
push dword [esp + 0x7c]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00461397
add esp, 0x98
ret 4