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

Disassembly:
add esp, 4
pop edi
cmp dword [ebp - 0x18cc], 0
jne 0x10006aaa
mov dword [ebp - 0x380], 0
jmp 0x10006d66
mov ecx, dword [ebp - 0x18cc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xeb0], eax
push ecx
push ecx
add esp, 4
sub ecx, 0x13335
call 0x10006ad7
add byte [ebx + 0x35], cl
dec ecx
aaa
dec ecx
cmp dword ss:[ecx + 0x47], eax
cmp dword [ebx - 0x167efb3c], eax
or bh, byte [0xf1810000]
popfd
jecxz 0x10006ae5
add byte [ecx + 0x56], bl
jmp 0x10006aed
pop esi
cmp dword [ebp - 0xeb0], 0
jne 0x10006b06
mov dword [ebp - 0x380], 0
jmp 0x10006d66
mov ecx, dword [ebp - 0xeb0]
mov dword [ebp - 0x5d0], ecx
push ecx
push ebx
add esp, 4
xor ecx, 0x17221
jmp 0x10006b22
call 0x10006b2e
add byte [ebp + 0x4e], al
xor al, byte [ebp + ecx*2 + 0x35]
add esp, 4
pop ecx
push ecx
push eax
add esp, 4
jmp 0x10006b3d
xor ecx, 0x16573
pop ecx
lea edx, [ebp - 0x1a84]
mov dword [ebp - 0xeac], edx
mov eax, dword [ebp - 0x5d0]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xea8], ecx
xor edx, edx
mov word [ebp - 0x270], dx
xor eax, eax
mov word [ebp - 0x138], ax
push ebx
push edi
add esp, 4
or ebx, 0x586
sub ebx, 0xb6f8
or ebx, 0x82b3
add ebx, 0xceca
pop ebx
push ebx
sub ebx, 0x10d91
add ebx, 0x16490
and ebx, 0x6aa9
pop ebx
mov ecx, dword [ebp - 0xea8]
mov dx, word [ecx]
mov word [ebp - 0x12c6], dx
mov eax, dword [ebp - 0xea8]
add eax, 2
mov dword [ebp - 0xea8], eax
mov cx, word [ebp - 0x12c6]
mov word [ebp - 0x270], cx
mov edx, dword [ebp - 0xeac]
mov ax, word [edx]
mov word [ebp - 0x12c8], ax
mov ecx, dword [ebp - 0xeac]
add ecx, 2
mov dword [ebp - 0xeac], ecx
mov dx, word [ebp - 0x12c8]
mov word [ebp - 0x138], dx
push edi
jmp 0x10006c05
add edi, 0x937c
pop edi
push eax
push ecx
add esp, 4
jmp 0x10006c19
and eax, 0x13237
or eax, 0xd7f4
jmp 0x10006c2e
pop eax
movzx eax, word [ebp - 0x138]
test eax, eax
jne 0x10006c52
movzx ecx, word [ebp - 0x270]
movzx edx, word [ebp - 0x138]
sub ecx, edx
mov dword [ebp - 0x190c], ecx
jmp 0x10006cb5
movzx eax, word [ebp - 0x270]
movzx ecx, word [ebp - 0x138]
cmp eax, ecx
je 0x10006b71
movzx edx, word [ebp - 0x270]
xor edx, 0x20
movzx eax, word [ebp - 0x138]
cmp edx, eax
je 0x10006b71
movzx ecx, word [ebp - 0x270]
movzx edx, word [ebp - 0x138]
cmp ecx, edx
jge 0x10006c9f
mov dword [ebp - 0x1908], 0xffffffff
jmp 0x10006ca9
mov dword [ebp - 0x1908], 1
mov eax, dword [ebp - 0x1908]
mov dword [ebp - 0x190c], eax
cmp dword [ebp - 0x190c], 0
jne 0x10006cfe
push ecx
or ecx, 0xd5f8
pop ecx
push edx
push ebx
add esp, 4
and edx, 0xa16e
or edx, 0x17490
pop edx
push ecx
push edx
add esp, 4
add ecx, 0x16a64
add ecx, 0x2a5c
or ecx, 0x10161
pop ecx
mov ecx, dword [ebp - 0x5d0]
mov dword [ebp - 0x380], ecx
jmp 0x10006d66
push ecx
add ecx, 0x114ea
or ecx, 0x15baa
sub ecx, 0x14769
add al, ch
or byte [eax], al
add byte [eax], al
add byte [ecx + 0x47], cl
inc ebx
inc edi
inc esi
inc eax
dec edi
add esp, 4
pop ecx
push edx
or edx, 0xd106
and edx, 0x47cc
pop edx
mov edx, dword [ebp - 0x5d0]
mov eax, dword [edx]
mov dword [ebp - 0x5d0], eax
mov ecx, dword [ebp - 0x5d0]
cmp ecx, dword [ebp - 0xeb0]
je 0x10006d5c
mov edx, dword [ebp - 0x5d0]
cmp dword [edx + 0x30], 0
jne 0x10006b12
mov dword [ebp - 0x380], 0
push esi
call 0x10006d75
add byte [ebx + 0x38], al
inc eax
inc eax
push eax
xor bh, byte [0x4c4834f]
call 0x10006d88
add byte [eax + 0x4c], cl
xor cl, byte [ebp + 0x33]
xor ecx, dword [edx + 0x4e]
cmp dword [edi], edi
add esp, 4
xor esi, 0xa7a0
sub esi, 0xf65b
pop esi
cmp dword [ebp - 0x380], 0
jne 0x100076b2
mov eax, 0x6b
mov word [ebp - 0x1b34], ax
mov ecx, 0x65
mov word [ebp - 0x1b32], cx
mov edx, 0x72
mov word [ebp - 0x1b30], dx
mov eax, 0x6e
mov word [ebp - 0x1b2e], ax
mov ecx, 0x65
mov word [ebp - 0x1b2c], cx
mov edx, 0x6c
mov word [ebp - 0x1b2a], dx
mov eax, 0x33
mov word [ebp - 0x1b28], ax
mov ecx, 0x32
mov word [ebp - 0x1b26], cx
mov edx, 0x2e
mov word [ebp - 0x1b24], dx
mov eax, 0x64
mov word [ebp - 0x1b22], ax
mov ecx, 0x6c
mov word [ebp - 0x1b20], cx
mov edx, 0x6c
mov word [ebp - 0x1b1e], dx
xor eax, eax
mov word [ebp - 0x1b1c], ax
push eax
push eax
add esp, 4
xor eax, 0x11557
or eax, 0x2627
or eax, 0x12b93
pop eax
push edx
or edx, 0x176bc
pop edx
push ecx
push esi
push ebx
push ebx
add esp, 4
or ebx, 0x11676
pop ebx
push ecx
sub ecx, 0x17511
xor ecx, 0x103d8
sub ecx, 0x450f
pop ecx
push esi
push edx
add esp, 4
and esi, 0x66af
sub esi, 0xd055
pop esi
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x26f4], ecx
mov edx, dword [ebp - 0x26f4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x26f8], eax
mov ecx, dword [ebp - 0x26f8]
mov dword [ebp - 0x1928], ecx
push esi
push esi
add esp, 4
or esi, 0xe648
pop esi
push edx
or edx, 0xef8e
pop edx
push esi
push edi
add esp, 4
and esi, 0x1735b
sub esi, 0xfef5
pop esi
push edx
push eax
add esp, 4
sub edx, 0x15919
pop edx
cmp dword [ebp - 0x1928], 0
jne 0x10007756
mov dword [ebp - 0x380], 0
jmp 0x10007a12
mov edx, dword [ebp - 0x1928]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xecc], ecx
push ebx
call 0x10007779
add byte [ebx], bh
dec esi
cmp byte [edi + 0x32], al
cmp edi, dword [esi]
inc edi
dec esp
add esp, 4
call 0x1000778a
add byte [edi + 0x42], cl
xor dl, byte [eax + 0x4a]
push eax
inc edi
inc esp
add esp, 4
pop ebx
push edx
push eax
add esp, 4
and edx, 0x10b01
pop edx
cmp dword [ebp - 0xecc], 0
jne 0x100077b2
mov dword [ebp - 0x380], 0
jmp 0x10007a12
mov edx, dword [ebp - 0xecc]
mov dword [ebp - 0x5d8], edx
push edi
push edx
add esp, 4
or edi, 0x814e
jmp 0x100077d1
pop edi
push ecx
push esi
add esp, 4
sub ecx, 0x1145c
sub ecx, 0x145bf
and ecx, 0x108e6
sub ecx, 0x8a85
pop ecx
lea eax, [ebp - 0x1a84]
mov dword [ebp - 0xec8], eax
mov ecx, dword [ebp - 0x5d8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xec4], edx
xor eax, eax
mov word [ebp - 0x278], ax
xor ecx, ecx
mov word [ebp - 0x140], cx
push edi
add edi, 0x5253
call 0x10007832
add byte [esi], bh
dec ebx
dec edi
dec esi
aaa
cmp eax, 0xc483344b
add al, 0xe8
or eax, dword [eax]
add byte [eax], al
add byte [eax + 0x49], al
dec eax
cmp esi, dword [0x403a363a]
cmp al, byte [ebx - 0x307efb3c]
xchg esi, eax
sbb dword [eax], eax
add byte [edi - 0x75], bl
xchg ebp, eax
cmp al, 0xf1
invalid
push edi
call 0x10007a22
add byte [ebx], bh
dec eax
cmp eax, 0x3b494542
xor al, 0x3e
add esp, 4
or edi, 0x4a
add edi, 0x11e3
pop edi
push esi
push ebx
add esp, 4
sub esi, 0x641
xor esi, 0x1763d
pop esi
mov ecx, dword [ebp - 0x380]
mov edx, dword [ecx + 0x18]
invalid
xchg ebp, eax
invalid