Function at 0x140036f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x3000
call fcn.14006dcc0
sub rsp, rax
mov rax, qword [0x1400888e8]
xor rax, rsp
mov qword [rsp + 0x2ff0], rax
mov rax, qword [rsp + 0x3078]
xor r12d, r12d
mov rbx, rcx
mov r10d, edx
mov rcx, qword [rsp + 0x3068]
mov r13, r9
mov qword [rsp + 0x68], rcx
mov r15, r8
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
test rbx, rbx
je 0x140037458
mov rdx, qword [rbx + 0x68]
test rdx, rdx
je 0x140037451
test r9, r9
je 0x140036fb1
test r8, r8
je 0x140037451
cmp qword [rsp + 0x3070], r12
je 0x140036fc4
test rcx, rcx
je 0x140037451
cmp qword [rbx + 0x48], r12
je 0x140037451
test rax, rax
je 0x140037064
lea rcx, [rsp + 0x70]
mov edx, 8
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140036fe1
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
mov rax, qword [rax + 0x50]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], rax
jmp 0x140037097
cmp r10d, dword [rbx + 0x10]
jae 0x140037077
mov rax, qword [rdx + 0x20]
mov r8d, dword [rax + r10*4]
add r8, qword [rdx]
jmp 0x14003707a
mov r8, r12
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r12
mov edx, r10d
mov rcx, rbx
call fcn.140035c00
test eax, eax
je 0x140037458
cmp dword [rsp + 0xbc], r12d
jne 0x14003744a
mov rsi, qword [rsp + 0x98]
test rsi, rsi
je 0x14003744a
test byte [rsp + 0x84], 0x61
je 0x1400370cc
mov dword [rbx + 0x1c], 5
jmp 0x140037458
mov edi, dword [rsp + 0x3060]
and edi, 0x400
jne 0x1400370f6
mov eax, 0xfff7
test word [rsp + 0x86], ax
je 0x1400370f6
mov dword [rbx + 0x1c], 4
jmp 0x140037458
mov rbp, qword [rsp + 0xa0]
test edi, edi
mov r14, rbp
cmovne r14, rsi
cmp r13, r14
jae 0x140037118
mov dword [rbx + 0x1c], 0x1a
jmp 0x140037458
mov r13, qword [rsp + 0xb0]
lea r8, [rsp + 0x2fd0]
mov rcx, qword [rbx + 0x60]
mov rdx, r13
mov r9d, SafeArrayAllocDescriptor
call qword [rbx + 0x48]
cmp rax, 0x1e
jne 0x140037441
cmp dword [rsp + 0x2fd0], 0x4034b50
jne 0x140037438
movzx eax, word [rsp + 0x2fea]
movzx ecx, word [rsp + 0x2fec]
add r13, rax
add rcx, 0x1e
add r13, rcx
lea rax, [rsi + r13]
cmp rax, qword [rbx]
ja 0x140037438
test edi, edi
jne 0x1400373b7
cmp word [rsp + 0x86], r12w
je 0x1400373b7
mov rax, qword [rbx + 0x68]
mov dword [rsp + 0x4d0], r12d
mov rcx, qword [rax + 0x80]
test rcx, rcx
je 0x1400371c4
mov rdi, rsi
add rcx, r13
mov qword [rsp + 0x40], rcx
mov r14, rdi
mov qword [rsp + 0x3070], rdi
mov rsi, r12
jmp 0x1400371f0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400372c3
mov r14, qword [rsp + 0x3070]
test r14, r14
je 0x140037458
mov rcx, rax
mov qword [rsp + 0x40], rax
mov rdi, r12
nop
mov rax, rbp
sub rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
test rdi, rdi
jne 0x14003723d
mov rax, qword [rbx + 0x68]
cmp qword [rax + 0x80], r12
jne 0x14003723d
mov r8, rcx
cmp r14, rsi
mov rcx, qword [rbx + 0x60]
mov rdi, rsi
cmovb rdi, r14
mov rdx, r13
mov r9, rdi
call qword [rbx + 0x48]
cmp rax, rdi
jne 0x140037304
add r13, rdi
mov qword [rsp + 0x48], r12
sub rsi, rdi
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x58]
mov ecx, 4
mov qword [rsp + 0x58], rdi
mov eax, 6
test rsi, rsi
mov r9, r15
cmovne ecx, eax
mov rax, qword [rsp + 0x50]
add rdx, qword [rsp + 0x48]
add rax, r15
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x4d0]
mov qword [rsp + 0x20], rax
call fcn.14003cbf0
mov rcx, qword [rsp + 0x58]
mov r14d, eax
mov rax, qword [rsp + 0x50]
sub rdi, rcx
add rax, qword [rsp + 0x60]
add qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
cmp r14d, 1
jne 0x14003730d
mov r14, qword [rsp + 0x3070]
mov rcx, qword [rsp + 0x40]
jmp 0x1400371f0
mov rcx, qword [rbx + 0x40]
mov r14d, 0x2000
cmp rsi, r14
mov edx, 1
cmovb r14, rsi
mov r8, r14
mov qword [rsp + 0x3070], r14
call qword [rbx + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, rax
test rax, rax
jne 0x1400371eb
mov dword [rbx + 0x1c], reloc.WS2_32.dll_recv
jmp 0x140037458
mov dword [rbx + 0x1c], reloc.WS2_32.dll_inet_addr
jmp 0x140037382
test r14d, r14d
jne 0x140037388
cmp rax, rbp
je 0x140037320
mov dword [rbx + 0x1c], reloc.WS2_32.dll_listen
jmp 0x140037382
test r15, r15
jne 0x14003732a
mov eax, r12d
jmp 0x140037372
mov eax, 0xffffffff
test rbp, rbp
je 0x140037370
lea r8, [0x1400754c0]
nop dword [rax + rax]
movzx edx, byte [r15]
lea r15, [r15 + 1]
mov ecx, eax
shr eax, 4
xor rcx, rdx
shr rdx, 4
and ecx, 0xf
xor eax, dword [r8 + rcx*4]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor rcx, rdx
xor eax, dword [r8 + rcx*4]
sub rbp, 1
jne 0x140037340
not eax
cmp eax, dword [rsp + 0x90]
je 0x140037388
mov dword [rbx + 0x1c], send
mov r14d, 0xffffffff
mov rcx, qword [rbx + 0x68]
cmp qword [rcx + 0x80], r12
jne 0x1400373a8
cmp qword [rsp + 0x68], r12
jne 0x1400373a8
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x40]
call qword [rbx + 0x30]
test r14d, r14d
sete r12b
mov eax, r12d
jmp 0x14003745a
mov rcx, qword [rbx + 0x60]
mov r9, r14
mov r8, r15
mov rdx, r13
call qword [rbx + 0x48]
cmp rax, r14
jne 0x140037441
test edi, edi
jne 0x14003744a
test r15, r15
je 0x140037425
mov eax, 0xffffffff
test rbp, rbp
je 0x140037420
lea r8, [0x1400754c0]
nop word [rax + rax]
movzx edx, byte [r15]
lea r15, [r15 + 1]
mov ecx, eax
shr eax, 4
xor rcx, rdx
shr rdx, 4
and ecx, 0xf
xor eax, dword [r8 + rcx*4]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor rcx, rdx
xor eax, dword [r8 + rcx*4]
sub rbp, 1
jne 0x1400373f0
not eax
mov r12d, eax
cmp r12d, dword [rsp + 0x90]
je 0x14003744a
mov dword [rbx + 0x1c], send
jmp 0x140037458
mov dword [rbx + 0x1c], 9
jmp 0x140037458
mov dword [rbx + 0x1c], shutdown
jmp 0x140037458
mov eax, 1
jmp 0x14003745a
mov dword [rbx + 0x1c], 0x18
xor eax, eax
mov rcx, qword [rsp + 0x2ff0]
xor rcx, rsp
call fcn.14006dc90
mov rbx, qword [rsp + 0x3058]
add rsp, 0x3000
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret