Function at 0x1800a2e80
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1804be628]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
xor r14d, r14d
mov ecx, dword [rcx + 0x8c]
mov rdi, rdx
movsxd r8, dword [rbx + 0x88]
test ecx, ecx
je 0x1800a2f03
mov edx, 1
mov eax, 8
shl dl, cl
sub eax, ecx
movzx ecx, al
dec dl
shl dl, cl
mov eax, 7
and byte [r8 + rbx + 0x47], dl
sub eax, dword [rbx + 0x8c]
movsxd rdx, dword [rbx + 0x88]
movzx ecx, byte [rdx + rbx + 0x47]
btc ecx, eax
mov byte [rdx + rbx + 0x47], cl
mov dword [rbx + 0x8c], r14d
jmp 0x1800a2f0f
mov byte [r8 + rbx + 0x48], 0x80
inc dword [rbx + 0x88]
mov eax, dword [rbx + 0x88]
cmp eax, 0x38
jle 0x1800a2f56
cmp eax, 0x40
jge 0x1800a2f3b
nop
movsxd rax, dword [rbx + 0x88]
mov byte [rax + rbx + 0x48], r14b
inc dword [rbx + 0x88]
cmp dword [rbx + 0x88], 0x40
jl 0x1800a2f20
lea rdx, [rbx + 0x48]
mov r8d, 0x40
mov rcx, rbx
call fcn.1800a2ad0
mov dword [rbx + 0x88], r14d
jmp 0x1800a2f60
jge 0x1800a2f7b
nop dword [rax + rax]
movsxd rax, dword [rbx + 0x88]
mov byte [rax + rbx + 0x48], r14b
inc dword [rbx + 0x88]
cmp dword [rbx + 0x88], 0x38
jl 0x1800a2f60
add dword [rbx + 0x40], 1
jne 0x1800a2f84
inc dword [rbx + 0x44]
mov dword [rbx + 0x88], 0x40
nop
movsxd rcx, dword [rbx + 0x88]
lea eax, [rcx - 1]
mov dword [rbx + 0x88], eax
movzx eax, byte [rbx + 0x40]
mov byte [rcx + rbx + 0x47], al
shr dword [rbx + 0x40], 8
mov eax, dword [rbx + 0x88]
cmp eax, 0x3c
jg 0x1800a2f90
cmp eax, 0x38
jle 0x1800a2fe5
nop dword [rax]
movsxd rcx, dword [rbx + 0x88]
lea eax, [rcx - 1]
mov dword [rbx + 0x88], eax
movzx eax, byte [rbx + 0x44]
mov byte [rcx + rbx + 0x47], al
shr dword [rbx + 0x44], 8
cmp dword [rbx + 0x88], 0x38
jg 0x1800a2fc0
mov r8d, 0x40
lea rdx, [rbx + 0x48]
mov rcx, rbx
call fcn.1800a2ad0
movups xmm0, xmmword [rbx]
xor r8d, r8d
lea rdx, [rbp - 0x49]
movups xmm1, xmmword [rbx + 0x10]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rbp - 0x79], xmm1
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm1
call fcn.1800a14c0
mov r8d, 1
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.1800a14c0
mov r8d, 2
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.1800a14c0
mov r8d, 3
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.1800a14c0
mov r8d, 4
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.1800a14c0
mov r8d, 5
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.1800a14c0
mov r8d, 6
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.1800a14c0
mov r8d, 7
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.1800a14c0
mov r8d, 8
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.1800a14c0
mov r8d, 9
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.1800a14c0
lea rcx, [rbp - 0x4d]
lea rax, [rbx + 0x3c]
cmp rbx, rcx
ja 0x1800a3112
lea rcx, [rsp + 0x20]
cmp rax, rcx
jb 0x1800a3112
lea r8, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_recv
sub r8, rbx
lea rcx, [rbx + r14*4]
sub rdx, r14
nop
mov eax, dword [r8 + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800a3100
jmp 0x1800a3160
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rsp + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
movdqu xmm0, xmmword [rbx + 0x10]
pxor xmm0, xmmword [rbp - 0x79]
movdqu xmmword [rbx + 0x10], xmm0
movdqu xmm0, xmmword [rbx + 0x20]
pxor xmm0, xmmword [rbp - 0x69]
movdqu xmmword [rbx + 0x20], xmm0
movdqu xmm0, xmmword [rbx + 0x30]
pxor xmm0, xmmword [rbp - 0x59]
movdqu xmmword [rbx + 0x30], xmm0
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx + 0x20]
xorps xmm0, xmm0
mov byte [rdi], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0x24]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x28]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x29]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x2a]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x2b]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x2c]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x2d]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x2e]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x2f]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x30]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x31]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x32]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x33]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x34]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x35]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x36]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x37]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x38]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x39]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x3a]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x3b]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x3c]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x3d]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x3e]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x3f]
mov byte [rdi + 0x1f], al
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x50], r14
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], r14
mov qword [rbx + 0x68], r14
mov qword [rbx + 0x70], r14
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], r14
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18031edb0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret