Function at 0x1d58a70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1d750e5
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x1dbb89c]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1dbb89c]
xor eax, esp
push eax
lea eax, [esp + 0x360]
mov dword fs:[0], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x380]
mov eax, dword [esp + 0x37c]
mov edx, dword [esp + 0x384]
mov edi, dword [esp + 0x378]
mov esi, dword [esp + 0x370]
mov dword [esp + 0x30], ecx
push 0x1d7d070
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
call fcn.01d27240
mov dword [esp + 0x368], 0
push 0xffffffffffffffff
push 0
lea ebp, [esi + 0x64]
push ebp
mov ecx, eax
call fcn.01d27060
mov eax, dword [eax]
push 2
lea ecx, [esp + 0x3c]
push ecx
push 8
push 0
push eax
push 0x80000002
call fcn.01ca1320
add esp, 0x18
mov esi, eax
mov dword [esp + 0x368], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.01d26680
test esi, esi
je 0x1d58b4d
push esi
call dword [0x1da3b34]
xor eax, eax
jmp 0x1d5900c
lea ecx, [esp + 0x18]
call fcn.01d110a0
mov dword [esp + 0x368], 1
xor ebx, ebx
mov ecx, dword [esp + 0x38]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x168]
push eax
push ebx
push ecx
mov dword [esp + 0x60], 0x104
call fcn.01ca3870
mov esi, eax
add esp, 0x20
mov dword [esp + 0x14], esi
test esi, esi
jne 0x1d58cfe
push 0xffffffffffffffff
push eax
push ebp
lea ecx, [esp + 0x5c]
call fcn.01d272e0
mov byte [esp + 0x368], 2
cmp dword [esp + 0x54], esi
je 0x1d58bc7
push 0xffffffffffffffff
push 0x1d789cc
lea ecx, [esp + 0x58]
call fcn.01d26f00
push 0xffffffffffffffff
lea edx, [esp + 0x158]
push edx
lea ecx, [esp + 0x58]
call fcn.01d26f00
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.01d500c0
test al, al
je 0x1d58ce1
lea edx, [esp + 0x154]
push edx
call fcn.01d2f2e0
cmp word [eax], 0x2e
jne 0x1d58c10
add eax, 2
jmp 0x1d58c12
xor eax, eax
cmp dword [esp + 0xf8], 0
jne 0x1d58c2b
test byte [esp + 0x374], 1
jne 0x1d58c39
jmp 0x1d58ced
test byte [esp + 0x374], 2
je 0x1d58ced
test edi, edi
je 0x1d58c57
test eax, eax
je 0x1d58ced
push eax
push edi
call fcn.01d38ba2
add esp, 8
test eax, eax
jne 0x1d58ced
push 0x108
call fcn.01c60170
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x368], 3
test eax, eax
je 0x1d58c7f
mov ecx, eax
call fcn.01d49990
mov edi, eax
jmp 0x1d58c81
xor edi, edi
mov byte [esp + 0x368], 2
lea esi, [edi + 0x64]
lea eax, [esp + 0x50]
mov dword [esp + 0x34], edi
cmp esi, eax
je 0x1d58cbb
mov ecx, dword [esp + 0x50]
neg ecx
sbb ecx, ecx
neg ecx
dec ecx
push ecx
mov ecx, esi
call fcn.01d26c20
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.01d27060
mov ecx, 0x18
lea esi, [esp + 0xf4]
lea eax, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x1c]
call fcn.01cd70c0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
jmp 0x1d58ced
call dword [0x1da3abc]
mov esi, eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x368], 1
lea ecx, [esp + 0x50]
call fcn.01d26680
inc ebx
test esi, esi
je 0x1d58b63
cmp esi, 0x103
jne 0x1d58d15
xor esi, esi
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x38]
push ecx
call fcn.01c81e30
test esi, esi
jne 0x1d58f1d
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp esi, dword [esp + 0x28]
jbe 0x1d58d38
call fcn.01d38f43
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x24], edi
jbe 0x1d58d4f
call fcn.01d38f43
test ebp, ebp
je 0x1d58d59
cmp ebp, dword [esp + 0x18]
je 0x1d58d5e
call fcn.01d38f43
cmp esi, edi
je 0x1d58dbc
test ebp, ebp
jne 0x1d58db2
call fcn.01d38f43
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1d58d77
call fcn.01d38f43
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
push eax
call fcn.01d2f050
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d58d85
sub eax, edx
sar eax, 1
lea ebx, [ebx + eax*2 + 0xe]
test ebp, ebp
jne 0x1d58db7
call fcn.01d38f43
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1d58dad
call fcn.01d38f43
add esi, 4
jmp 0x1d58d40
mov eax, dword [ebp]
jmp 0x1d58d6d
mov eax, dword [ebp]
jmp 0x1d58da3
mov eax, dword [esp + 0x48]
cmp ebx, dword [eax]
mov dword [eax], ebx
ja 0x1d58f15
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov eax, ecx
sub eax, esi
sar eax, 2
mov dword [edx], eax
mov edx, dword [esp + 0x30]
lea eax, [eax + eax*2]
lea ebx, [edx + eax*4]
cmp esi, ecx
jbe 0x1d58df2
call fcn.01d38f43
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
add eax, 8
mov edi, esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x24], esi
jbe 0x1d58e12
call fcn.01d38f43
test ebp, ebp
je 0x1d58e1c
cmp ebp, dword [esp + 0x18]
je 0x1d58e21
call fcn.01d38f43
cmp edi, esi
je 0x1d58ff3
test ebp, ebp
jne 0x1d58ef8
call fcn.01d38f43
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x1d58e42
call fcn.01d38f43
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
mov dword [edx - 4], ecx
test ebp, ebp
jne 0x1d58f00
call fcn.01d38f43
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x1d58e64
call fcn.01d38f43
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [eax - 8], ebx
test ebp, ebp
jne 0x1d58f08
call fcn.01d38f43
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x1d58e8b
call fcn.01d38f43
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push eax
call fcn.01d2f050
mov esi, eax
lea edx, [eax + 2]
jmp 0x1d58ea0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d58ea0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ebx
call fcn.01d398c0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d58ec3
sub eax, edx
sar eax, 1
lea ebx, [ebx + eax*2 + 2]
test ebp, ebp
jne 0x1d58f10
call fcn.01d38f43
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x1d58eeb
call fcn.01d38f43
add edi, 4
add dword [esp + 0x14], 0xc
jmp 0x1d58e03
mov eax, dword [ebp]
jmp 0x1d58e38
mov eax, dword [ebp]
jmp 0x1d58e5a
mov eax, dword [ebp]
jmp 0x1d58e81
mov eax, dword [ebp]
jmp 0x1d58ee1
mov dword [esp + 0x14], 0x7a
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
jbe 0x1d58f2c
call fcn.01d38f43
mov edi, dword [esp + 0x18]
mov ebp, esi
xor ebx, ebx
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x24], esi
jbe 0x1d58f43
call fcn.01d38f43
cmp edi, ebx
je 0x1d58f4d
cmp edi, dword [esp + 0x18]
je 0x1d58f52
call fcn.01d38f43
cmp ebp, esi
je 0x1d58fa4
cmp edi, ebx
jne 0x1d58f9c
call fcn.01d38f43
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x1d58f6b
call fcn.01d38f43
mov esi, dword [ebp]
cmp esi, ebx
je 0x1d58f82
mov ecx, esi
call fcn.01d499f0
push esi
call fcn.01c60200
add esp, 4
cmp edi, ebx
jne 0x1d58fa0
call fcn.01d38f43
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x1d58f97
call fcn.01d38f43
add ebp, 4
jmp 0x1d58f34
mov eax, dword [edi]
jmp 0x1d58f61
mov eax, dword [edi]
jmp 0x1d58f8d
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x1da3b34]
mov dword [esp + 0x368], 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1d58fcb
push eax
call fcn.01c60200
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x368], 0xffffffff
mov edx, dword [esp + 0x18]
push edx
call fcn.01c60200
add esp, 4
xor eax, eax
jmp 0x1d5900c
mov dword [esp + 0x368], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.01c577d0
mov eax, 1
mov ecx, dword [esp + 0x360]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.01d389aa
add esp, 0x358
ret 0x18