Function at 0x14004b480
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x118
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14010bcf8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [rsp + 0x1a0]
mov r13d, r9d
mov r12, qword [rsp + 0x190]
mov r15d, r13d
mov ebx, r13d
shr r15d, 4
and ebx, 0xf
mov qword [rbp + 0x20], rax
mov eax, dword [rsp + 0x188]
mov r14, r8
mov dword [rbp + 0xc], r9d
mov rsi, rdx
mov r9, qword [rsp + 0x180]
mov qword [rbp + 0x10], rdx
mov qword [rbp], rcx
mov qword [rbp + 0x18], r12
mov dword [rbp + 8], ebx
cmp eax, 0xc
jne 0x14004b519
movsd xmm0, qword [r9]
mov eax, dword [r9 + 8]
movsd qword [rbp + 0x60], xmm0
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], 0x1000000
jmp 0x14004b53f
lea rdx, [rbp + 0x60]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rdx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call fcn.14004ad50
mov rcx, qword [rbp]
mov rdx, rsi
movaps xmm0, xmmword [rbp + 0x60]
mov edi, reloc.WS2_32.dll_ntohs
movaps xmmword [rbp + 0x80], xmm0
test r15d, r15d
je 0x14004b645
mov r13, r14
lea rax, [rbp + 0x40]
sub r13, rdx
lea rbx, [rdx + 0xf]
mov r12, r13
sub r12, rax
nop dword [rax]
dec r15d
mov rax, rdi
add byte [rbp + rax + 0x60], 1
jne 0x14004b586
dec rax
cmp rax, 0xc
jge 0x14004b576
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x60]
call fcn.140042f40
mov rax, rsi
lea rcx, [rbp + 0x40]
or rax, r14
or rax, rcx
test al, 7
jne 0x14004b5bd
mov rax, qword [rbp + 0x40]
xor rax, qword [r14]
mov qword [rsi], rax
mov rax, qword [rbp + 0x48]
xor rax, qword [rbx + r13 - 7]
mov qword [rbx - 7], rax
jmp 0x14004b621
lea rax, [rbp + 0x4f]
cmp rsi, rax
ja 0x14004b5cf
lea rax, [rbp + 0x40]
cmp rbx, rax
jae 0x14004b5dd
lea rax, [rbx + r13]
cmp rsi, rax
ja 0x14004b613
cmp rbx, r14
jb 0x14004b613
lea rdx, [rbp + 0x40]
mov r8d, reloc.WS2_32.dll_recv
nop word [rax + rax]
lea rax, [rdx + r12]
movzx ecx, byte [rax + rbx - 0xf]
lea r9, [rbp + 0x4f]
xor cl, byte [rdx]
mov rax, rdx
sub rax, r9
inc rdx
mov byte [rax + rbx], cl
sub r8, 1
jne 0x14004b5f0
jmp 0x14004b621
movdqu xmm0, xmmword [r14]
pxor xmm0, xmmword [rbp + 0x40]
movdqu xmmword [rsi], xmm0
mov rcx, qword [rbp]
add r14, 0x10
add rsi, 0x10
add rbx, 0x10
test r15d, r15d
jne 0x14004b570
mov r12, qword [rbp + 0x18]
mov ebx, dword [rbp + 8]
mov r13d, dword [rbp + 0xc]
test ebx, ebx
je 0x14004b688
nop dword [rax]
add byte [rbp + rdi + 0x60], 1
jne 0x14004b660
dec rdi
cmp rdi, 0xc
jge 0x14004b650
mov rdi, qword [rbp]
lea r8, [rbp + 0x40]
mov rcx, rdi
lea rdx, [rbp + 0x60]
call fcn.140042f40
mov r9d, ebx
lea rdx, [rbp + 0x40]
mov r8, r14
mov rcx, rsi
call fcn.140042b60
jmp 0x14004b68c
mov rdi, qword [rbp]
test r12, r12
je 0x14004b6e0
mov ebx, dword [rsp + 0x198]
mov rcx, rdi
mov r9, qword [rbp + 0x10]
mov r8d, dword [rsp + 0x1a8]
mov rdx, qword [rbp + 0x20]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r13d
call fcn.14004ad50
lea r8, [rbp + 0x40]
mov rcx, rdi
lea rdx, [rbp + 0x80]
call fcn.140042f40
mov r8d, ebx
lea rdx, [rbp + 0x40]
mov rcx, r12
call fcn.140042d70
xor eax, eax
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400b06c0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret