Function at 0x405950
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x370
push ebx
push ebp
push esi
push edi
push str.CreateProcessA
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x30], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x384]
push 0x2e
push eax
mov dword [esp + 0x34], 0x104
call sub.MSVCRT.dll_strrchr
add esp, 8
test eax, eax
jne 0x4059b2
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x370
ret 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push eax
push 0x80000000
call ebx
test eax, eax
je 0x4059df
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x370
ret 8
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x88]
push edx
push eax
push 0
push ecx
call esi
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
mov ecx, 0x7d
xor eax, eax
lea edi, [esp + 0x18c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
lea ecx, [esp + 0x18c]
push eax
push str._s_shellopencommand
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x18c]
push edx
push 0xf003f
push 0
push eax
push 0x80000000
call ebx
test eax, eax
je 0x405a64
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x370
ret 8
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x88]
lea edx, [esp + 0x88]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x104
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov al, 0x31
lea edx, [esp + 0x18]
mov byte [esp + 0x1a], al
mov byte [esp + 0x15], al
lea eax, [esp + 0x88]
mov cl, 0x25
push edx
push eax
mov byte [esp + 0x20], 0x22
mov byte [esp + 0x21], cl
mov byte [esp + 0x23], 0
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1e], 0
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
jne 0x405b16
lea ecx, [esp + 0x14]
lea edx, [esp + 0x88]
push ecx
push edx
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
jne 0x405b16
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x88]
push 0x475610
push eax
call esi
mov ecx, dword [esp + 0x384]
lea edx, [esp + 0x88]
push ecx
push edx
call esi
jmp 0x405b25
mov ecx, dword [esp + 0x384]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x48]
mov edx, 0x44
rep stosd dword es:[edi], eax
mov al, 0x61
mov cl, 0x74
mov byte [esp + 0x21], al
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x388]
mov dword [esp + 0x44], edx
test eax, eax
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x6e
mov byte [esp + 0x1f], 0x53
mov byte [esp + 0x20], cl
mov byte [esp + 0x22], 0x30
mov byte [esp + 0x23], 0x5c
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0x66
mov byte [esp + 0x28], 0x75
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0
je 0x405b9d
lea edx, [esp + 0x1c]
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x34]
lea ecx, [esp + 0x44]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0xa4]
push 0
push edx
push 0
call dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x370
ret 8