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

Disassembly:
push 0xffffffffffffffff
push 0x618746
mov eax, dword fs:[0]
push eax
sub esp, 0x8c4
mov eax, dword [0x6e163c]
xor eax, esp
mov dword [esp + 0x8c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e163c]
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 0x5ae9e4
mov esi, dword [eax + 0x114]
test esi, esi
jne 0x5aea0e
mov ecx, dword [0x6f0d00]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
test eax, eax
je 0x5aea0e
mov ecx, dword [0x6f0d00]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
mov esi, dword [eax + 0x114]
xor eax, eax
mov word [0x6f5d10], 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 0x5aea40
mov dword [esp + 0x1c], 0x1804
cmp byte [edi + 0x1c8], 0
je 0x5aea51
or dword [esp + 0x1c], 0x880020
mov ecx, eax
shr ecx, 5
test cl, 1
je 0x5aea63
or dword [esp + 0x1c], 0x80200
mov edx, eax
shr edx, 7
test dl, 1
jne 0x5aea72
or dword [esp + 0x1c], 8
shr eax, 2
test al, 1
je 0x5aea7e
or dword [esp + 0x1c], 2
push 0x64
lea eax, [esp + 0x48]
push 0
push eax
call fcn.005b57c0
mov ecx, dword [0x6df860]
mov edx, dword [edi + 0x1a0]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x6d983c]
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.0050d230
xor esi, esi
test ebp, ebp
jbe 0x5aeb5a
jmp 0x5aeaf8
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.0050d150
mov eax, dword [edi]
movzx ebx, word [eax + esi*2]
movzx eax, bx
cmp eax, 0x2f
je 0x5aeb14
cmp eax, 0x5c
je 0x5aeb19
jmp 0x5aeb49
mov ebx, 0x5c
lea edi, [ebp - 1]
cmp esi, edi
jae 0x5aeb49
mov ecx, dword [esp + 0x28]
call fcn.0050d150
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
movzx eax, word [edx + esi*2 + 2]
cmp ax, 0x5c
je 0x5aeb40
cmp ax, 0x2f
jne 0x5aeb49
test esi, esi
jbe 0x5aeb49
inc esi
cmp esi, edi
jb 0x5aeb20
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.0050de40
inc esi
cmp esi, ebp
jb 0x5aeaf4
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], 0x5ae6a0
call fcn.0050cf10
push 0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x8e4], 1
call fcn.0050cf10
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.0052ae20
mov edi, eax
mov eax, dword [0x6d983c]
add esp, 0xc
mov dword [esp + 0x20], eax
xor esi, esi
mov byte [esp + 0x8e0], 3
test edi, edi
jbe 0x5aec3f
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.0050e2b0
push 1
push 0x65ee90
push 1
lea ecx, [esp + 0x2c]
call fcn.0050e2b0
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.0050e2b0
push 1
push 0x65ee90
push 1
lea ecx, [esp + 0x2c]
call fcn.0050e2b0
inc esi
cmp esi, edi
jb 0x5aebe0
mov eax, dword [esp + 0x20]
xor esi, esi
cmp dword [eax - 8], esi
jbe 0x5aec6d
movzx ecx, word [eax + esi*2]
cmp cx, 0x7c
jne 0x5aec67
lea ecx, [esp + 0x20]
call fcn.0050d150
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 0x5aec46
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 0x6f5d10
mov dword [esp + 0x44], ebp
call fcn.005bda60
mov edx, dword [0x6d983c]
xor ecx, ecx
add esp, 0xc
mov word [0x715d0a], cx
mov dword [esp + 0x60], 0x6f5d10
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 0x5aee5f
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax - 1]
test eax, eax
jle 0x5aed1c
mov edi, eax
lea esp, [esp]
test edx, edx
je 0x5aed11
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5aed00
sub eax, esi
sar eax, 1
jmp 0x5aed13
xor eax, eax
sub edi, 1
lea edx, [edx + eax*2 + 2]
jne 0x5aecf0
test edx, edx
jne 0x5aed25
mov edx, 0x6874ac
mov ecx, dword [0x63bb88]
push ecx
push 0
push edx
lea ecx, [esp + 0x24]
call fcn.0050dd90
mov edx, dword [0x63bb88]
push edx
push 0
push 0x6764cc
lea ecx, [esp + 0x30]
mov byte [esp + 0x8ec], 5
call fcn.0050dd90
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.005a45b0
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8e4], 7
call fcn.0050d6d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5aedab
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5aedab
call fcn.0050ccc0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 5
cmp eax, 0xffffffff
je 0x5aedce
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5aedce
call fcn.0050ccc0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 4
cmp eax, 0xffffffff
je 0x5aedf1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5aedf1
call fcn.0050ccc0
push 0
push 0x65ee88
lea ecx, [esp + 0x3c]
call fcn.0050e630
test al, al
je 0x5aee5b
mov eax, dword [0x63bb88]
push eax
push 2
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call fcn.0050e570
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8e4], 8
call fcn.0050d6d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 4
cmp eax, 0xffffffff
je 0x5aee50
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5aee50
call fcn.0050ccc0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x40]
push eax
call fcn.0052ad90
mov ecx, dword [ebx + 0xcc]
push ecx
lea esi, [esp + 0x2c]
lea eax, [esp + 0x4c]
mov byte [esp + 0x8e8], 9
call fcn.005ae5a0
add esp, 8
mov byte [esp + 0x17], al
test al, al
jne 0x5aef32
cmp dword [esp + 0x24], 0x3002
jne 0x5aeed0
mov eax, dword [esp + 0x60]
cmp word [eax], 0
je 0x5af34a
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.005ae5a0
add esp, 4
mov byte [esp + 0x17], al
test al, al
jne 0x5aef2e
cmp dword [esp + 0x24], 1
jne 0x5af34a
mov eax, 0x4c
cmp dword [esp + 0x44], eax
je 0x5af34a
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.005ae5a0
add esp, 4
mov byte [esp + 0x17], al
test al, al
jne 0x5aef1c
cmp dword [esp + 0x24], 0
jne 0x5af34a
mov edx, dword [esp + 0x44]
mov dword [0x6df860], edx
test al, al
je 0x5af34a
mov ebp, dword [esp + 0x38]
test byte [esp + 0x1c], 8
je 0x5aef46
lea eax, [esp + 0x40]
push eax
call fcn.0052a820
add esp, 4
lea ecx, [ebx + 0x1b8]
mov dword [esp + 0x24], ecx
call fcn.0050db70
mov ecx, dword [ebx + 0xcc]
shr ecx, 5
test cl, 1
je 0x5af115
movzx edx, word [esp + 0x7c]
cmp word [edx*2 + 0x6f5d0e], 0
jne 0x5af115
mov ebp, dword [esp + 0x28]
push 0x6f5d10
mov ecx, ebp
call fcn.0050dec0
movzx esi, word [esp + 0x7c]
mov edi, dword [esp + 0x38]
lea eax, [esi*2 + 0x6f5d10]
push eax
mov ecx, edi
call fcn.0050dec0
mov ebx, dword [esp + 0x24]
push 1
push edi
mov ecx, ebx
call fcn.0050e0f0
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
lea edi, [esi + eax + 1]
cmp word [edi*2 + 0x6f5d10], 0
lea esi, [edi*2 + 0x6f5d10]
je 0x5af05d
mov eax, esi
test esi, esi
jne 0x5aefdb
mov eax, 0x6874ac
mov edx, dword [0x63bb88]
push edx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0050dd90
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x8e8], 0xa
call fcn.0050e0f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x5af027
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af027
call fcn.0050ccc0
test esi, esi
je 0x5af041
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5af030
sub eax, edx
sar eax, 1
jmp 0x5af043
xor eax, eax
lea edi, [edi + eax + 1]
cmp word [edi*2 + 0x6f5d10], 0
lea esi, [edi*2 + 0x6f5d10]
jne 0x5aefd0
mov eax, dword [ebp]
cmp dword [eax - 8], 0
jne 0x5af072
mov ecx, dword [0x6d983c]
mov dword [esp + 0x28], ecx
jmp 0x5af082
mov dword [esp + 0x28], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x5af082
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.0050d150
mov eax, dword [ebp]
cmp word [eax + esi*2 - 2], 0x5c
je 0x5af0b0
push 0x5c
push 1
lea ecx, [esp + 0x30]
call fcn.0050de40
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0050eba0
add esp, 0xc
mov esi, dword [esp + 0x30]
lea ecx, [esi + 0x1a8]
push eax
mov byte [esp + 0x8e4], 0xc
call fcn.0050d6d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5af101
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af101
call fcn.0050ccc0
mov ecx, dword [esp + 0x5c]
dec ecx
mov dword [esi + 0x1b4], ecx
mov ecx, dword [esp + 0x28]
jmp 0x5af32b
mov eax, dword [esp + 0x5c]
mov cx, word [esp + 0x7e]
lea edx, [eax - 1]
mov dword [ebx + 0x1b4], edx
test cx, cx
je 0x5af13e
movzx ecx, cx
cmp word [ecx*2 + 0x6f5d10], 0
jne 0x5af28c
mov edx, dword [esp + 0x20]
lea eax, [eax + eax - 1]
test eax, eax
jle 0x5af17c
mov edi, eax
lea esp, [esp]
test edx, edx
je 0x5af171
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5af160
sub eax, esi
sar eax, 1
jmp 0x5af173
xor eax, eax
sub edi, 1
lea edx, [edx + eax*2 + 2]
jne 0x5af150
test edx, edx
jne 0x5af185
mov edx, 0x6874ac
mov eax, dword [0x63bb88]
push eax
push 0
push edx
lea ecx, [esp + 0x44]
call fcn.0050dd90
mov ecx, dword [0x63bb88]
push ecx
push 0
push 0x6f5d10
lea ecx, [esp + 0x24]
mov byte [esp + 0x8ec], 0xd
call fcn.0050dd90
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.005a45b0
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x8e4], 0xf
call fcn.0050d6d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5af208
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af208
call fcn.0050ccc0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 0xd
cmp eax, 0xffffffff
je 0x5af22b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af22b
call fcn.0050ccc0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x5af24e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af24e
call fcn.0050ccc0
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
cmp ecx, 0xfffd
jb 0x5af261
mov ecx, 0xfffd
push ecx
push eax
push 0x6f5d10
call fcn.005bda60
mov edx, dword [ebp]
mov eax, dword [edx - 8]
add esp, 0xc
cmp eax, 0xfffd
jb 0x5af282
mov eax, 0xfffd
xor ecx, ecx
mov word [eax*2 + 0x6f5d10], cx
mov ecx, dword [esp + 0x30]
push 0x6f5d10
add ecx, 0x1a8
call fcn.0050dec0
push 0x6f5d10
call fcn.0052b3d0
add esp, 4
push eax
mov ecx, ebp
call fcn.0050dec0
mov ecx, dword [esp + 0x24]
push 1
push ebp
call fcn.0050e0f0
mov edx, dword [0x63bb88]
push edx
push 0
push 0x6f5d10
lea ecx, [esp + 0x24]
call fcn.0050dd90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
mov bl, 0x10
push ecx
mov byte [esp + 0x8e8], bl
call fcn.0052a5b0
add esp, 8
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x8e4], 0x11
call fcn.0050d6d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5af327
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af327
call fcn.0050ccc0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x5af34a
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af34a
call fcn.0050ccc0
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 0x5af37e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af37e
call fcn.0050ccc0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 3
cmp eax, 0xffffffff
je 0x5af3a1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af3a1
call fcn.0050ccc0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 2
cmp eax, 0xffffffff
je 0x5af3c4
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af3c4
call fcn.0050ccc0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x8e0], 1
call fcn.0050dbc0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x8e0], 0
call fcn.0050dbc0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x8e0], 0xffffffff
cmp eax, 0xffffffff
je 0x5af412
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5af412
call fcn.0050ccc0
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.005b8641
add esp, 0x8d0
ret