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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov edi, str.ADVAPI32.dll
push str.RegOpenKeyExA
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.RegCloseKey
push edi
mov dword [ebp - 0x20], eax
call esi
push eax
call ebx
mov dword [ebp - 0x1c], eax
nop
nop
nop
nop
nop
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x178]
push ebx
push eax
mov dword [ebp - 8], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
nop
nop
nop
nop
nop
cmp eax, ebx
je 0x404fc8
nop
nop
nop
nop
nop
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push ebx
push eax
push connect
call dword [ebp - 0x20]
test eax, eax
jne 0x404fc8
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x178]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [ebp - 0x1c]
push 0x1f4
lea eax, [ebp - 0x36c]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x36c]
push str._s_shellopencommand
push eax
call dword [0x41dfb4]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x36c]
push ebx
push eax
push connect
call dword [ebp - 0x20]
test eax, eax
je 0x404fcf
xor al, al
jmp 0x4050e4
push esi
lea eax, [ebp - 0x178]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x178]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [ebp - 0x1c]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x178]
push 0x41b44c
push eax
call esi
pop ecx
pop ecx
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x40504f
lea eax, [ebp - 0x178]
push 0x41b448
push eax
call esi
pop ecx
cmp eax, ebx
pop ecx
jne 0x40504f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x178]
push 0x41b444
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x178]
push eax
call esi
jmp 0x40505a
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x70]
mov byte [ebp - 0x18], 0x57
rep stosd dword es:[edi], eax
mov dword [ebp - 0x74], 0x44
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x66
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], bl
je 0x4050b5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x6c], eax
push str.CreateProcessA
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x178]
push ebx
push ecx
push ebx
call eax
pop edi
pop esi
pop ebx
leave
ret 8