Function at 0x10006830
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1013122c
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov eax, dword [esp + 0x318]
cmp dword [eax + 0x1200], 1
mov ebp, dword [esp + 0x31c]
mov esi, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
jne 0x10006b67
xor ebx, ebx
cmp ebp, ebx
je 0x10006b67
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10006b67
cmp esi, ebx
je 0x100068bc
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10002720
push ebp
call fcn.10004eb0
call fcn.100025a0
push 3
push ebp
call fcn.1000f350
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1a], bl
lea eax, [ebp + 0x14]
cmp byte [ebp + 0x124], bl
jne 0x100068ea
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
lea edi, [esp + 0xc8]
call fcn.10062630
lea eax, [esp + 0x1a]
mov dword [esp + 0x310], ebx
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 4]
push eax
push ebp
lea esi, [esp + 0x23]
call fcn.10007710
test al, al
je 0x1000693a
mov al, byte [esp + 0x1b]
cmp al, bl
jne 0x10006929
cmp byte [esp + 0x1a], bl
je 0x1000693a
cmp dword [esp + 0xc8], ebx
je 0x1000693a
mov edi, dword [ebp + 4]
cmp al, bl
jne 0x1000693a
dec edi
mov byte [esp + 0x2c], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], fcn.100cf978
mov dword [esp + 0x44], fcn.100cfa42
mov dword [esp + 0x48], fcn.100cf89b
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x1fff8
mov dword [esp + 0x3c], vtable.t_heap.0
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x318], 2
mov eax, dword [ebp]
lea edx, [esp + 0x28]
push edx
push edi
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], ebx
call fcn.10096f70
add esp, 0x1c
test al, al
je 0x10006b08
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x10006b08
cmp dword [esp + 0x20], ebx
je 0x10006b08
lea edi, [esp + 0x1ec]
call fcn.1004b080
mov byte [esp + 0x310], 3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, edi
push edx
push eax
push esi
call fcn.10004680
mov eax, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xb
call fcn.1004a0a0
mov edx, eax
lea eax, [ebp + 8]
call fcn.10062c60
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.10013460
lea eax, [esp + 0x5c]
mov ecx, 4
jmp 0x10006a30
xor edx, edx
mov dword [eax - 8], 1
mov dword [eax], 8
mov dword [eax + 8], ebx
mov word [eax - 2], dx
mov word [eax - 4], dx
add eax, 0x1c
sub ecx, 1
jne 0x10006a30
mov ecx, 0x2f
mov edx, ecx
mov word [esp + 0x92], dx
push 0x1c
mov eax, 0x1d
lea edx, [esp + 0x58]
mov word [esp + 0x5e], ax
mov word [esp + 0x7a], cx
mov eax, 2
or dword [esp + 0x98], eax
or dword [esp + 0xb4], eax
push edx
mov ecx, 0x1d
push 4
mov word [esp + 0xba], cx
call dword [sym.imp.USER32.dll_SendInput]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x2fe], bl
jne 0x10006acb
mov eax, dword [esp + 0x2f8]
lea ecx, [esp + 0x1f0]
cmp eax, ecx
je 0x10006acb
push eax
call fcn.100cf89b
add esp, 4
mov byte [esp + 0x310], 1
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x10006aef
mov edi, dword [esp + 0x48]
nop
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
cmp esi, ebx
jne 0x10006ae0
lea ecx, [esp + 0x28]
call fcn.10061940
lea ecx, [esp + 0xc4]
call fcn.1005f910
mov al, 1
jmp 0x10006b69
mov byte [esp + 0x310], 1
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x10006b2f
mov edi, dword [esp + 0x48]
lea esp, [esp]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
cmp esi, ebx
jne 0x10006b20
lea ecx, [esp + 0x28]
call fcn.10061940
mov dword [esp + 0xc4], vtable.t_str.0
cmp byte [esp + 0x1e0], bl
jne 0x10006b67
mov eax, dword [esp + 0xcc]
lea edx, [esp + 0xd0]
cmp eax, edx
je 0x10006b67
push eax
call fcn.100cf89b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.100cf604
add esp, 0x300
ret 8