Function at 0x402d60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4529c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x30], ebp
cmp edi, ebx
je 0x403063
cmp ebp, ebx
je 0x403063
push edi
mov dword [ebp], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, eax
cmp eax, 0x64
jge 0x402dc8
mov eax, 0x3e8
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
cmp ecx, ebx
ja 0x402ddb
cmp eax, 0xffffffff
jbe 0x402ddf
xor eax, eax
jmp 0x402de6
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x402df0
mov byte [eax], bl
mov dword [esp + 0x64], ebx
cmp eax, ebx
jne 0x402e09
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 0x8007000e
jmp 0x403068
mov dword [esi], edi
mov al, byte [0x470cc1]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
xor bl, bl
mov byte [esp + 0x1f], al
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], bl
cmp byte [edi], bl
je 0x403043
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esp + 0x1f], 1
jne 0x402f0e
cmp dword [esp + 0x20], 0
jne 0x402e90
mov eax, dword [esi]
push str.HKCR
push eax
call fcn.0043be80
add esp, 8
test eax, eax
je 0x402e90
mov ecx, dword [esi]
cmp eax, ecx
jne 0x402e90
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.00402b60
test eax, eax
je 0x402fe3
mov byte [esp + 0x17], 1
mov eax, dword [esi]
cmp byte [eax], 0x27
jne 0x402ed2
test bl, bl
jne 0x402ea2
mov byte [esp + 0x16], 1
jmp 0x402f0e
push eax
call ebp
cmp byte [eax], 0x27
je 0x402eb1
mov byte [esp + 0x16], 0
jmp 0x402ed6
mov ecx, dword [esi]
push ecx
call ebp
mov edi, eax
push edi
mov dword [esi], edi
call ebp
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.00402260
test eax, eax
je 0x402fe3
test bl, bl
jne 0x402f0e
mov edx, dword [esi]
mov al, byte [edx]
cmp al, 0x7b
jne 0x402ee2
inc dword [esp + 0x20]
cmp al, 0x7d
jne 0x402f0e
dec dword [esp + 0x20]
jne 0x402f0e
cmp byte [esp + 0x17], 1
jne 0x402f0e
push 0x4597d4
lea ecx, [esp + 0x28]
call fcn.00402b60
test eax, eax
je 0x402fe3
mov byte [esp + 0x17], 0
mov edi, dword [esi]
cmp byte [edi], 0x25
push edi
jne 0x402f22
call ebp
mov edi, eax
mov dword [esi], edi
cmp byte [edi], 0x25
jne 0x402f52
push edi
call ebp
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.00402260
test eax, eax
je 0x402fe3
mov eax, dword [esi]
push eax
call ebp
mov dword [esi], eax
cmp byte [eax], 0
je 0x40303f
mov bl, byte [esp + 0x16]
jmp 0x402e35
push 0x25
push edi
call fcn.00402420
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x402ffc
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0x1f
jg 0x403015
push eax
push ecx
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.00401cb0
mov edi, dword [esi + 4]
lea ecx, [esp + 0x48]
add esp, 0x10
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [edi + 4]
call fcn.00402710
cmp eax, 0xffffffff
je 0x402ffc
test eax, eax
js 0x40302e
cmp eax, dword [edi + 0xc]
jge 0x40302e
mov ecx, dword [edi + 8]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x402ffc
push eax
lea ecx, [esp + 0x28]
call fcn.00402b60
test eax, eax
je 0x402fe3
cmp dword [esi], ebx
je 0x402f39
mov edx, dword [esi]
push edx
call ebp
mov dword [esi], eax
cmp eax, ebx
jne 0x402fd3
jmp 0x402f39
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x1c], 0x8007000e
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x18]
jmp 0x403068
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x1c], 0x80020009
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x18]
jmp 0x403068
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x1c], 0x80004005
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x18]
jmp 0x403068
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x2c]
push edx
mov dword [ebp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x18]
jmp 0x403068
mov eax, 0x80004003
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x54
ret 8