Function at 0x10037900
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af2dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100d800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], ecx
mov edi, dword [eax + 4]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100b42b0]
mov ecx, edi
call esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.100135b0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x100379a9
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100b42b0]
mov ecx, dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100379a9
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x100b42b0]
mov ecx, dword [ebp - 0x18]
call esi
movsx eax, byte [ebp + 0x28]
add eax, 0xffffffbf
mov dword [ebp - 0x18], 0
mov dword [ebx], 0
cmp eax, 0x38
ja case.0x100379cd.69
movzx eax, byte [eax + 0x10037ed4]
jmp dword [eax*4 + 0x10037e78]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
push ecx
push ebx
push dword [ebp - 0x20]
mov esi, dword [edi]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov esi, dword [esi + 0x18]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [0x100b42b0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
jmp 0x10037db7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a560
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push str._b__d__H_:__M_:__S__Y
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a110
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
push edi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x63
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.100398d0
mov ecx, dword [ebx]
add esp, 0x1c
or ecx, eax
mov dword [ebx], ecx
test cl, 2
jne 0x10037db7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
add eax, 0xffffffed
imul eax, eax, 0x64
mov dword [ecx + 0x14], eax
jmp 0x10037db7
mov eax, dword [ebp - 0x10]
push edi
add eax, 0xc
push eax
push 0x1f
push 1
mov edi, dword [ebp - 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.100398d0
add esp, 0x1c
or dword [ebx], eax
jmp 0x10037db7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push str._m____d____y
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a110
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
mov eax, dword [ebp - 0x10]
push edi
mov edi, dword [ebp - 0x14]
add eax, 8
push eax
push 0x17
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.100398d0
add esp, 0x1c
or dword [ebx], eax
jmp 0x10037db7
push edi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0xc
push 1
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.100398d0
mov ecx, dword [ebx]
add esp, 0x1c
or ecx, eax
mov dword [ebx], ecx
test cl, 2
jne 0x10037db7
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, 0xc
cmove eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
jmp 0x10037db7
mov eax, dword [ebp - 0x10]
push edi
add eax, 0x1c
push eax
push 0x16e
jmp 0x10037ac0
push edi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0xc
push 1
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.100398d0
mov ecx, dword [ebx]
add esp, 0x1c
or ecx, eax
mov dword [ebx], ecx
test cl, 2
jne 0x10037db7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ecx + 0x10], eax
jmp 0x10037db7
mov eax, dword [ebp - 0x10]
push edi
add eax, 4
push eax
push 0x3b
push 0
jmp 0x10037ac2
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push 0x100c4bd4
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a110
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
push 0
push 0x100c5364
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1003a760
add esp, 0x14
test eax, eax
jns 0x10037c33
or dword [ebx], 2
jmp 0x10037db7
cmp eax, 1
jle 0x10037db7
mov eax, dword [ebp - 0x10]
add dword [eax + 8], 0xc
jmp 0x10037db7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push str._I_:__M_:__S__p
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a110
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push str._H_:__M
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a110
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
mov ecx, dword [ebp - 0x10]
push edi
push ecx
push 0x3c
push 0
jmp 0x10037ac2
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push str._H_:__M_:__S
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a110
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
mov eax, dword [ebp - 0x10]
push edi
add eax, 0x1c
push eax
push 0x35
push 0
jmp 0x10037ac2
mov eax, dword [ebp - 0x10]
push edi
add eax, 0x18
push eax
push 6
push 0
jmp 0x10037ac2
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push str._d____m____y
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a110
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
push edi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x63
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.100398d0
mov ecx, dword [ebx]
add esp, 0x1c
or ecx, eax
mov dword [ebx], ecx
test cl, 2
jne 0x10037db7
mov eax, dword [ebp - 0x18]
cmp eax, 0x45
jge 0x10037d7c
add eax, 0x64
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
jmp 0x10037db7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003a520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10037db7
mov dword [ebx], 2
cmp byte [ebp + 0x10], 0
jne 0x10037e03
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10037df8
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10037dda
mov eax, dword [edi + 0x2c]
cmp dword [eax], 0
jle 0x10037dda
movzx eax, byte [ecx]
jmp 0x10037dee
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x100b42b0]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x10037df8
mov byte [ebp + 0x11], al
jmp 0x10037dff
mov dword [ebp + 0xc], 0
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov edi, dword [ebp + 0x14]
jne 0x10037e41
test edi, edi
je 0x10037e3f
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10037e26
mov eax, dword [edi + 0x2c]
cmp dword [eax], 0
jle 0x10037e26
movzx eax, byte [ecx]
jmp 0x10037e3a
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x100b42b0]
mov ecx, edi
call esi
mov edi, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x10037e41
xor edi, edi
cmp dword [ebp + 0xc], 0
jne 0x10037e4d
test edi, edi
je 0x10037e51
jmp 0x10037e54
test edi, edi
je 0x10037e54
or dword [ebx], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28