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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x479060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x198], 0xdfc9d3cf
push 0xa
pop eax
mov dword [ebp - 0x194], 0xece8ffd3
mov edi, ecx
mov word [ebp - 0x190], 0xa4f0
lea edx, [ebp - 0x2c]
mov byte [ebp - 0x18e], bl
mov esi, ebx
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 9
test eax, eax
je 0x40a48e
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x198], al
inc esi
cmp esi, 0xa
jne 0x40a479
lea eax, [ebp - 0x198]
mov byte [ebp - 0x18e], 1
push eax
mov ecx, 0x479fa0
call fcn.00402f3d
cmp eax, 1
jne 0x40a4b2
xor al, al
jmp 0x40a8fe
push 0xa
pop eax
mov dword [ebp - 0x198], 0xdfc9d3cf
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x194], 0xece8ffd3
mov esi, ebx
mov word [ebp - 0x190], 0xa4f0
mov byte [ebp - 0x18e], bl
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 9
test eax, eax
je 0x40a541
push eax
pop ebx
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x198], al
inc esi
cmp esi, ebx
jne 0x40a52b
xor ebx, ebx
lea eax, [ebp - 0x198]
mov byte [ebp - 0x18e], 1
push eax
mov ecx, 0x479fa0
call fcn.00402f3d
push 2
pop ecx
cmp eax, ecx
je 0x40a4ab
cmp byte [0x479a95], 0
jne 0x40a8ab
push 0xa
pop eax
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], 3
mov dword [ebp - 0x178], 4
mov dword [ebp - 0x174], 5
mov dword [ebp - 0x170], 6
mov dword [ebp - 0x16c], 7
mov dword [ebp - 0x168], 8
mov dword [ebp - 0x164], 9
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], 0xb
mov dword [ebp - 0x158], 0xc
mov dword [ebp - 0x154], 0xd
mov dword [ebp - 0x150], 0xe
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x148], 0x10
mov dword [ebp - 0x144], 0x11
mov dword [ebp - 0x140], 0x12
mov dword [ebp - 0x13c], 0x13
mov dword [ebp - 0x138], 0x14
mov dword [ebp - 0x134], 0x15
mov dword [ebp - 0x130], 0x16
mov dword [ebp - 0x12c], 0x17
mov dword [ebp - 0x128], 0x18
mov dword [ebp - 0x124], 0x19
mov dword [ebp - 0x120], 0x1a
mov dword [ebp - 0x11c], 0x1b
mov dword [ebp - 0x118], 0x1c
mov dword [ebp - 0x114], 0x1d
mov dword [ebp - 0x110], 0x1e
mov dword [ebp - 0x10c], 0x1f
mov dword [ebp - 0x108], 0x20
mov dword [ebp - 0x104], 0x21
mov dword [ebp - 0x100], 0x22
mov dword [ebp - 0xfc], 0x23
mov dword [ebp - 0xf8], 0x24
mov dword [ebp - 0xf4], 0x25
mov dword [ebp - 0xf0], 0x26
mov dword [ebp - 0xec], 0x27
mov dword [ebp - 0xe8], 0x28
mov dword [ebp - 0xe4], 0x29
mov dword [ebp - 0xe0], 0x2a
mov dword [ebp - 0xdc], 0x2b
mov dword [ebp - 0xd8], 0x2c
mov dword [ebp - 0xd4], 0x2d
mov dword [ebp - 0xd0], 0x2e
mov dword [ebp - 0xcc], 0x2f
mov dword [ebp - 0xc8], 0x30
mov dword [ebp - 0xc4], 0x31
mov dword [ebp - 0xc0], 0x32
mov dword [ebp - 0xbc], 0x33
mov dword [ebp - 0xb8], 0x34
mov dword [ebp - 0xb4], 0x35
mov dword [ebp - 0xb0], 0x36
mov dword [ebp - 0xac], 0x37
mov dword [ebp - 0xa8], 0x38
mov dword [ebp - 0xa4], 0x39
mov dword [ebp - 0xa0], 0x3a
mov dword [ebp - 0x9c], 0x3b
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x3d
mov dword [ebp - 0x90], 0x3e
mov dword [ebp - 0x8c], 0x3f
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x84], 0x41
mov dword [ebp - 0x80], 0x42
mov dword [ebp - 0x7c], 0x43
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x74], 0x45
mov dword [ebp - 0x70], 0x46
mov dword [ebp - 0x6c], 0x47
mov dword [ebp - 0x68], 0x48
mov dword [ebp - 0x64], 0x49
mov dword [ebp - 0x60], 0x4a
mov dword [ebp - 0x5c], 0x4b
mov dword [ebp - 0x58], 0x4c
mov dword [ebp - 0x54], 0x4d
mov dword [ebp - 0x50], 0x4e
push 0x55
pop eax
mov dword [ebp - 0x4c], 0x4f
lea edx, [ebp - 0x188]
mov dword [ebp - 0x48], 0x50
mov esi, ebx
mov dword [ebp - 0x44], 0x51
mov dword [ebp - 0x40], 0x52
mov dword [ebp - 0x3c], 0x53
mov dword [ebp - 0x38], 0x54
test eax, eax
je 0x40a8a4
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x65]
xor byte [ecx + 0x479a40], al
inc esi
cmp esi, 0x55
jne 0x40a890
mov byte [0x479a95], 1
lea eax, [ebp - 0x19c]
push eax
push 0x20019
push ebx
push 0x479a40
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a8dd
push dword [ebp - 0x19c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40a4ab
push ebx
push ebx
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], ebx
push ecx
push 0x4082bb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ce
mov esp, ebp
pop ebp
ret