Function at 0x180034c8c
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.180059f80
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.1800349c0
mov dword [rsi + 0x184], eax
mov dword [rsp + 0x20], 3
lea r9, [0x180084444]
mov r8d, 0x188
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.18003a2fc
cmp qword [rax + 0x20], 0x10
jb 0x180034d83
mov rax, qword [rax + 8]
jmp 0x180034d87
add rax, 8
mov eax, dword [rax]
mov dword [rsi + 0x188], eax
cmp qword [rsp + 0x50], 0x10
jb 0x180034da1
mov rcx, qword [rsp + 0x38]
call fcn.1800018ec
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 0x180034e9f
lea rbp, [rsi + 0x1a4]
movsxd r12, r13d
cmp r12, rdx
jb 0x180034e19
call fcn.1800590d8
lea rcx, [r12 + r12*2]
shl rcx, 4
add rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x30]
call fcn.18003b0c8
cmp qword [rax + 0x20], 0x10
jb 0x180034e3c
mov rcx, qword [rax + 8]
jmp 0x180034e40
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 0x180034e61
mov rcx, qword [rsp + 0x38]
call fcn.1800018ec
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 0x180034e0c
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 0x180034ec2
call fcn.1800590d8
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x18]
call fcn.18003b140
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180034a14
nop
cmp qword [rsp + 0x50], 0x10
jb 0x180034ef1
mov rcx, qword [rsp + 0x38]
call fcn.1800018ec
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.180059f80
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.1800599f0
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 0x180034fdc
mov r8d, sendto
lea rdx, [0x180084448]
mov rcx, rdi
call fcn.18001fb64
cmp qword [rdi + 0x18], 0x10
jb 0x180034fc0
cmp qword [rdi + 0x20], 0x10
jb 0x180034fec
lea rbx, [rdi + 8]
mov rax, qword [rbx]
jmp 0x180034ff3
lea rbx, [rdi + 8]
mov rax, rbx
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsi + 0x7cc], xmm0
call fcn.1800349c0
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 0x18003500f
cmp qword [rsp + 0x88], 0x10
jb 0x180035043
mov rcx, qword [rsp + 0x70]
call fcn.1800018ec
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x80], r12
mov byte [rsp + 0x70], r12b
cmp qword [rdi + 0x20], 0x10
jb 0x180035067
mov rcx, qword [rbx]
call fcn.1800018ec
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x18], r12
mov byte [rbx], r12b
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180059930
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret