Function at 0x180034394
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r15, r9
mov rbp, r8
mov qword [rsp + 0x58], r8
mov rbx, rdx
mov rsi, rcx
mov rdi, qword [rsp + 0x100]
mov qword [r11 - 0x48], rdi
xor edx, edx
mov r8d, 0x1000
call fcn.180059db0
movabs r11, 0x706c646f70bfbbef
mov qword [rsi], r11
mov dword [rsi + 8], 2
lea rcx, [rsi + 0xc]
mov r8d, 0x80
lea rdx, [0x1800a3710]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
lea rcx, [rsi + 0x8c]
mov r8d, 0x80
lea rdx, str._r_n_r_n_r_n
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
lea rcx, [rsi + 0x10c]
mov r8d, 0x64
lea rdx, str._r_nN_A_r_n
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
call fcn.1800340c8
mov dword [rsi + 0x184], eax
mov dword [rsp + 0x20], 3
lea r9, [0x180084464]
mov r8d, 0x188
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.18003a04c
cmp qword [rax + 0x20], 0x10
jb 0x18003448b
mov rax, qword [rax + 8]
jmp 0x18003448f
add rax, 8
mov eax, dword [rax]
mov dword [rsi + 0x188], eax
cmp qword [rsp + 0x50], 0x10
jb 0x1800344a9
mov rcx, qword [rsp + 0x38]
call fcn.180058b34
lea rcx, [rsi + 0x190]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rcx, qword [rbx + 0x20]
sub rcx, qword [rbx + 0x18]
movabs r8, 0x2aaaaaaaaaaaaaab
mov rax, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsi + 0x1a0], edx
xor r12d, r12d
mov r13d, r12d
mov rcx, qword [rbx + 0x20]
sub rcx, qword [rbx + 0x18]
mov rax, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, r12d
jle 0x1800345a7
lea rbp, [rsi + 0x1a4]
movsxd r12, r13d
cmp r12, rdx
jb 0x180034521
call fcn.180058f08
lea rcx, [r12 + r12*2]
shl rcx, 4
add rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x30]
call fcn.18003ae18
cmp qword [rax + 0x20], 0x10
jb 0x180034544
mov rcx, qword [rax + 8]
jmp 0x180034548
lea rcx, [rax + 8]
mov rax, qword [rcx]
mov qword [rbp], rax
movzx eax, word [rcx + 8]
mov word [rbp + 8], ax
cmp qword [rsp + 0x50], 0x10
jb 0x180034569
mov rcx, qword [rsp + 0x38]
call fcn.180058b34
inc r13d
add rbp, 0xa
mov rcx, qword [rbx + 0x20]
sub rcx, qword [rbx + 0x18]
movabs r8, 0x2aaaaaaaaaaaaaab
mov rax, r8
imul rcx
sar rdx, 3
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp r13d, edx
jl 0x180034514
mov rbp, qword [rsp + 0x58]
xor r12d, r12d
mov rcx, qword [rbx + 0x20]
sub rcx, qword [rbx + 0x18]
mov rax, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1800345ca
call fcn.180058f08
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x18]
call fcn.18003ae90
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.18003411c
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1800345f9
mov rcx, qword [rsp + 0x38]
call fcn.180058b34
mov r13d, sendto
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r12
mov byte [rsp + 0x38], r12b
xor edx, edx
lea r8d, [r13 + 0x71]
lea rcx, [rsi + 0x424]
call fcn.180059db0
mov r8, qword [rsp + 0x80]
lea eax, [r13 + 0x70]
cmp r8, rax
cmova r8, rax
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rsi + 0x424]
call fcn.180059820
mov qword [rsi + 0x4a8], rbp
mov qword [rsi + 0x4b0], r15
lea rcx, [rsi + 0x4b8]
lea r8d, [r13 + 0x71]
lea rdx, [0x1800a71f0]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rsi + 0x5b8]
lea r8d, [r13 + 0x71]
lea rdx, [0x1800a72f0]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rsi + 0x6b8]
lea r8d, [r13 + 0x71]
lea rdx, [0x1800a73f0]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rsi + 0x7b8]
lea r8d, [r13 + 5]
lea rdx, [0x1800a74f0]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rdi + 0x18], 0x10
jae 0x1800346e4
mov r8d, sendto
lea rdx, [0x180084468]
mov rcx, rdi
call fcn.18001fa9c
cmp qword [rdi + 0x18], 0x10
jb 0x1800346c8
cmp qword [rdi + 0x20], 0x10
jb 0x1800346f4
lea rbx, [rdi + 8]
mov rax, qword [rbx]
jmp 0x1800346fb
lea rbx, [rdi + 8]
mov rax, rbx
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsi + 0x7cc], xmm0
call fcn.1800340c8
mov dword [rsi + 0x18c], eax
mov edx, 0x190
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov ecx, eax
shr ecx, 0x10
xor byte [rdx + rsi], cl
inc rdx
cmp rdx, 0x1000
jl 0x180034717
cmp qword [rsp + 0x88], 0x10
jb 0x18003474b
mov rcx, qword [rsp + 0x70]
call fcn.180058b34
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x80], r12
mov byte [rsp + 0x70], r12b
cmp qword [rdi + 0x20], 0x10
jb 0x18003476f
mov rcx, qword [rbx]
call fcn.180058b34
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x18], r12
mov byte [rbx], r12b
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180059760
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret