Function at 0x140037a90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rbp, rdx
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rcx], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], dil
mov dword [rsp + 0x20], 1
mov ecx, 0x400
call fcn.1400a9df8
mov r14, rax
mov qword [rsp + 0x28], rax
lea r13, [rax + 0x400]
mov qword [rsp + 0x38], r13
movdqa xmm0, xmmword [0x1400c5350]
lea ecx, [rdi + 8]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub rcx, 1
jne 0x140037b00
mov qword [rsp + 0x30], r13
mov edx, edi
lea r8, [rsp + 0x40]
nop dword [rax + rax]
movdqa xmm0, xmmword [0x1400c4b50]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1400c4a80]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x1400c4a70]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400c5240]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x80], 0x100
mov rax, rdi
nop word [rax + rax]
lea ecx, [rax + 0x46]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp rax, 0x40
jb 0x140037b90
mov byte [rsp + 0x81], 0
movsx rax, byte [r8]
mov dword [r14 + rax*4], edx
inc edx
inc r8
cmp edx, 0x40
jl 0x140037b40
mov ebx, edi
mov esi, 0xfffffff8
cmp qword [rbp + 0x18], 0x10
jb 0x140037bd4
mov rcx, qword [rbp]
mov rdx, rcx
mov rdi, rcx
jmp 0x140037bdd
mov rdi, rbp
mov rdx, rbp
mov rcx, rbp
mov r12, qword [rbp + 0x10]
add r12, rdx
cmp rcx, r12
je 0x140037c4f
nop dword [rax]
movsx rax, byte [rdi]
mov ecx, dword [r14 + rax*4]
cmp ecx, 0xffffffff
je 0x140037c4f
shl ebx, 6
add ebx, ecx
add esi, 6
js 0x140037c47
mov edx, ebx
mov ecx, esi
sar edx, cl
mov rcx, qword [r15 + 0x10]
mov r8, qword [r15 + 0x18]
cmp rcx, r8
jae 0x140037c38
lea rax, [rcx + 1]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp r8, 0x10
jb 0x140037c2e
mov rax, qword [r15]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x140037c44
movzx r9d, dl
mov rcx, r15
call fcn.1400483b0
sub esi, 8
inc rdi
cmp rdi, r12
jne 0x140037bf0
test r14, r14
je 0x140037c8d
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140037c84
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140037cf6
mov r14, rcx
mov rcx, r14
call fcn.1400a9aa8
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140037cc4
inc rdx
mov rcx, qword [rbp]
cmp rdx, 0x1000
jb 0x140037cbf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037cfd
mov rcx, r8
call fcn.1400a9aa8
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rax, r15
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3