Function at 0x1003b7d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100bf12c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
push esi
call fcn.10038450
mov dword [esp + 0x74], 0
push eax
call fcn.10053670
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x74], 0xffffffff
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1003b839
call fcn.10053840
test eax, eax
je 0x1003b839
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 0x25
mov ecx, edi
call eax
mov cl, byte [esi + 0x68]
mov byte [esp + 0x28], cl
mov edx, dword [esp + 0x28]
push edx
movzx ebp, ax
push edi
mov edi, dword [esp + 0x84]
push ebp
push edi
mov byte [esp + 0x21], 1
mov dword [esp + 0x34], 0xffffffff
call fcn.100381e0
add esp, 0x10
push eax
mov ebx, esi
call fcn.10038fa0
xor eax, eax
movzx ecx, bp
push 1
push eax
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ecx
push edx
mov ecx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1e], al
mov dword [esp + 0x20], eax
call fcn.10041c50
mov edi, eax
cmp edi, 0xffffffff
je 0x1003bc42
movzx eax, bp
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], 0
jne 0x1003b8cc
lea ebx, [esi + 0x4c]
jmp 0x1003b8fb
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebp, dword [esp + 0x14]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
dec ebp
add ecx, edx
cmp ebp, ecx
jb 0x1003b8f1
call fcn.1008ddef
mov edx, dword [esi + 0xc]
imul ebp, ebp, 0x64
lea ebx, [edx + ebp + 0x20]
mov edx, dword [esp + 0x7c]
lea eax, [edi + 1]
mov dword [esp + 0x1c], eax
cmp eax, dword [edx + 0x14]
jbe 0x1003b914
call fcn.1008ddef
mov edx, dword [esp + 0x7c]
cmp dword [edx + 0x18], 8
jb 0x1003b91f
mov ebp, dword [edx + 4]
jmp 0x1003b922
lea ebp, [edx + 4]
cmp edi, dword [edx + 0x14]
jbe 0x1003b930
call fcn.1008ddef
mov edx, dword [esp + 0x7c]
cmp dword [edx + 0x18], 8
jb 0x1003b93b
mov eax, dword [edx + 4]
jmp 0x1003b93e
lea eax, [edx + 4]
mov ecx, dword [esp + 0x1c]
mov cx, word [ebp + ecx*2]
cmp cx, word [eax + edi*2]
jne 0x1003b973
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x84]
push ebx
call fcn.1003a240
add esp, 0xc
add edi, 2
mov dword [esp + 0x18], edi
jmp 0x1003bc1f
cmp edi, dword [esp + 0x18]
je 0x1003b997
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
push edi
push ecx
push ebx
call fcn.1003a240
mov edx, dword [esp + 0x88]
add esp, 0xc
mov dword [esp + 0x18], edi
mov ecx, dword [edx + 0x18]
lea ebx, [edx + 4]
cmp ecx, 8
jb 0x1003b9a6
mov edi, dword [ebx]
jmp 0x1003b9a8
mov edi, ebx
test edi, edi
je 0x1003b9d0
cmp ecx, 8
jb 0x1003b9b5
mov eax, dword [ebx]
jmp 0x1003b9b7
mov eax, ebx
cmp eax, edi
ja 0x1003b9d0
cmp ecx, 8
jb 0x1003b9c4
mov eax, dword [ebx]
jmp 0x1003b9c6
mov eax, ebx
mov ecx, dword [edx + 0x14]
lea eax, [eax + ecx*2]
cmp edi, eax
jbe 0x1003b9d9
call fcn.1008ddef
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edi
cmp edx, 0xfffffffc
je 0x1003ba21
mov edx, dword [ebx + 0x18]
cmp edx, 8
jb 0x1003b9f7
mov ecx, dword [ebx + 4]
jmp 0x1003b9fa
lea ecx, [ebx + 4]
mov eax, dword [esp + 0x1c]
mov ebp, dword [ebx + 0x14]
lea eax, [edi + eax*2]
lea ecx, [ecx + ebp*2]
cmp eax, ecx
ja 0x1003ba1c
cmp edx, 8
jb 0x1003ba15
mov ecx, dword [ebx + 4]
jmp 0x1003ba18
lea ecx, [ebx + 4]
cmp eax, ecx
jae 0x1003ba21
call fcn.1008ddef
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
lea eax, [edi + edx*2]
mov dl, byte [esi + 0x68]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x40], eax
mov byte [esp + 0x34], dl
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003ba5f
call fcn.1008ddef
mov ebp, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
mov eax, edi
imul eax, eax, 0x64
add ebp, eax
mov dword [esp + 0x38], eax
cmp ecx, 8
jb 0x1003ba7a
mov edx, dword [ebx + 4]
jmp 0x1003ba7d
lea edx, [ebx + 4]
mov eax, dword [ebx + 0x14]
add eax, eax
lea edi, [eax + edx]
test edi, edi
je 0x1003baad
cmp ecx, 8
jb 0x1003ba93
mov edx, dword [ebx + 4]
jmp 0x1003ba96
lea edx, [ebx + 4]
cmp edx, edi
ja 0x1003baad
cmp ecx, 8
jb 0x1003baa4
mov ecx, dword [ebx + 4]
jmp 0x1003baa7
lea ecx, [ebx + 4]
add eax, ecx
cmp edi, eax
jbe 0x1003bab2
call fcn.1008ddef
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push ebp
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
call fcn.100394d0
mov byte [esp + 0x2b], al
mov eax, dword [ebx + 0x18]
add esp, 0x18
cmp eax, 8
jb 0x1003baed
mov ebp, dword [ebx + 4]
jmp 0x1003baf0
lea ebp, [ebx + 4]
test ebp, ebp
je 0x1003bb1b
lea edx, [ebx + 4]
cmp eax, 8
jb 0x1003bb00
mov ecx, dword [edx]
jmp 0x1003bb02
mov ecx, edx
cmp ecx, ebp
ja 0x1003bb1b
cmp eax, 8
jb 0x1003bb0f
mov eax, dword [edx]
jmp 0x1003bb11
mov eax, edx
mov ecx, dword [ebx + 0x14]
lea edx, [eax + ecx*2]
cmp ebp, edx
jbe 0x1003bb20
call fcn.1008ddef
mov eax, dword [esp + 0x3c]
cmp eax, 0xfffffffc
je 0x1003bb36
test eax, eax
je 0x1003bb31
cmp eax, ebx
je 0x1003bb36
call fcn.1008ddef
mov edi, dword [esp + 0x40]
sub edi, ebp
sar edi, 1
cmp byte [esp + 0x13], 0
je 0x1003bc1f
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], edi
cmp ebx, eax
jb 0x1003bb71
call fcn.1008ddef
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x38]
mov ecx, dword [eax + ebp + 0x60]
add eax, ebp
test cl, 1
je 0x1003bbb1
mov edx, dword [eax + 0x48]
test dl, 0x40
je 0x1003bb93
and ecx, 0xfffffffe
mov dword [eax + 0x60], ecx
jmp 0x1003bbb1
and ecx, 0xfffffffd
and edx, 0xffffff3f
mov dword [eax + 0x60], ecx
mov ecx, 0x30
or edx, 0x100
mov word [eax + 0x44], cx
mov dword [eax + 0x48], edx
mov ecx, dword [eax + 0x60]
test cl, 2
je 0x1003bbc5
test byte [eax + 0x48], 0x20
je 0x1003bbc5
and ecx, 0xfffffffd
mov dword [eax + 0x60], ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1003bbe5
call fcn.1008ddef
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + ebp]
cmp eax, 0xfffffffd
je 0x1003bc1f
cmp eax, 0xffffffff
jne 0x1003bbfc
mov byte [esp + 0x11], 0
jmp 0x1003bc12
cmp eax, 0xfffffffe
jne 0x1003bc08
mov byte [esp + 0x12], 1
jmp 0x1003bc12
cmp eax, dword [esp + 0x24]
jle 0x1003bc12
mov dword [esp + 0x24], eax
mov eax, 1
add dword [esp + 0x20], eax
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x7c]
push 1
push edi
lea edx, [esp + 0x30]
push edx
call fcn.10041c50
mov edi, eax
cmp edi, 0xffffffff
jne 0x1003b8c0
cmp dword [esp + 0x14], 0
jne 0x1003bc47
lea ecx, [esi + 0x4c]
jmp 0x1003bc76
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec edi
add eax, edx
cmp edi, eax
jb 0x1003bc6c
call fcn.1008ddef
mov ecx, dword [esi + 0xc]
imul edi, edi, 0x64
lea ecx, [edi + ecx + 0x20]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov eax, edx
call fcn.1003a240
add esp, 0xc
cmp byte [esp + 0x11], 0
jne 0x1003bd2e
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x1003bcc2
test byte [esi + 0x68], 1
je 0x1003bcc2
push 0
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.1003aa40
mov dword [esp + 0x74], 1
push eax
call fcn.1003a8a0
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x20], edi
jle 0x1003bd29
xor ebp, ebp
mov edi, edi
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003bcf0
call fcn.1008ddef
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0xffffffff
jne 0x1003bd1f
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x1003bd18
call fcn.1008ddef
mov edx, dword [esi + 0xc]
mov dword [edx + ebp], ebx
inc ebx
inc edi
add ebp, 0x64
cmp edi, dword [esp + 0x20]
jl 0x1003bcd0
lea edi, [ebx - 1]
jmp 0x1003bd32
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push 0x20
call edx
sub esp, 0x64
movzx eax, ax
mov ecx, esp
mov dword [esp + 0xe0], esp
push eax
push ecx
call fcn.1003b740
mov dword [esp + 0xd8], 2
mov dword [esp + 0xd8], 0xffffffff
mov ecx, dword [esp + 0x84]
mov edx, esi
call fcn.1003b5c0
cmp byte [esp + 0x12], 0
je 0x1003bd84
or dword [esi + 0x3c], 4
inc edi
cmp byte [esp + 0x11], 0
mov dword [esi + 0x44], edi
je 0x1003bd95
or dword [esi + 0x3c], 1
jmp 0x1003bd99
and dword [esi + 0x3c], 0xfffffffe
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x68
ret 4