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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1541b80
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x15a16ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x15a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], 0
lea ebx, [ebx]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x13a76cf
mov cl, byte [eax]
cmp cl, 0x80
jae 0x13a76cf
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0x13a7723
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x13a7708
cmp eax, esi
jae 0x13a76e4
test byte [esi - 1], 0x80
je 0x13a7708
cmp eax, esi
jne 0x13a76ff
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0x13a76ff
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0x13a76ff
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0x13a7720
mov eax, ebx
call fcn.0146b180
jmp 0x13a7720
lea edx, [esp + 0x38]
push edx
call fcn.0146b110
add esp, 4
test eax, eax
je 0x13a7720
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x13a7d01
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 0x10
ja case.default.0x13a773a
jmp dword [ecx*4 + 0x13a7d4c]
test al, 7
jne case.default.0x13a773a
mov edi, dword [esp + 0x14]
add edi, 8
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x14]
or dword [eax + 0x78], 1
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x10
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a778a
test al, 7
jne case.default.0x13a773a
mov edi, dword [esp + 0x14]
add edi, 0xc
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x14]
or dword [eax + 0x78], 2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x18
jne 0x13a76b0
jmp 0x13a77fa
mov ecx, eax
and ecx, 7
je 0x13a77fe
cmp ecx, 2
jne case.default.0x13a773a
mov edx, dword [esp + 0x14]
add edx, 0x10
push edx
mov eax, ebx
call fcn.013b7db0
add esp, 4
test al, al
je 0x13a7d45
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x18
jne 0x13a7823
inc eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
add eax, 0x10
mov ecx, ebx
push eax
mov ebx, 0x18
call fcn.01487850
add esp, 4
test al, al
je 0x13a7d45
mov ebx, dword [esp + 0x3c]
jmp 0x13a77e9
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x22
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7850
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x13a773a
lea esp, [esp]
mov esi, dword [esp + 0x14]
add esi, 0x2c
call fcn.013b75e0
lea edi, [esp + 0x30]
mov esi, ebx
mov dword [esp + 0x28], eax
call fcn.0139a530
test al, al
je 0x13a7d45
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x13a7d45
mov edx, dword [esp + 0x30]
push edx
mov ecx, ebx
call fcn.0146ab20
mov ecx, dword [esp + 0x28]
push ebx
mov esi, eax
call fcn.013a6790
test al, al
je 0x13a7d45
cmp byte [ebx + 0x18], 0
je 0x13a7d45
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x13a78bf
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x13a78d2
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x13a78d9
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x13a78e8
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x22
jne 0x13a7902
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7850
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x2a
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7928
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x13a773a
mov esi, dword [esp + 0x14]
call fcn.0139b120
push eax
mov eax, ebx
call fcn.013b6190
add esp, 4
test al, al
je 0x13a7d45
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x32
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a796d
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x13a773a
mov esi, dword [esp + 0x14]
call fcn.0139b180
push eax
mov eax, ebx
call fcn.013b6190
add esp, 4
test al, al
je 0x13a7d45
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x38
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a79ac
test al, 7
jne case.default.0x13a773a
lea edi, [esp + 0x1c]
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x13a79d9
cmp eax, 3
jg 0x13a79d9
mov ecx, dword [esp + 0x14]
or dword [ecx + 0x78], 0x40
mov dword [ecx + 0x54], eax
jmp 0x13a79ed
mov ecx, dword [esp + 0x14]
cdq
push edx
push eax
add ecx, 4
mov eax, 7
call fcn.0146a190
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x40
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7a10
test al, 7
jne case.default.0x13a773a
lea edi, [esp + 0x20]
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x20]
test eax, eax
js 0x13a7a40
cmp eax, 3
jg 0x13a7a40
mov ecx, dword [esp + 0x14]
or dword [ecx + 0x78], 0x80
mov dword [ecx + 0x58], eax
jmp 0x13a7a54
mov ecx, dword [esp + 0x14]
cdq
push edx
push eax
add ecx, 4
mov eax, 8
call fcn.0146a190
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x48
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7a77
test al, 7
jne case.default.0x13a773a
mov edi, dword [esp + 0x14]
add edi, 0x5c
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x14]
or dword [eax + 0x78], 0x100
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x50
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7abb
test al, 7
jne case.default.0x13a773a
mov edi, dword [esp + 0x14]
add edi, 0x60
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x14]
or dword [eax + 0x78], 0x200
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x58
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7aff
test al, 7
jne case.default.0x13a773a
mov edi, dword [esp + 0x14]
add edi, 0x64
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x14]
or dword [eax + 0x78], 0x400
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x60
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7b43
test al, 7
jne case.default.0x13a773a
mov edi, dword [esp + 0x14]
add edi, 0x68
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x14]
or dword [eax + 0x78], 0x800
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x68
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7b87
test al, 7
jne case.default.0x13a773a
mov edi, dword [esp + 0x14]
add edi, 0x6c
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
mov eax, dword [esp + 0x14]
or dword [eax + 0x78], 0x1000
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x70
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7bcb
test al, 7
jne case.default.0x13a773a
lea edi, [esp + 0x24]
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
setne cl
or dword [eax + 0x78], 0x2000
mov byte [eax + 0x70], cl
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x13a76b0
cmp byte [eax], 0x78
jne 0x13a76b0
inc eax
mov dword [ebx + 4], eax
jmp 0x13a7c17
test al, 7
jne case.default.0x13a773a
lea edi, [esp + 0x2c]
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
setne dl
or dword [eax + 0x78], 0x4000
mov byte [eax + 0x71], dl
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
cmp ecx, 2
jl 0x13a76b0
cmp byte [eax], 0x80
jne 0x13a76b0
cmp byte [eax + 1], 1
jne 0x13a76b0
add eax, 2
mov dword [ebx + 4], eax
jmp 0x13a7c74
test al, 7
jne case.default.0x13a773a
lea edi, [esp + 0x34]
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x14]
setne dl
or dword [eax + 0x78], 0x8000
mov byte [eax + 0x72], dl
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
cmp ecx, 2
jl 0x13a76b0
cmp byte [eax], 0x88
jne 0x13a76b0
cmp byte [eax + 1], 1
jne 0x13a76b0
add eax, 2
mov dword [ebx + 4], eax
jmp 0x13a7ccd
test al, 7
jne case.default.0x13a773a
lea edi, [esp + 0x18]
mov esi, ebx
call fcn.0139a530
test al, al
je 0x13a7d45
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
setne dl
or dword [eax + 0x78], 0x10000
mov byte [eax + 0x73], dl
mov eax, ebx
call fcn.0139a6c0
test al, al
je 0x13a76b0
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 4
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x13a7d01
mov ecx, dword [esp + 0x14]
add ecx, 4
push ebx
call fcn.01465320
add esp, 4
test al, al
jne 0x13a76b0
xor al, al
jmp 0x13a7d03