Function at 0x180071090
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 r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x18050e060]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, qword [0x18050f810]
test rbx, rbx
je 0x1800710ec
inc dword [rbx + 0xf4]
mov ecx, 0x5df8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x90], rcx
mov qword [rbp - 0x10], rax
xor edi, edi
test rax, rax
je 0x18007111f
xor edx, edx
mov rcx, rax
call fcn.1800055d0
jmp 0x180071122
mov rax, rdi
mov qword [0x18050f810], rax
call fcn.180009ba0
mov rsi, qword [0x18050f810]
test rbx, rbx
cmovne rsi, rbx
mov qword [0x18050f810], rsi
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp], xmm6
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x20], xmm6
movups xmmword [rbp + 0x40], xmm6
movups xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x18], 3
mov dword [rbp + 0x1c], 1
mov dword [rbp + 0x44], 0x7f7fffff
mov dword [rbp + 0x50], 0x3f800000
mov r15d, 0xffff
mov word [rbp + 0x54], r15w
mov byte [rbp + 0x48], 1
mov byte [rbp + 0x20], 1
mov r14, qword [rsi + 0x58]
movups xmm0, xmmword [0x1804f6ee0]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1804f6ef0]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x1804f6ef8]
mov word [rsp + 0x58], ax
movzx eax, byte [0x1804f6efa]
mov byte [rsp + 0x5a], al
mov r8d, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180071331
movdqa xmm5, xmmword [0x1804f9e00]
movdqa xmm4, xmmword [0x1804faed0]
mov eax, reloc.WLDAP32.dll_Ordinal_26
movd xmm7, eax
movdqa xmm8, xmmword [0x1804f9f50]
mov eax, Ordinal_35
movd xmm9, eax
movdqa xmm0, xmmword [0x1804fa090]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp - 0x10]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1804f9f00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1804f9f00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x180071220
cmp r8d, 0x1b
jge 0x180071373
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x8b6e9cf9
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x74
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1b
jl 0x180071340
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180007140
mov rbx, rax
test rax, rax
je 0x180071554
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x20], rax
mov byte [rsp + 0x6c], 1
mov dword [rsp + 0x78], 3
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x5c], 0x7f7fffff
mov dword [rbp - 0x50], 0x3f800000
mov word [rbp - 0x4c], r15w
movups xmm3, xmmword [rsp + 0x60]
movups xmmword [rbp + 0xa0], xmm3
movups xmm4, xmmword [rsp + 0x70]
movups xmmword [rbp + 0xb0], xmm4
movups xmmword [rbp + 0xc0], xmm1
xorps xmm5, xmm5
movups xmmword [rbp + 0xd0], xmm5
movups xmm7, xmmword [rbp - 0x60]
movups xmmword [rbp + 0xe0], xmm7
movups xmm2, xmmword [rbp - 0x50]
movups xmmword [rbp + 0xf0], xmm2
xorps xmm8, xmm8
movups xmmword [rbp + 0x100], xmm8
xorps xmm9, xmm9
movups xmmword [rbp + 0x110], xmm9
movsd xmm10, qword [rbp - 0x20]
movsd qword [rbp + 0x120], xmm10
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x180071505
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180071460
lea r9, [rsp + 0x40]
add r9, rax
lea rax, [rsp + 0x40]
cmp r9, rax
jbe 0x18007149c
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x18007149c
cmp al, 0x5c
je 0x18007149c
mov r9, rcx
lea rax, [rsp + 0x40]
cmp rcx, rax
ja 0x180071480
movsd xmm0, qword [0x1804f9b38]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0xf6]
call fcn.180006dc0
movsd xmm10, qword [rbp + 0x120]
movups xmm9, xmmword [rbp + 0x110]
movups xmm8, xmmword [rbp + 0x100]
movups xmm2, xmmword [rbp + 0xf0]
movups xmm7, xmmword [rbp + 0xe0]
movups xmm5, xmmword [rbp + 0xd0]
movups xmm1, xmmword [rbp + 0xc0]
movups xmm4, xmmword [rbp + 0xb0]
movups xmm3, xmmword [rbp + 0xa0]
movups xmmword [rsp + 0x60], xmm3
movups xmmword [rsp + 0x70], xmm4
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm5
movups xmmword [rbp - 0x60], xmm7
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm8
movups xmmword [rbp - 0x30], xmm9
movsd qword [rbp - 0x20], xmm10
mov qword [rsp + 0x60], rbx
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x74], 0x41700000
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.18002b9c0
mov rdi, rax
mov rcx, qword [0x1805102e0]
mov qword [rcx], rdi
mov r14, qword [rsi + 0x58]
mov rax, qword [0x18050f810]
test rax, rax
je 0x180071574
inc dword [rax + 0xf4]
mov ecx, 0x286ac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
lea rax, [0x1803d47f0]
mov qword [0x18050fe08], rax
lea rdi, [rsi + 0x286ac]
mov qword [0x18050fe58], rdi
mov qword [0x18050fe60], rsi
mov qword [0x18050fe68], rsi
lea rbx, [0x1803d4800]
mov rcx, rbx
call fcn.18002fd10
cmp rax, rbx
je 0x1800715d9
cmp qword [0x18050fe68], rdi
ja 0x1800715d9
mov rbx, rax
mov rcx, rax
call fcn.18002fd10
cmp rax, rbx
jne 0x1800715c0
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x60], xmm0
movups xmm2, xmmword [rbp + 0x10]
movups xmm3, xmmword [rbp + 0x20]
movups xmm4, xmmword [rbp + 0x40]
movups xmm5, xmmword [rbp + 0x50]
movsd xmm1, qword [rbp + 0x80]
mov byte [rsp + 0x6c], 1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm3
movups xmmword [rbp - 0x70], xmm6
movups xmmword [rbp - 0x60], xmm4
movups xmmword [rbp - 0x50], xmm5
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm6
movsd qword [rbp - 0x20], xmm1
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x286ac
mov dword [rsp + 0x74], 0x41980000
lea rax, [0x1804f7864]
mov qword [rbp - 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.18002b9c0
mov qword [0x18050fa50], rax
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1801017e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret