Function at 0x409eeb
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x429014]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x18], 0x7a6e766c
push 0xa
pop eax
mov dword [esp + 0x1c], 0x71776270
mov edi, ecx
mov word [esp + 0x20], 0x4113
lea edx, [esp + 0x28]
mov byte [esp + 0x22], bl
mov esi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], 6
mov dword [esp + 0x44], 7
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 9
test eax, eax
je 0x409f96
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx + 0x38]
xor byte [esp + ecx + 0x18], al
inc esi
cmp esi, 0xa
jne 0x409f84
lea eax, [esp + 0x18]
mov byte [esp + 0x22], 1
push eax
mov ecx, 0x429ea0
call fcn.00403095
cmp eax, 1
jne 0x409fb6
xor al, al
jmp 0x40a45c
push 0xa
pop eax
mov dword [esp + 0x18], 0x7a6e766c
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], 0x71776270
mov esi, ebx
mov word [esp + 0x20], 0x4113
mov byte [esp + 0x22], bl
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], 6
mov dword [esp + 0x44], 7
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 9
test eax, eax
je 0x40a043
push eax
pop ebx
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx + 0x38]
xor byte [esp + ecx + 0x18], al
inc esi
cmp esi, ebx
jne 0x40a030
xor ebx, ebx
lea eax, [esp + 0x18]
mov byte [esp + 0x22], 1
push eax
mov ecx, 0x429ea0
call fcn.00403095
push 2
pop ecx
cmp eax, ecx
je 0x409faf
cmp byte [0x4299a5], 0
jne 0x40a411
push 0xa
pop eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], 4
mov dword [esp + 0x64], 5
mov dword [esp + 0x68], 6
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], 8
mov dword [esp + 0x74], 9
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0xb
mov dword [esp + 0x80], 0xc
mov dword [esp + 0x84], 0xd
mov dword [esp + 0x88], 0xe
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x90], 0x10
mov dword [esp + 0x94], 0x11
mov dword [esp + 0x98], 0x12
mov dword [esp + 0x9c], 0x13
mov dword [esp + 0xa0], 0x14
mov dword [esp + 0xa4], 0x15
mov dword [esp + 0xa8], 0x16
mov dword [esp + 0xac], 0x17
mov dword [esp + 0xb0], 0x18
mov dword [esp + 0xb4], 0x19
mov dword [esp + 0xb8], 0x1a
mov dword [esp + 0xbc], 0x1b
mov dword [esp + 0xc0], 0x1c
mov dword [esp + 0xc4], 0x1d
mov dword [esp + 0xc8], 0x1e
mov dword [esp + 0xcc], 0x1f
mov dword [esp + 0xd0], 0x20
mov dword [esp + 0xd4], 0x21
mov dword [esp + 0xd8], 0x22
mov dword [esp + 0xdc], 0x23
mov dword [esp + 0xe0], 0x24
mov dword [esp + 0xe4], 0x25
mov dword [esp + 0xe8], 0x26
mov dword [esp + 0xec], 0x27
mov dword [esp + 0xf0], 0x28
mov dword [esp + 0xf4], 0x29
mov dword [esp + 0xf8], 0x2a
mov dword [esp + 0xfc], 0x2b
mov dword [esp + 0x100], 0x2c
mov dword [esp + 0x104], 0x2d
mov dword [esp + 0x108], 0x2e
mov dword [esp + 0x10c], 0x2f
mov dword [esp + 0x110], 0x30
mov dword [esp + 0x114], 0x31
mov dword [esp + 0x118], 0x32
mov dword [esp + 0x11c], 0x33
mov dword [esp + 0x120], 0x34
mov dword [esp + 0x124], 0x35
mov dword [esp + 0x128], 0x36
mov dword [esp + 0x12c], 0x37
mov dword [esp + 0x130], 0x38
mov dword [esp + 0x134], 0x39
mov dword [esp + 0x138], 0x3a
mov dword [esp + 0x13c], 0x3b
mov dword [esp + 0x140], 0x3c
mov dword [esp + 0x144], 0x3d
mov dword [esp + 0x148], 0x3e
mov dword [esp + 0x14c], 0x3f
mov dword [esp + 0x150], 0x40
mov dword [esp + 0x154], 0x41
mov dword [esp + 0x158], 0x42
mov dword [esp + 0x15c], 0x43
mov dword [esp + 0x160], 0x44
mov dword [esp + 0x164], 0x45
mov dword [esp + 0x168], 0x46
mov dword [esp + 0x16c], 0x47
mov dword [esp + 0x170], 0x48
mov dword [esp + 0x174], 0x49
mov dword [esp + 0x178], 0x4a
mov dword [esp + 0x17c], 0x4b
mov dword [esp + 0x180], 0x4c
mov dword [esp + 0x184], 0x4d
mov dword [esp + 0x188], 0x4e
push 0x55
pop eax
mov dword [esp + 0x18c], 0x4f
lea edx, [esp + 0x50]
mov dword [esp + 0x190], 0x50
mov esi, ebx
mov dword [esp + 0x194], 0x51
mov dword [esp + 0x198], 0x52
mov dword [esp + 0x19c], 0x53
mov dword [esp + 0x1a0], 0x54
test eax, eax
je 0x40a40a
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx + 0x38]
xor byte [ecx + 0x429950], al
inc esi
cmp esi, 0x55
jne 0x40a3f6
mov byte [0x4299a5], 1
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push 0x429950
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a43f
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409faf
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push 0x407dde
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x14], eax
mov al, 1
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040af01
mov esp, ebp
pop ebp
ret