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

Disassembly:
push 0xffffffffffffffff
push 0x408c68
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x40e4b8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40e4b8]
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 0x402b74
cmp ebp, ebx
je 0x402b74
push edi
mov dword [ebp], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea ecx, [esp + 0x28]
call fcn.00401780
mov dword [esp + 0x80], ebx
cmp dword [esp + 0x2c], ebx
jne 0x402977
mov dword [esp + 0x80], 0xffffffff
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 0x8007000e
jmp 0x402b79
mov dword [esi], edi
mov al, byte [0x40e4dc]
mov byte [esp + 0x1f], al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], bl
cmp word [edi], bx
je 0x402b27
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp byte [esp + 0x1f], 1
jne 0x402a84
cmp dword [esp + 0x20], ebx
jne 0x4029fc
mov eax, dword [esi]
push str.HKCR
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, ebx
je 0x4029fc
mov ecx, dword [esi]
cmp eax, ecx
jne 0x4029fc
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.00402230
test eax, eax
je 0x402b56
mov byte [esp + 0x17], 1
mov ecx, dword [esi]
mov edx, 0x27
cmp dx, word [ecx]
jne 0x402a41
cmp byte [esp + 0x16], bl
jne 0x402a15
mov byte [esp + 0x16], 1
jmp 0x402a84
mov ecx, esi
call fcn.00401750
test eax, eax
je 0x402a26
mov byte [esp + 0x16], bl
jmp 0x402a47
mov eax, dword [esi]
push eax
call ebp
push 1
push eax
lea ecx, [esp + 0x2c]
mov dword [esi], eax
call fcn.004017e0
test eax, eax
je 0x402b56
cmp byte [esp + 0x16], bl
jne 0x402a84
mov ecx, dword [esi]
movzx eax, word [ecx]
cmp ax, 0x7b
jne 0x402a56
inc dword [esp + 0x20]
cmp ax, 0x7d
jne 0x402a84
sub dword [esp + 0x20], 1
jne 0x402a84
cmp byte [esp + 0x17], 1
jne 0x402a84
push 0x40a690
lea ecx, [esp + 0x28]
call fcn.00402230
test eax, eax
je 0x402b56
mov byte [esp + 0x17], bl
mov eax, dword [esi]
cmp word [eax], 0x25
jne 0x402b03
push eax
call ebp
mov dword [esi], eax
cmp word [eax], 0x25
je 0x402b03
push 0x25
push eax
call fcn.00401a00
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x402b60
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
cmp eax, 0x1f
jg 0x402b6a
push eax
push ecx
lea edx, [esp + 0x3c]
push 0x20
push edx
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
push eax
call fcn.00401280
mov ecx, dword [esi + 4]
add esp, 0x14
lea eax, [esp + 0x34]
push eax
call fcn.004028a0
cmp eax, ebx
je 0x402b60
push eax
lea ecx, [esp + 0x28]
call fcn.00402230
test eax, eax
je 0x402b56
cmp dword [esi], edi
je 0x402b13
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], eax
cmp eax, edi
jne 0x402af6
jmp 0x402b13
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.004017e0
test eax, eax
je 0x402b56
mov edx, dword [esi]
push edx
call ebp
mov dword [esi], eax
cmp word [eax], bx
jne 0x4029a1
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [ebp], eax
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x18]
jmp 0x402b79
mov dword [esp + 0x18], 0x8007000e
jmp 0x402b3a
mov dword [esp + 0x18], 0x80020009
jmp 0x402b3a
mov dword [esp + 0x18], 0x80004005
jmp 0x402b3a
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.004080de
add esp, 0x70
ret 8