Function at 0x1400a2260
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x490
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140d81080]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rdi, qword [0x141256160]
or dword [rdi + 0x1ce8], 2
mov dword [rdi + 0x1d08], 0x43480000
mov dword [rdi + 0x1d0c], 0x43160000
mov dword [rdi + 0x1cf0], 1
movdqa xmm6, xmmword [0x140d62bc0]
mov dword [rbp + 0x200], 2
movups xmm0, xmmword [rdi + 0x1644]
movups xmmword [rbp + 0x204], xmm0
lea rcx, [rdi + 0x1d70]
lea rdx, [rbp + 0x200]
call fcn.1400d0ba0
movups xmmword [rdi + 0x1644], xmm6
mov rbx, qword [0x141256160]
mov dword [rbp + 0x200], 5
movups xmm0, xmmword [rbx + 0x1674]
movups xmmword [rbp + 0x204], xmm0
lea rcx, [rbx + 0x1d70]
lea rdx, [rbp + 0x200]
call fcn.1400d0ba0
movups xmmword [rbx + 0x1674], xmm6
movss xmm1, dword [rdi + 0x14]
mulss xmm1, dword [0x140d6202c]
movss xmm0, dword [rdi + 0x10]
mulss xmm0, dword [0x140d62054]
mov rax, qword [0x141256160]
or dword [rax + 0x1ce8], 1
movss dword [rax + 0x1cf8], xmm0
movss dword [rax + 0x1cfc], xmm1
mov dword [rax + 0x1d00], 0x3f000000
mov dword [rax + 0x1d04], 0x3dcccccd
mov dword [rax + 0x1cec], 4
mov rcx, qword [0x141255100]
call fcn.1400c8d30
xor edx, edx
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rcx, [0x140d5f7f8]
call fcn.1400c64d0
xor edi, edi
mov r12d, edi
mov r13d, edi
mov esi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x290], xmm1
xor r8d, r8d
lea rdx, [0x140d5d71a]
lea rcx, [rbp + 0x280]
call fcn.1400643b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x270], xmm1
xor r8d, r8d
lea rdx, [0x140d5d71a]
lea rcx, [rbp + 0x260]
call fcn.1400643b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x250], xmm1
xor r8d, r8d
lea rdx, [0x140d5d71a]
lea rcx, [rbp + 0x240]
call fcn.1400643b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x230], xmm1
xor r8d, r8d
lea rdx, [0x140d5d71a]
lea rcx, [rbp + 0x220]
call fcn.1400643b0
nop
mov rcx, qword [0x1412550b0]
call fcn.1400c8d30
movdqa xmm6, xmmword [0x140d62bd0]
mov rbx, qword [0x141256160]
mov dword [rbp + 0x200], edi
movups xmm0, xmmword [rbx + 0x1624]
movups xmmword [rbp + 0x204], xmm0
lea rcx, [rbx + 0x1d70]
lea rdx, [rbp + 0x200]
call fcn.1400d0ba0
movups xmmword [rbx + 0x1624], xmm6
movdqa xmm0, xmmword [0x140d640f0]
movdqu xmmword [rbp + 0x200], xmm0
mov dword [rbp + 0x210], 0x10099d6
lea rcx, [rbp + 0x200]
call fcn.140063950
lea r11, [rbp + 0x200]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r11 + r8], 0
jne 0x1400a2500
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x280]
call fcn.140064210
lea rcx, [rbp + 0x280]
cmp qword [rbp + 0x298], 0xf
cmova rcx, qword [rbp + 0x280]
call fcn.1400e5fd0
mov r8, qword [0x141256160]
movsxd rax, dword [r8 + 0x1d70]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1d78]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x1624], xmm0
dec dword [r8 + 0x1d70]
call fcn.1400c8dd0
mov r15, qword [0x141256330]
mov rbx, qword [0x141256338]
mov qword [rsp + 0x28], rbx
cmp r15, rbx
je 0x1400a28d6
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.1400723b0
nop
cmp byte [rsp + 0x69], 0
je 0x1400a2816
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x320]
call fcn.14006be60
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x2c0]
call fcn.1400ba850
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], rdi
mov qword [rbp + 0x218], rdi
lea r14, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0xf
cmova r14, qword [rbp + 0x2c0]
mov rsi, qword [rbp + 0x2d0]
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1400a2df0
cmp rsi, 0xf
ja 0x1400a263c
mov qword [rbp + 0x210], rsi
mov qword [rbp + 0x218], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x200], xmm0
jmp 0x1400a26dc
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x1400a265b
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400a268c
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400a2676
mov rax, rdi
jmp 0x1400a26b3
cmp rcx, 0x1000
jb 0x1400a26ae
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a2dea
mov rcx, rax
call fcn.14017e5c8
mov rcx, rax
test rax, rax
je 0x1400a2de3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400a26b3
call fcn.14017e5c8
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x210], rsi
mov qword [rbp + 0x218], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x28]
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x2a0]
call fcn.140064090
nop
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140064090
mov rdx, rax
lea rcx, [rbp + 0x300]
call fcn.14008e370
nop
cvttss2si edx, dword [rbp - 0x74]
lea rcx, [rbp + 0x2e0]
call fcn.140090800
nop
cmp qword [rbp + 0x2b0], 0
je 0x1400a27c4
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x260]
call fcn.14006c090
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp + 0x260]
call fcn.140064210
inc r12d
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x240]
call fcn.14006c090
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp + 0x240]
call fcn.140064210
inc r13d
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x220]
call fcn.14006c090
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp + 0x220]
call fcn.140064210
mov esi, dword [rsp + 0x20]
inc esi
mov dword [rsp + 0x20], esi
jmp 0x1400a27c8
mov esi, dword [rsp + 0x20]
lea rcx, [rbp + 0x2e0]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x300]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x200]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x2c0]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x320]
call fcn.14006c930
nop
lea rcx, [rbp + 0xe0]
call fcn.1400641b0
lea rcx, [rbp + 0x80]
call fcn.1400641b0
lea rcx, [rbp + 0x58]
call fcn.1400641b0
lea rcx, [rbp + 0x38]
call fcn.1400641b0
lea rcx, [rbp + 0x18]
call fcn.1400641b0
lea rcx, [rbp - 8]
call fcn.1400641b0
lea rcx, [rbp - 0x28]
call fcn.1400641b0
lea rcx, [rbp - 0x48]
call fcn.1400641b0
lea rcx, [rbp - 0x68]
call fcn.14006c930
add r15, 0x298
cmp r15, rbx
jne 0x1400a2590
test r12d, r12d
jle 0x1400a289b
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp + 0x260]
call fcn.140064210
test r13d, r13d
jle 0x1400a28b9
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp + 0x240]
call fcn.140064210
test esi, esi
jle 0x1400a28d6
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp + 0x220]
call fcn.140064210
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
mov rdx, qword [rax + 0x1c0]
test rdx, rdx
je 0x1400a290f
cmp dword [rdx + 0x10], 3
jne 0x1400a290a
cmp dword [rdx + 4], 0
je 0x1400a2923
call fcn.1400e52a0
xor r8d, r8d
mov edx, 3
call fcn.1400e49b0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2945
mov eax, dword [rax + 0x1cc]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1400e8d70
mov dword [rsp + 0x20], 0xecf5ffc2
mov dword [rsp + 0x24], 0x100e5f3
movdqa xmm7, xmmword [0x140d62440]
mov rcx, rdi
movdqa xmm8, xmmword [0x140d64eb0]
movdqa xmm9, xmmword [0x140d625b0]
movq xmm0, rcx
punpcklqdq xmm0, xmm0
paddq xmm0, xmm7
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm8
paddd xmm1, xmm0
movzx eax, word [rsp + rcx + 0x20]
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd eax, xmm1
mov word [rsp + rcx + 0x20], ax
add rcx, 2
cmp rcx, 6
jb 0x1400a2972
mov byte [rsp + 0x27], 0
lea rcx, [rsp + 0x20]
call fcn.1400e5fd0
call fcn.1400e4fa0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
movss xmm6, dword [0x140d62388]
cmp byte [rax + 0xa3], 0
jne 0x1400a2a1c
mov qword [rsp + 0x20], 0
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.1400c9680
mov dword [rsp + 0x20], 0xe5f5f6c5
mov dword [rsp + 0x24], 0x100f9f9
nop dword [rax]
movq xmm0, rdi
punpcklqdq xmm0, xmm0
paddq xmm0, xmm7
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm8
paddd xmm1, xmm0
movzx eax, word [rsp + rdi + 0x20]
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd eax, xmm1
mov word [rsp + rdi + 0x20], ax
add rdi, 2
cmp rdi, 6
jb 0x1400a2a30
mov byte [rsp + 0x27], 0
lea rcx, [rsp + 0x20]
call fcn.1400e5fd0
call fcn.1400e4fa0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2ad2
mov qword [rsp + 0x20], 0
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.1400c9680
mov dword [rsp + 0x22], 0x65706f
mov word [rsp + 0x20], 0x6353
mov byte [rsp + 0x26], 0
lea rcx, [rsp + 0x20]
call fcn.1400e5fd0
call fcn.1400e4fa0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2b37
mov qword [rsp + 0x20], 0
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.1400c9680
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2b59
mov eax, dword [rax + 0x1cc]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1400e8d70
mov r8d, 1
lea rdx, [0x140d5d8c4]
lea rcx, [rbp + 0x260]
call fcn.140064210
cmp qword [rax + 0x18], 0xf
jbe 0x1400a2b7c
mov rax, qword [rax]
mov rcx, rax
call fcn.1400e5fd0
call fcn.1400e4fa0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2bc4
mov qword [rsp + 0x20], 0
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.1400c9680
mov r8d, 1
lea rdx, [0x140d5d8c4]
lea rcx, [rbp + 0x240]
call fcn.140064210
cmp qword [rax + 0x18], 0xf
jbe 0x1400a2be7
mov rax, qword [rax]
mov rcx, rax
call fcn.1400e5fd0
call fcn.1400e4fa0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2c2f
mov qword [rsp + 0x20], 0
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.1400c9680
mov r8d, 1
lea rdx, [0x140d5d8c4]
lea rcx, [rbp + 0x220]
call fcn.140064210
cmp qword [rax + 0x18], 0xf
jbe 0x1400a2c52
mov rax, qword [rax]
mov rcx, rax
call fcn.1400e5fd0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
mov rdx, qword [rax + 0x1c0]
test rdx, rdx
je 0x1400a2c9a
cmp dword [rdx + 0x10], 1
jne 0x1400a2c8e
cmp dword [rdx + 4], 0
je 0x1400a2c9a
call fcn.1400e52a0
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2cd5
mov qword [rsp + 0x20], 0
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.1400c9680
mov rcx, qword [0x141256160]
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0xa3], 0
jne 0x1400a2cf7
mov eax, dword [rax + 0x1cc]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1400e8d70
call fcn.1400c8840
call fcn.1400c8dd0
mov r8, qword [0x141256160]
movsxd rax, dword [r8 + 0x1d70]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1d78]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x1624], xmm0
movsxd rcx, dword [r8 + 0x1d70]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d70], eax
lea rax, [rcx - 2]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1d78]
movsxd rax, dword [rcx + rdx*4]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 + 4]
movups xmmword [r8 + rax*8 + 0x1624], xmm0
dec dword [r8 + 0x1d70]
lea rcx, [rbp + 0x220]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x240]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x260]
call fcn.1400641b0
nop
lea rcx, [rbp + 0x280]
call fcn.1400641b0
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.14017e360
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140044a10
int3
call fcn.140044ab0
int3