Function at 0x180005730
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
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov qword [rsp + 0x68], r8
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x68], rdx
xor r12d, r12d
mov dword [r8], r12d
mov dword [rbp - 0x60], 0x1882f5fc
mov dword [rbp - 0x5c], 0xdca59a1b
mov dword [rbp - 0x58], 0x79b0e2d3
mov ecx, dword [0x180089430]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + rcx*8]
mov ecx, 0x610
mov eax, dword [rcx + rsi]
test al, 1
jne 0x1800057da
or eax, 1
mov dword [rcx + rsi], eax
mov eax, 0x618
mov edi, eax
mov byte [rax + rsi + 0xc], 1
movsd xmm0, qword [rbp - 0x60]
movsd qword [rax + rsi], xmm0
mov eax, dword [rbp - 0x58]
mov dword [rdi + rsi + 8], eax
lea rcx, [0x180068b80]
call fcn.18003f1a4
nop
jmp 0x1800057df
mov edi, 0x618
lea r9, [rdi + rsi]
cmp byte [r9 + 0xc], 0
je 0x180005821
mov rdx, r12
movabs r8, 0xb5e3ff6f79e787bf
nop word [rax + rax]
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 0xc
jb 0x180005800
mov byte [r9 + 0xc], 0
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r9 + r8], 0
jne 0x180005840
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.180002e80
mov r14, rbx
cmp qword [rbx + 0x18], 8
jb 0x180005864
mov r14, qword [rbx]
lea rdx, [rsp + 0x70]
mov ecx, 1
call fcn.1800122a0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r14
call rax
mov r13, rax
mov qword [rsp + 0x60], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180005dc8
xor eax, eax
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x60], 0xe9cf8642
mov dword [rbp - 0x5c], 0xbea48be6
mov dword [rbp - 0x58], 0xeade996c
mov word [rbp - 0x54], 0xe7f7
mov ecx, 0x59c
mov eax, dword [rcx + rsi]
test al, 1
jne 0x180005919
or eax, 1
mov dword [rcx + rsi], eax
mov eax, 0x468
mov r14d, eax
mov byte [rax + rsi + 0xe], 1
movsd xmm0, qword [rbp - 0x60]
movsd qword [rax + rsi], xmm0
mov eax, dword [rbp - 0x58]
mov dword [r14 + rsi + 8], eax
movzx eax, word [rbp - 0x54]
mov word [r14 + rsi + 0xc], ax
lea rcx, [0x180068b50]
call fcn.18003f1a4
nop
jmp 0x18000591f
mov r14d, 0x468
lea r9, [rsi + r14]
cmp byte [r9 + 0xe], 0
je 0x180005961
mov rdx, r12
movabs r8, 0xedc1e78fafbbe305
nop word [rax + rax]
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 0xe
jb 0x180005940
mov byte [r9 + 0xe], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [r9 + r8], 0
jne 0x180005980
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.180002e80
lea rdx, [rsp + 0x40]
mov ecx, 1
call fcn.1800122a0
lea rdx, [rbp - 0x70]
mov rcx, r13
call rax
mov r14d, eax
call fcn.180045878
cmp eax, 0x66
jne 0x1800059c2
add dword [0x180087be8], eax
test r14d, r14d
jne 0x180005a20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r15
call fcn.180011b20
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180005c61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180005a16
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005e25
mov rcx, r8
call fcn.18003f0cc
jmp 0x180005c61
mov rcx, qword [rbp - 0x70]
call fcn.180045b64
mov r12, rax
xor r8d, r8d
mov dword [rbp - 0x50], r8d
mov eax, 0x4a4
mov ecx, dword [rax + rsi]
test cl, 1
jne 0x180005a76
or ecx, 1
mov dword [rax + rsi], ecx
mov eax, 0x3f0
mov r14d, eax
mov dword [rax + rsi + 6], 0x18dde39
mov dword [rax + rsi], 0xbb381edf
mov word [rax + rsi + 4], 0x961f
lea rcx, [0x180068b20]
call fcn.18003f1a4
nop
xor r8d, r8d
jmp 0x180005a7c
mov r14d, 0x3f0
lea rdx, [rsi + r14]
cmp byte [rdx + 9], 0
je 0x180005aac
xor byte [rdx], 0x8d
xor byte [rdx + 1], 0x7b
xor byte [rdx + 2], 0x59
xor byte [rdx + 3], 0xdf
xor byte [rdx + 4], 0x59
not byte [rdx + 5]
xor byte [rdx + 6], 0x55
xor byte [rdx + 7], 0xbb
xor byte [rdx + 8], 0x8d
mov byte [rdx + 9], 0
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], 0xf
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x180005ac2
lea rcx, [rsp + 0x40]
call fcn.180002e80
lea rdx, [rsp + 0x40]
mov ecx, 1
call fcn.1800122a0
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x50]
mov r8d, dword [rbp - 0x70]
mov rdx, r12
mov rcx, r13
call rax
mov r13d, eax
call fcn.180045878
cmp eax, 0x70
jne 0x180005b11
add dword [0x180087be8], eax
mov dword [rbp - 0x60], 0xf82e85d0
mov dword [rbp - 0x5c], 0x29468116
mov dword [rbp - 0x58], 0x8b2485f7
mov ecx, 0x5b8
mov eax, dword [rcx + rsi]
test al, 1
jne 0x180005b66
or eax, 1
mov dword [rcx + rsi], eax
mov eax, 0x488
mov r14d, eax
mov byte [rax + rsi + 0xc], 1
movsd xmm0, qword [rbp - 0x60]
movsd qword [rax + rsi], xmm0
mov eax, dword [rbp - 0x58]
mov dword [r14 + rsi + 8], eax
lea rcx, [0x180068af0]
call fcn.18003f1a4
nop
jmp 0x180005b6c
mov r14d, 0x488
lea r9, [rsi + r14]
cmp byte [r9 + 0xc], 0
je 0x180005bb1
xor edx, edx
movabs r8, 0x4727c9738b41e993
nop dword [rax]
nop word [rax + rax]
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 0xc
jb 0x180005b90
mov byte [r9 + 0xc], 0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xf
inc rdi
cmp byte [r9 + rdi], al
jne 0x180005bc6
mov r8, rdi
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.180002e80
lea rdx, [rsp + 0x40]
mov ecx, 1
call fcn.1800122a0
mov rcx, qword [rsp + 0x60]
call rax
call fcn.180045878
cmp eax, 0x22
jne 0x180005c05
add dword [0x180087be8], eax
test r13d, r13d
jne 0x180005c9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r15
call fcn.180011b20
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180005c5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180005c59
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005e1f
mov rcx, r8
call fcn.18003f0cc
xor r12d, r12d
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rax, r15
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.18003f070
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, dword [rbp - 0x70]
mov rdx, r12
lea rcx, [rbp - 0x48]
call fcn.1800112c0
nop
mov rcx, r12
call fcn.1800458a4
call fcn.180045878
cmp eax, 0x4e
jne 0x180005cc4
add dword [0x180087be8], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rcx, [rbp - 0x20]
call fcn.1800137a0
nop
call fcn.180045878
cmp eax, 9
jne 0x180005d0e
add dword [0x180087be8], eax
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x38]
add r9, r8
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.1800152b0
nop
lea rcx, [rbp - 0x20]
call fcn.1800136b0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180005d75
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005d70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005e19
call fcn.18003f0cc
xor r12d, r12d
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180005c61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180005a16
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005e1f
jmp 0x180005a13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r15
call fcn.180011b20
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180005c61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180005a16
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005e25
jmp 0x180005a13
call fcn.180045aec
nop
call fcn.180045aec
int3
call fcn.180045aec
int3