Function at 0x402500
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
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 0x402803
cmp ebp, ebx
je 0x402803
push edi
mov dword [ebp], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, eax
cmp eax, 0x64
jge 0x402568
mov eax, 0x3e8
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
cmp ecx, ebx
ja 0x40257b
cmp eax, 0xffffffff
jbe 0x40257f
xor eax, eax
jmp 0x402586
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x402590
mov byte [eax], bl
mov dword [esp + 0x64], ebx
cmp eax, ebx
jne 0x4025a9
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 0x8007000e
jmp 0x402808
mov dword [esi], edi
mov al, byte [0x4a5341]
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 0x4027e3
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esp + 0x1f], 1
jne 0x4026ae
cmp dword [esp + 0x20], 0
jne 0x402630
mov eax, dword [esi]
push str.HKCR
push eax
call fcn.00453e00
add esp, 8
test eax, eax
je 0x402630
mov ecx, dword [esi]
cmp eax, ecx
jne 0x402630
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.00402300
test eax, eax
je 0x402783
mov byte [esp + 0x17], 1
mov eax, dword [esi]
cmp byte [eax], 0x27
jne 0x402672
test bl, bl
jne 0x402642
mov byte [esp + 0x16], 1
jmp 0x4026ae
push eax
call ebp
cmp byte [eax], 0x27
je 0x402651
mov byte [esp + 0x16], 0
jmp 0x402676
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.00401a00
test eax, eax
je 0x402783
test bl, bl
jne 0x4026ae
mov edx, dword [esi]
mov al, byte [edx]
cmp al, 0x7b
jne 0x402682
inc dword [esp + 0x20]
cmp al, 0x7d
jne 0x4026ae
dec dword [esp + 0x20]
jne 0x4026ae
cmp byte [esp + 0x17], 1
jne 0x4026ae
push 0x477bf4
lea ecx, [esp + 0x28]
call fcn.00402300
test eax, eax
je 0x402783
mov byte [esp + 0x17], 0
mov edi, dword [esi]
cmp byte [edi], 0x25
push edi
jne 0x4026c2
call ebp
mov edi, eax
mov dword [esi], edi
cmp byte [edi], 0x25
jne 0x4026f2
push edi
call ebp
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.00401a00
test eax, eax
je 0x402783
mov eax, dword [esi]
push eax
call ebp
mov dword [esi], eax
cmp byte [eax], 0
je 0x4027df
mov bl, byte [esp + 0x16]
jmp 0x4025d5
push 0x25
push edi
call fcn.00401bc0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40279c
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0x1f
jg 0x4027b5
push eax
push ecx
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.00401430
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.00401eb0
cmp eax, 0xffffffff
je 0x40279c
test eax, eax
js 0x4027ce
cmp eax, dword [edi + 0xc]
jge 0x4027ce
mov ecx, dword [edi + 8]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x40279c
push eax
lea ecx, [esp + 0x28]
call fcn.00402300
test eax, eax
je 0x402783
cmp dword [esi], ebx
je 0x4026d9
mov edx, dword [esi]
push edx
call ebp
mov dword [esi], eax
cmp eax, ebx
jne 0x402773
jmp 0x4026d9
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 0x402808
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 0x402808
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 0x402808
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 0x402808
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.0045407e
add esp, 0x54
ret 8