Function at 0x100389e0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10079968
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
xor ebx, ebx
test byte [0x10093824], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
jne 0x10038a52
or dword [0x10093824], 1
push 0x1007a910
mov dword [0x100937dc], ebx
mov dword [0x100937e0], ebx
mov dword [0x100937e4], ebx
call fcn.10055cf8
add esp, 4
push 0x100937c8
call fcn.100215c0
lea edx, [esp + 0x30]
push edx
call fcn.1002ede0
mov dword [esp + 0x80], ebx
call fcn.100458dd
mov edi, 7
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], edi
test eax, eax
je 0x10038b6d
xor eax, eax
mov word [esp + 0x18], ax
push 0xc
mov eax, str.system64.dat
call fcn.1000a960
mov ecx, esi
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 1
call fcn.1002ee90
mov ebp, 8
mov byte [esp + 0x80], bl
cmp dword [esp + 0x2c], ebp
jb 0x10038ad1
mov edx, dword [esp + 0x18]
push edx
call fcn.10056169
add esp, 4
xor eax, eax
mov word [esp + 0x18], ax
push 0x10
mov eax, str.system64_add.dat
lea esi, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
call fcn.1000a960
mov ecx, esi
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 2
call fcn.1002ee90
mov byte [esp + 0x80], bl
cmp dword [esp + 0x2c], ebp
jb 0x10038b1e
mov edx, dword [esp + 0x18]
push edx
call fcn.10056169
add esp, 4
xor eax, eax
mov word [esp + 0x18], ax
push 0xc
mov eax, str.custom64.dat
lea esi, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
call fcn.1000a960
mov ecx, esi
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 3
call fcn.1002ee90
cmp dword [esp + 0x2c], ebp
jb 0x10038c4d
mov edx, dword [esp + 0x18]
push edx
call fcn.10056169
add esp, 4
jmp 0x10038c4d
xor eax, eax
mov word [esp + 0x18], ax
push 0xa
mov eax, str.system.dat
call fcn.1000a960
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 4
call fcn.1002ee90
mov ebp, 8
mov byte [esp + 0x80], bl
cmp dword [esp + 0x2c], ebp
jb 0x10038bb5
mov edx, dword [esp + 0x18]
push edx
call fcn.10056169
add esp, 4
xor eax, eax
mov word [esp + 0x18], ax
push 0xe
mov eax, str.system_add.dat
lea esi, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
call fcn.1000a960
mov ecx, esi
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 5
call fcn.1002ee90
mov byte [esp + 0x80], bl
cmp dword [esp + 0x2c], ebp
jb 0x10038c02
mov edx, dword [esp + 0x18]
push edx
call fcn.10056169
add esp, 4
xor eax, eax
mov word [esp + 0x18], ax
push 0xa
mov eax, str.custom.dat
lea esi, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
call fcn.1000a960
mov ecx, esi
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 6
call fcn.1002ee90
cmp dword [esp + 0x2c], ebp
jb 0x10038c48
mov edx, dword [esp + 0x18]
push edx
call fcn.10056169
add esp, 4
mov edi, 7
xor eax, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov byte [esp + 0x80], 7
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x40]
jbe 0x10038c73
call fcn.10055ff2
mov edi, dword [esp + 0x30]
mov dword [esp + 0x50], edi
mov ebp, esi
lea ecx, [ecx]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x3c], esi
jbe 0x10038c8f
call fcn.10055ff2
cmp edi, ebx
je 0x10038c99
cmp edi, dword [esp + 0x30]
je 0x10038c9e
call fcn.10055ff2
cmp ebp, esi
je 0x10038d7b
cmp edi, ebx
jne 0x10038cc6
call fcn.10055ff2
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x10038cbb
call fcn.10055ff2
cmp dword [ebp + 0x18], 8
jb 0x10038cca
mov esi, dword [ebp + 4]
jmp 0x10038ccd
mov eax, dword [edi]
jmp 0x10038cb1
lea esi, [ebp + 4]
xor ecx, ecx
cmp cx, word [0x10092aa0]
jne 0x10038cee
push 0x104
push 0x10092aa0
mov ebx, str.cachepatch
call fcn.10045834
xor ebx, ebx
push esi
push 0x10092aa0
push str._s_s
lea esi, [esp + 0x20]
call fcn.100460a6
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 8
call fcn.10008c70
mov byte [esp + 0x80], 7
cmp dword [esp + 0x2c], 8
jb 0x10038d35
mov edx, dword [esp + 0x18]
push edx
call fcn.10056169
add esp, 4
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.10038840
mov eax, dword [esp + 0x58]
add esp, 8
cmp eax, ebx
jne 0x10038d77
call fcn.10055ff2
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x10038d6b
call fcn.10055ff2
mov edi, dword [esp + 0x50]
add ebp, 0x1c
jmp 0x10038c80
mov eax, dword [eax]
jmp 0x10038d61
cmp dword [esp + 0x70], 8
jb 0x10038d8f
mov edx, dword [esp + 0x5c]
push edx
call fcn.10056169
add esp, 4
mov esi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
cmp esi, ebx
je 0x10038dec
mov edi, dword [esp + 0x40]
cmp esi, edi
je 0x10038ddf
add esi, 0x18
cmp dword [esi], 8
jb 0x10038dc6
mov ecx, dword [esi - 0x14]
push ecx
call fcn.10056169
add esp, 4
xor edx, edx
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], dx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x10038db5
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10056169
add esp, 4
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.10056169
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10055232
add esp, 0x70
ret