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

Disassembly:
push 0xffffffffffffffff
push 0x61b0b6
mov eax, dword fs:[0]
push eax
sub esp, 0x8c4
mov eax, dword [0x6e377c]
xor eax, esp
mov dword [esp + 0x8c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x8d8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x2c]
xor esi, esi
mov dword [esp + 0x30], edi
test eax, eax
je 0x5b0834
mov esi, dword [eax + 0x114]
test esi, esi
jne 0x5b085e
mov ecx, dword [0x6f2e50]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
test eax, eax
je 0x5b085e
mov ecx, dword [0x6f2e50]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
mov esi, dword [eax + 0x114]
xor eax, eax
mov word [0x6f7e60], ax
mov eax, dword [edi + 0xcc]
mov edx, eax
xor ecx, ecx
shr edx, 4
mov word [esp + 0xc8], cx
mov dword [esp + 0x1c], 4
test dl, 1
je 0x5b0890
mov dword [esp + 0x1c], 0x1804
cmp byte [edi + 0x1c8], 0
je 0x5b08a1
or dword [esp + 0x1c], 0x880020
mov ecx, eax
shr ecx, 5
test cl, 1
je 0x5b08b3
or dword [esp + 0x1c], 0x80200
mov edx, eax
shr edx, 7
test dl, 1
jne 0x5b08c2
or dword [esp + 0x1c], 8
shr eax, 2
test al, 1
je 0x5b08ce
or dword [esp + 0x1c], 2
push 0x64
lea eax, [esp + 0x48]
push 0
push eax
call fcn.005b79e0
mov ecx, dword [0x6e1960]
mov edx, dword [edi + 0x1a0]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x6db93c]
lea eax, [esp + 0xd4]
add esp, 0xc
mov dword [esp + 0x48], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x406
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0x1a4]
mov ebp, dword [edx - 8]
add edi, 0x1a4
push ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x8e4], 0
mov dword [esp + 0x2c], edi
call fcn.0050f170
xor esi, esi
test ebp, ebp
jbe 0x5b09aa
jmp 0x5b0948
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.0050f090
mov eax, dword [edi]
movzx ebx, word [eax + esi*2]
movzx eax, bx
cmp eax, 0x2f
je 0x5b0964
cmp eax, 0x5c
je 0x5b0969
jmp 0x5b0999
mov ebx, 0x5c
lea edi, [ebp - 1]
cmp esi, edi
jae 0x5b0999
mov ecx, dword [esp + 0x28]
call fcn.0050f090
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
movzx eax, word [edx + esi*2 + 2]
cmp ax, 0x5c
je 0x5b0990
cmp ax, 0x2f
jne 0x5b0999
test esi, esi
jbe 0x5b0999
inc esi
cmp esi, edi
jb 0x5b0970
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.0050fd80
inc esi
cmp esi, ebp
jb 0x5b0944
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
push 0
lea ecx, [esp + 0xac]
mov dword [esp + 0x74], eax
mov dword [esp + 0x8c], 0x5b04f0
call fcn.0050ee50
push 0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x8e4], 1
call fcn.0050ee50
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [ebx + 0x1b0]
push ecx
mov byte [esp + 0x8ec], 2
call fcn.0052ccd0
mov edi, eax
mov eax, dword [0x6db93c]
add esp, 0xc
mov dword [esp + 0x20], eax
xor esi, esi
mov byte [esp + 0x8e0], 3
test edi, edi
jbe 0x5b0a8f
lea ecx, [ecx]
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.005101f0
push 1
push 0x660fd8
push 1
lea ecx, [esp + 0x2c]
call fcn.005101f0
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.005101f0
push 1
push 0x660fd8
push 1
lea ecx, [esp + 0x2c]
call fcn.005101f0
inc esi
cmp esi, edi
jb 0x5b0a30
mov eax, dword [esp + 0x20]
xor esi, esi
cmp dword [eax - 8], esi
jbe 0x5b0abd
movzx ecx, word [eax + esi*2]
cmp cx, 0x7c
jne 0x5b0ab7
lea ecx, [esp + 0x20]
call fcn.0050f090
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x20]
inc esi
cmp esi, dword [eax - 8]
jb 0x5b0a96
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x1b4]
inc eax
lea ebp, [ebx + 0x1ac]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp]
push 0xfffd
push eax
push 0x6f7e60
mov dword [esp + 0x44], ebp
call fcn.005c0af5
mov edx, dword [0x6db93c]
xor ecx, ecx
add esp, 0xc
mov word [0x717e5a], cx
mov dword [esp + 0x60], 0x6f7e60
mov dword [esp + 0x64], 0xfffe
mov dword [esp + 0x34], edx
mov eax, dword [ebx + 0xcc]
shr eax, 1
mov byte [esp + 0x8e0], 4
test al, 1
je 0x5b0caf
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax - 1]
test eax, eax
jle 0x5b0b6c
mov edi, eax
lea esp, [esp]
test edx, edx
je 0x5b0b61
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b0b50
sub eax, esi
sar eax, 1
jmp 0x5b0b63
xor eax, eax
sub edi, 1
lea edx, [edx + eax*2 + 2]
jne 0x5b0b40
test edx, edx
jne 0x5b0b75
mov edx, 0x683698
mov ecx, dword [0x63dcd0]
push ecx
push 0
push edx
lea ecx, [esp + 0x24]
call fcn.0050fcd0
mov edx, dword [0x63dcd0]
push edx
push 0
push 0x67860c
lea ecx, [esp + 0x30]
mov byte [esp + 0x8ec], 5
call fcn.0050fcd0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
mov bl, 6
push edx
mov byte [esp + 0x8ec], bl
call fcn.005a6340
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8e4], 7
call fcn.0050f610
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5b0bfb
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b0bfb
call fcn.0050ec00
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 5
cmp eax, 0xffffffff
je 0x5b0c1e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b0c1e
call fcn.0050ec00
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 4
cmp eax, 0xffffffff
je 0x5b0c41
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b0c41
call fcn.0050ec00
push 0
push 0x660fd0
lea ecx, [esp + 0x3c]
call fcn.00510570
test al, al
je 0x5b0cab
mov eax, dword [0x63dcd0]
push eax
push 2
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call fcn.005104b0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8e4], 8
call fcn.0050f610
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 4
cmp eax, 0xffffffff
je 0x5b0ca0
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b0ca0
call fcn.0050ec00
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x40]
push eax
call fcn.0052cc40
mov ecx, dword [ebx + 0xcc]
push ecx
lea esi, [esp + 0x2c]
lea eax, [esp + 0x4c]
mov byte [esp + 0x8e8], 9
call fcn.005b03f0
add esp, 8
mov byte [esp + 0x17], al
test al, al
jne 0x5b0d82
cmp dword [esp + 0x24], 0x3002
jne 0x5b0d20
mov eax, dword [esp + 0x60]
cmp word [eax], 0
je 0x5b119a
mov ebx, dword [esp + 0x30]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebx + 0xcc]
push eax
lea eax, [esp + 0x48]
call fcn.005b03f0
add esp, 4
mov byte [esp + 0x17], al
test al, al
jne 0x5b0d7e
cmp dword [esp + 0x24], 1
jne 0x5b119a
mov eax, 0x4c
cmp dword [esp + 0x44], eax
je 0x5b119a
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 0xcc]
mov dword [esp + 0x44], eax
push ecx
lea esi, [esp + 0x28]
lea eax, [esp + 0x48]
call fcn.005b03f0
add esp, 4
mov byte [esp + 0x17], al
test al, al
jne 0x5b0d6c
cmp dword [esp + 0x24], 0
jne 0x5b119a
mov edx, dword [esp + 0x44]
mov dword [0x6e1960], edx
test al, al
je 0x5b119a
mov ebp, dword [esp + 0x38]
test byte [esp + 0x1c], 8
je 0x5b0d96
lea eax, [esp + 0x40]
push eax
call fcn.0052c6d0
add esp, 4
lea ecx, [ebx + 0x1b8]
mov dword [esp + 0x24], ecx
call fcn.0050fab0
mov ecx, dword [ebx + 0xcc]
shr ecx, 5
test cl, 1
je 0x5b0f65
movzx edx, word [esp + 0x7c]
cmp word [edx*2 + 0x6f7e5e], 0
jne 0x5b0f65
mov ebp, dword [esp + 0x28]
push 0x6f7e60
mov ecx, ebp
call fcn.0050fe00
movzx esi, word [esp + 0x7c]
mov edi, dword [esp + 0x38]
lea eax, [esi*2 + 0x6f7e60]
push eax
mov ecx, edi
call fcn.0050fe00
mov ebx, dword [esp + 0x24]
push 1
push edi
mov ecx, ebx
call fcn.00510030
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
lea edi, [esi + eax + 1]
cmp word [edi*2 + 0x6f7e60], 0
lea esi, [edi*2 + 0x6f7e60]
je 0x5b0ead
mov eax, esi
test esi, esi
jne 0x5b0e2b
mov eax, 0x683698
mov edx, dword [0x63dcd0]
push edx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0050fcd0
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x8e8], 0xa
call fcn.00510030
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x5b0e77
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b0e77
call fcn.0050ec00
test esi, esi
je 0x5b0e91
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b0e80
sub eax, edx
sar eax, 1
jmp 0x5b0e93
xor eax, eax
lea edi, [edi + eax + 1]
cmp word [edi*2 + 0x6f7e60], 0
lea esi, [edi*2 + 0x6f7e60]
jne 0x5b0e20
mov eax, dword [ebp]
cmp dword [eax - 8], 0
jne 0x5b0ec2
mov ecx, dword [0x6db93c]
mov dword [esp + 0x28], ecx
jmp 0x5b0ed2
mov dword [esp + 0x28], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x5b0ed2
inc ecx
mov dword [eax - 0xc], ecx
mov edx, dword [ebp]
mov esi, dword [edx - 8]
mov bl, 0xb
mov ecx, ebp
mov byte [esp + 0x8e0], bl
call fcn.0050f090
mov eax, dword [ebp]
cmp word [eax + esi*2 - 2], 0x5c
je 0x5b0f00
push 0x5c
push 1
lea ecx, [esp + 0x30]
call fcn.0050fd80
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00510b30
add esp, 0xc
mov esi, dword [esp + 0x30]
lea ecx, [esi + 0x1a8]
push eax
mov byte [esp + 0x8e4], 0xc
call fcn.0050f610
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5b0f51
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b0f51
call fcn.0050ec00
mov ecx, dword [esp + 0x5c]
dec ecx
mov dword [esi + 0x1b4], ecx
mov ecx, dword [esp + 0x28]
jmp 0x5b117b
mov eax, dword [esp + 0x5c]
mov cx, word [esp + 0x7e]
lea edx, [eax - 1]
mov dword [ebx + 0x1b4], edx
test cx, cx
je 0x5b0f8e
movzx ecx, cx
cmp word [ecx*2 + 0x6f7e60], 0
jne 0x5b10dc
mov edx, dword [esp + 0x20]
lea eax, [eax + eax - 1]
test eax, eax
jle 0x5b0fcc
mov edi, eax
lea esp, [esp]
test edx, edx
je 0x5b0fc1
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b0fb0
sub eax, esi
sar eax, 1
jmp 0x5b0fc3
xor eax, eax
sub edi, 1
lea edx, [edx + eax*2 + 2]
jne 0x5b0fa0
test edx, edx
jne 0x5b0fd5
mov edx, 0x683698
mov eax, dword [0x63dcd0]
push eax
push 0
push edx
lea ecx, [esp + 0x44]
call fcn.0050fcd0
mov ecx, dword [0x63dcd0]
push ecx
push 0
push 0x6f7e60
lea ecx, [esp + 0x24]
mov byte [esp + 0x8ec], 0xd
call fcn.0050fcd0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
mov bl, 0xe
push ecx
mov byte [esp + 0x8ec], bl
call fcn.005a6340
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x8e4], 0xf
call fcn.0050f610
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5b1058
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b1058
call fcn.0050ec00
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 0xd
cmp eax, 0xffffffff
je 0x5b107b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b107b
call fcn.0050ec00
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x5b109e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b109e
call fcn.0050ec00
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
cmp ecx, 0xfffd
jb 0x5b10b1
mov ecx, 0xfffd
push ecx
push eax
push 0x6f7e60
call fcn.005c0af5
mov edx, dword [ebp]
mov eax, dword [edx - 8]
add esp, 0xc
cmp eax, 0xfffd
jb 0x5b10d2
mov eax, 0xfffd
xor ecx, ecx
mov word [eax*2 + 0x6f7e60], cx
mov ecx, dword [esp + 0x30]
push 0x6f7e60
add ecx, 0x1a8
call fcn.0050fe00
push 0x6f7e60
call fcn.0052d280
add esp, 4
push eax
mov ecx, ebp
call fcn.0050fe00
mov ecx, dword [esp + 0x24]
push 1
push ebp
call fcn.00510030
mov edx, dword [0x63dcd0]
push edx
push 0
push 0x6f7e60
lea ecx, [esp + 0x24]
call fcn.0050fcd0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
mov bl, 0x10
push ecx
mov byte [esp + 0x8e8], bl
call fcn.0052c460
add esp, 8
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x8e4], 0x11
call fcn.0050f610
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5b1177
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b1177
call fcn.0050ec00
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x5b119a
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b119a
call fcn.0050ec00
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 0xc]
xor edx, edx
cmp byte [esp + 0x17], dl
mov byte [esp + 0x8e0], 4
sete dl
add ecx, 0xfffffff4
add edx, 0x13ec
mov esi, edx
cmp eax, 0xffffffff
je 0x5b11ce
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b11ce
call fcn.0050ec00
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 3
cmp eax, 0xffffffff
je 0x5b11f1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b11f1
call fcn.0050ec00
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 2
cmp eax, 0xffffffff
je 0x5b1214
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b1214
call fcn.0050ec00
lea ecx, [esp + 0xb8]
mov byte [esp + 0x8e0], 1
call fcn.0050fb00
lea ecx, [esp + 0xa8]
mov byte [esp + 0x8e0], 0
call fcn.0050fb00
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x8e0], 0xffffffff
cmp eax, 0xffffffff
je 0x5b1262
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5b1262
call fcn.0050ec00
mov eax, esi
mov ecx, dword [esp + 0x8d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c0]
xor ecx, esp
call fcn.005bae23
add esp, 0x8d0
ret