Function at 0x1401909c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r15
mov eax, 0x78
call fcn.140335780
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov r10, qword [rcx + 0x168]
mov rsi, r9
mov rcx, qword [rcx + 0x38]
mov r12, r8
mov qword [rsp + 0x50], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov qword [rsp + 0x48], r10
mov r15, rdx
cmp rcx, rax
ja 0x140190d02
cmp rcx, r9
jb 0x140190d02
mov qword [rsp + 0xa8], rbp
lea rax, [rbx + 0x40]
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x70], rdi
xor edi, edi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0xa0], ebp
mov qword [rsp + 0x40], rax
cmp dword [rbx + 0x174], edi
je 0x140190ace
test r9, r9
jne 0x140190a92
lea rdx, [rbx + 0x60]
mov rcx, rax
call qword [rbx + 0x160]
mov dword [rbx + 0x174], edi
mov r13, qword [rsp + 0x68]
xor eax, eax
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x60]
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret
movups xmm0, xmmword [rax]
lea rdx, [rbx + 0x188]
mov dword [rsp + 0x30], edi
lea rcx, [rbx + 0xc]
mov ebp, reloc.WS2_32.dll_recv
movups xmmword [rdx], xmm0
mov qword [rax], rdi
mov r14d, edi
mov qword [rbx + 0x48], rdi
mov r13d, dword [rcx]
bswap r13d
mov dword [rsp + 0xa0], ebp
mov dword [rbx + 0x174], edi
jmp 0x140190b65
mov r13d, dword [rbx + 0xc]
lea rcx, [rbx + 0xc]
mov r14d, ebp
mov qword [rsp + 0x38], rcx
and r14d, 0xf
lea rdx, [rbx + 0x188]
bswap r13d
mov dword [rsp + 0x30], r14d
je 0x140190b6a
test rsi, rsi
je 0x140190cf7
movzx edx, byte [r15]
dec rsi
mov eax, ebp
inc r15
inc ebp
mov byte [rax + rbx + 0x188], dl
movzx ecx, byte [r14 + rbx + 0x10]
xor cl, dl
mov byte [r12], cl
inc r12
inc r14d
and r14d, 0xf
jne 0x140190af3
lea r8, [rbx + 0x188]
mov r9d, ebp
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call r10
mov r10, qword [rsp + 0x48]
lea rax, [rbx + 0x40]
mov qword [rsp + 0x40], rax
lea rdx, [rbx + 0x188]
mov ebp, edi
mov dword [rsp + 0xa0], edi
mov dword [rsp + 0x30], r14d
lea rcx, [rbx + 0xc]
mov qword [rsp + 0x38], rcx
lea rcx, [rbx + 0x60]
cmp rsi, 0x10
jb 0x140190b90
test ebp, ebp
je 0x140190b90
mov r8, rdx
mov r9d, ebp
mov rdx, rcx
mov rcx, rax
call r10
mov ebp, edi
mov dword [rsp + 0xa0], edi
cmp rsi, 0xc00
jb 0x140190c37
mov r14, qword [rsp + 0x40]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add rsi, rax
mov qword [rsp + 0xb8], rsi
mov rsi, qword [rsp + 0x38]
nop dword [rax]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
mov r8, r15
mov rcx, r14
call qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r8d, 0xc0
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, r15
call qword [rsp + 0xc0]
add r13d, 0xc0
add r12, 0xc00
mov eax, r13d
add r15, 0xc00
bswap eax
mov dword [rsi], eax
sub rdi, 1
jne 0x140190bd0
mov rsi, qword [rsp + 0xb8]
mov ebp, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0x30]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0xb8], rax
je 0x140190c9e
mov rcx, qword [rsp + 0x40]
lea rdx, [rbx + 0x60]
mov rdi, rax
mov r9, rax
mov r8, r15
shr rdi, 4
call qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r8, rdi
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, r15
call qword [rsp + 0xc0]
add r13d, edi
mov rdi, qword [rsp + 0x38]
mov eax, r13d
bswap eax
mov dword [rdi], eax
mov rax, qword [rsp + 0xb8]
add r12, rax
add r15, rax
sub rsi, rax
jmp 0x140190ca3
mov rdi, qword [rsp + 0x38]
test rsi, rsi
je 0x140190cf7
mov r8, qword [rsp + 0x50]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r13d
bswap r13d
mov dword [rdi], r13d
nop dword [rax]
nop word [rax + rax]
mov edx, r14d
inc r14d
mov eax, ebp
inc ebp
movzx ecx, byte [rdx + r15]
mov byte [rax + rbx + 0x188], cl
movzx eax, byte [rdx + rbx + 0x10]
xor al, cl
mov byte [rdx + r12], al
sub rsi, 1
jne 0x140190cd0
mov dword [rbx + 0x170], ebp
jmp 0x140190a6e
mov eax, 0xffffffff
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret