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

Disassembly:
sub esp, 0x1a4
or ecx, 0xffffffff
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x1b0]
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x408113
mov al, 0x6f
mov cl, 0x70
mov byte [esp + 0x29], al
mov byte [esp + 0x32], al
mov byte [esp + 0x40], al
mov byte [esp + 0x46], al
mov al, 0x6d
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], cl
mov byte [esp + 0x30], cl
mov byte [esp + 0x41], cl
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xac]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
lea ecx, [esp + 0x20]
push eax
push 0xf003f
push 0
mov bl, 0x65
mov dl, 0x78
push ecx
push 0x80000000
mov byte [esp + 0x34], 0x41
mov byte [esp + 0x37], 0x6c
mov byte [esp + 0x38], 0x69
mov byte [esp + 0x39], 0x63
mov byte [esp + 0x3a], 0x61
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3c], 0x69
mov byte [esp + 0x3e], 0x6e
mov byte [esp + 0x3f], 0x73
mov byte [esp + 0x40], 0x5c
mov byte [esp + 0x41], 0x69
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], dl
mov byte [esp + 0x45], 0x6c
mov byte [esp + 0x47], 0x72
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 0x2e
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], dl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x5c
mov byte [esp + 0x4e], 0x73
mov byte [esp + 0x4f], 0x68
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], 0x6c
mov byte [esp + 0x53], 0x5c
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], 0x6e
mov byte [esp + 0x58], 0x5c
mov byte [esp + 0x59], 0x63
mov byte [esp + 0x5d], 0x61
mov byte [esp + 0x5e], 0x6e
mov byte [esp + 0x5f], 0x64
mov byte [esp + 0x60], 0
mov dword [esp + 0x68], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408113
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x54]
lea eax, [esp + 0xac]
push edx
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x408113
lea ecx, [esp + 0xc]
lea edx, [esp + 0xac]
push ecx
push edx
mov byte [esp + 0x14], 0x25
mov byte [esp + 0x15], 0x31
mov byte [esp + 0x16], 0
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
je 0x408113
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x6c]
mov byte [esp + 0x10], 0x57
rep stosd dword es:[edi], eax
mov eax, 0x44
mov byte [esp + 0x11], 0x69
mov dword [esp + 0x68], eax
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x1b8]
mov byte [esp + 0x12], 0x6e
test eax, eax
mov byte [esp + 0x13], 0x53
mov byte [esp + 0x14], 0x74
mov byte [esp + 0x15], 0x61
mov byte [esp + 0x16], 0x30
mov byte [esp + 0x17], 0x5c
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x66
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x1f], 0
je 0x4080ed
lea eax, [esp + 0x10]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x58]
lea edx, [esp + 0x68]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xc8]
push 0
push eax
push 0
call dword [0x478134]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x1a4
ret