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

Disassembly:
push 0xffffffffffffffff
push 0x10011ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10019708]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10019708]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x30], ebp
cmp edi, ebx
je 0x10002732
cmp ebp, ebx
je 0x10002732
push edi
mov dword [ebp], ebx
call dword [0x10014148]
add eax, eax
push eax
lea ecx, [esp + 0x28]
call fcn.10001570
mov dword [esp + 0x80], ebx
cmp dword [esp + 0x2c], ebx
jne 0x1000251c
push ebx
call dword [0x10014240]
mov eax, 0x8007000e
jmp 0x10002737
mov dword [esi], edi
mov al, byte [0x1001a660]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
xor bl, bl
cmp word [edi], 0
mov byte [esp + 0x1f], al
mov byte [esp + 0x17], bl
je 0x100026c7
mov ebp, dword [0x1001422c]
cmp byte [esp + 0x1f], 1
jne 0x10002624
cmp dword [esp + 0x20], 0
jne 0x1000259d
mov eax, dword [esi]
push str.HKCR
push eax
call fcn.100082b4
add esp, 8
test eax, eax
je 0x1000259d
mov ecx, dword [esi]
cmp eax, ecx
jne 0x1000259d
push ecx
call ebp
push eax
mov dword [esi], eax
call ebp
push eax
mov dword [esi], eax
call ebp
push eax
mov dword [esi], eax
call ebp
push str.HKCU_r_n_tSoftware_r_n_t_r_n_t_tClasses
lea ecx, [esp + 0x28]
mov dword [esi], eax
call fcn.100021e0
test eax, eax
je 0x100026e7
mov bl, 1
mov ecx, dword [esi]
mov edx, 0x27
cmp dx, word [ecx]
jne 0x100025e4
cmp byte [esp + 0x17], 0
jne 0x100025b7
mov byte [esp + 0x17], 1
jmp 0x10002624
mov ecx, esi
call fcn.10001540
test eax, eax
je 0x100025c9
mov byte [esp + 0x17], 0
jmp 0x100025eb
mov eax, dword [esi]
push eax
call ebp
push 1
push eax
lea ecx, [esp + 0x2c]
mov dword [esi], eax
call fcn.100015d0
test eax, eax
je 0x100026e7
cmp byte [esp + 0x17], 0
jne 0x10002624
mov ecx, dword [esi]
movzx eax, word [ecx]
cmp ax, 0x7b
jne 0x100025fa
inc dword [esp + 0x20]
cmp ax, 0x7d
jne 0x10002624
sub dword [esp + 0x20], 1
jne 0x10002624
cmp bl, 1
jne 0x10002624
push str._r_n_t_r_n_r_n
lea ecx, [esp + 0x28]
call fcn.100021e0
test eax, eax
je 0x100026e7
xor bl, bl
mov eax, dword [esi]
cmp word [eax], 0x25
jne 0x100026a2
push eax
call ebp
mov dword [esi], eax
cmp word [eax], 0x25
je 0x100026a2
push 0x25
push eax
call fcn.100017a0
mov edi, eax
add esp, 8
test edi, edi
je 0x10002700
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
cmp eax, 0x1f
jg 0x10002719
push eax
push ecx
lea edx, [esp + 0x3c]
push 0x20
push edx
call fcn.10008585
push eax
call fcn.10001180
mov ecx, dword [esi + 4]
add esp, 0x14
lea eax, [esp + 0x34]
push eax
call fcn.10002450
test eax, eax
je 0x10002700
push eax
lea ecx, [esp + 0x28]
call fcn.100021e0
test eax, eax
je 0x100026e7
cmp dword [esi], edi
je 0x100026b2
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], eax
cmp eax, edi
jne 0x10002695
jmp 0x100026b2
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.100015d0
test eax, eax
je 0x100026e7
mov edx, dword [esi]
push edx
call ebp
mov dword [esi], eax
cmp word [eax], 0
jne 0x10002545
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [ebp], eax
call dword [0x10014240]
mov eax, dword [esp + 0x18]
jmp 0x10002737
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], 0x8007000e
call dword [0x10014240]
mov eax, dword [esp + 0x18]
jmp 0x10002737
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], 0x80020009
call dword [0x10014240]
mov eax, dword [esp + 0x18]
jmp 0x10002737
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], 0x80004005
call dword [0x10014240]
mov eax, dword [esp + 0x18]
jmp 0x10002737
mov eax, 0x80004003
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100087ec
add esp, 0x70
ret 8