Function at 0x180109400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x280
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rbx, rdx
mov dword [rbp + 0x14], 1
xor r13d, r13d
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov dword [rbp + 0x14], 1
call fcn.1801087f0
mov rdi, rax
mov qword [rbp], rax
movabs r14, 0x7ffffffdfffe
mov rcx, qword [0x18019d760]
cmp rax, rcx
jbe 0x18010947a
add rcx, qword [0x18019d768]
cmp rax, rcx
jb 0x180109489
add rax, 0xffffffffffff0000
cmp rax, r14
ja 0x180109d84
mov rcx, rdi
call fcn.18011adf0
mov r8, qword [0x18019d768]
mov rdx, qword [0x18019d760]
cmp rax, rdx
jbe 0x1801094ad
lea rcx, [r8 + rdx]
cmp rax, rcx
jb 0x1801094b9
lea rcx, [rax - 0x10000]
cmp rcx, r14
ja 0x1801094d4
mov rcx, rax
call fcn.18011e4a0
mov rsi, rax
mov rdx, qword [0x18019d760]
mov r8, qword [0x18019d768]
jmp 0x1801094d7
mov rsi, r13
mov qword [rbp + 0xa8], rsi
movabs r15, 0x8888888888888889
cmp rsi, rdx
jbe 0x1801094f6
lea rax, [r8 + rdx]
cmp rsi, rax
jb 0x180109506
lea rax, [rsi - 0x10000]
cmp rax, r14
ja 0x180109b0a
test rsi, rsi
je 0x180109b0a
mov dword [rbp + 0x10], r13d
lea rdx, [rsi + 0x18]
mov r8d, 4
lea rcx, [rbp + 0x10]
call fcn.180185c30
mov eax, dword [rbp + 0x10]
mov r12d, r13d
test eax, eax
jle 0x180109b0a
movzx ebx, byte [rbp + 8]
movzx edi, byte [rbp + 8]
nop dword [rax]
mov r14d, eax
mov r15d, r12d
mov qword [rbp + 0xa0], r13
movsxd rax, r12d
add rax, 4
lea rdx, [rsi + rax*8]
mov r8d, 8
lea rcx, [rbp + 0xa0]
call fcn.180185c30
mov rsi, qword [rbp + 0xa0]
mov rcx, qword [0x18019d760]
cmp rsi, rcx
jbe 0x180109589
add rcx, qword [0x18019d768]
cmp rsi, rcx
jb 0x1801095a7
mov dword [rbp + 0xc], r14d
lea rax, [rsi - 0x10000]
movabs rcx, 0x7ffffffdfffe
cmp rax, rcx
ja 0x180109ad3
mov rcx, rsi
call fcn.1800ef440
mov r13, rax
mov rcx, qword [0x18019d760]
cmp rax, rcx
jbe 0x1801095cd
mov rdx, qword [0x18019d768]
add rdx, rcx
cmp rax, rdx
jb 0x1801095ea
mov dword [rbp + 0xc], r14d
add rax, 0xffffffffffff0000
movabs rcx, 0x7ffffffdfffe
cmp rax, rcx
ja 0x180109ad0
mov rcx, rsi
call fcn.18010f770
mov dword [rbp + 0xc], r14d
cmp dword [rax + 0x10], 0
jle 0x180109ad0
lea r8, [rax + 0x14]
mov rdx, r8
mov r9d, 0x84222325
movzx ecx, word [r8]
mov dword [rbp + 0xc], r14d
test cx, cx
je 0x180109647
movzx eax, cx
mov dword [rbp + 0xc], r14d
movzx eax, ax
xor eax, r9d
imul r9d, eax, 0x1b3
lea rdx, [rdx + 2]
movzx eax, word [rdx]
test ax, ax
jne 0x180109621
cmp r9d, 0xc741d8af
je 0x180109ad0
mov rdx, r8
mov r9d, 0x84222325
test cx, cx
je 0x180109686
movzx eax, cx
nop dword [rax + rax]
movzx eax, ax
xor eax, r9d
imul r9d, eax, 0x1b3
lea rdx, [rdx + 2]
movzx eax, word [rdx]
test ax, ax
jne 0x180109660
cmp r9d, 0x58eab558
je 0x180109ad0
mov rdx, r8
mov r9d, 0x84222325
test cx, cx
je 0x1801096c6
movzx eax, cx
nop word [rax + rax]
movzx eax, ax
xor eax, r9d
imul r9d, eax, 0x1b3
lea rdx, [rdx + 2]
movzx eax, word [rdx]
test ax, ax
jne 0x1801096a0
cmp r9d, 0xdc268177
je 0x180109ad0
mov rdx, r8
mov r9d, 0x84222325
test cx, cx
je 0x180109706
movzx eax, cx
nop word [rax + rax]
movzx eax, ax
xor eax, r9d
imul r9d, eax, 0x1b3
lea rdx, [rdx + 2]
movzx eax, word [rdx]
test ax, ax
jne 0x1801096e0
cmp r9d, 0x7e0bc773
je 0x180109ad0
mov edx, 0x84222325
test cx, cx
je 0x180109734
movzx eax, cx
xor eax, edx
imul edx, eax, 0x1b3
lea r8, [r8 + 2]
movzx ecx, word [r8]
test cx, cx
jne 0x180109710
cmp edx, 0x9bc10dfc
je 0x180109a24
mov rcx, r13
call fcn.18011cf80
mov rcx, rax
call fcn.18010bd40
mov rsi, rax
cmp dword [rax + 0x10], 0
jle 0x180109ad0
mov rcx, r13
call fcn.18011f930
lea r15, [rax + 0x14]
mov rcx, r15
mov r8d, 0x84222325
movzx edx, word [r15]
test dx, dx
je 0x180109789
nop
movzx eax, dx
xor eax, r8d
imul r8d, eax, 0x1b3
lea rcx, [rcx + 2]
movzx edx, word [rcx]
test dx, dx
jne 0x180109770
lea rdx, [rbp + 0x180]
lea rcx, [0x18019bfeb]
call fcn.1800ea0d0
nop
xor eax, eax
mov dword [rbp + 0x20], eax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], al
mov qword [rbp + 0x48], rax
mov word [rbp + 0x50], ax
mov byte [rbp + 0x52], al
vmovups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
mov ecx, 7
mov qword [rbp + 0x70], rcx
mov word [rbp + 0x58], ax
vmovups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rcx
mov word [rbp + 0x78], ax
lea r9, [rsi + 0x14]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x180109800
cmp rdx, rcx
ja 0x180109833
lea r14, [rbp + 0x58]
mov qword [rbp + 0x68], rdx
lea rsi, [rdx + rdx]
mov r8, rsi
mov rdx, r9
mov rcx, r14
call fcn.180184e40
xor eax, eax
mov word [rsi + r14], ax
jmp 0x180109840
movzx r8d, dil
lea rcx, [rbp + 0x58]
call fcn.1800deb80
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [r15 + rdx*2], 0
jne 0x180109850
mov rax, qword [rbp + 0x90]
cmp rdx, rax
ja 0x180109897
lea r14, [rbp + 0x78]
cmp rax, 7
cmova r14, qword [rbp + 0x78]
mov qword [rbp + 0x88], rdx
lea rsi, [rdx + rdx]
mov r8, rsi
mov rdx, r15
mov rcx, r14
call fcn.180184e40
xor r15d, r15d
mov word [r14 + rsi], r15w
jmp 0x1801098aa
mov r9, r15
movzx r8d, bl
lea rcx, [rbp + 0x78]
call fcn.1800deb80
xor r15d, r15d
mov eax, dword [rbp + 0x180]
mov dword [rbp + 0x20], eax
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
lea rcx, [rbp + 0x28]
call fcn.1800e9e30
mov rcx, r13
call fcn.1801085e0
mov byte [rbp + 0x50], al
movzx eax, byte [rbp + 0x1ac]
mov byte [rbp + 0x52], al
mov r14, qword [rsp + 0x2b8]
mov rsi, qword [r14 + 8]
cmp rsi, qword [r14 + 0x10]
je 0x18010995b
mov qword [rbp + 0xc8], rsi
mov eax, dword [rbp + 0x20]
mov dword [rsi], eax
lea rcx, [rsi + 8]
lea rdx, [rbp + 0x28]
call fcn.1800e2dc0
nop
mov rax, qword [rbp + 0x48]
mov qword [rsi + 0x28], rax
movzx eax, byte [rbp + 0x50]
mov byte [rsi + 0x30], al
movzx eax, byte [rbp + 0x51]
mov byte [rsi + 0x31], al
movzx eax, byte [rbp + 0x52]
mov byte [rsi + 0x32], al
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x58]
call fcn.1800e2f20
nop
lea rcx, [rsi + 0x58]
lea rdx, [rbp + 0x78]
call fcn.1800e2f20
nop
add qword [r14 + 8], 0x78
jmp 0x18010996b
lea r8, [rbp + 0x20]
mov rdx, rsi
mov rcx, r14
call fcn.1800dbe50
nop
lea rcx, [rbp + 0x78]
call fcn.1800e78a0
lea rcx, [rbp + 0x58]
call fcn.1800e78a0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x1801099b8
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801099b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180109dae
call fcn.180182790
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 0xf
jbe 0x180109a09
inc rdx
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180109a04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180109da8
call fcn.180182790
mov qword [rbp + 0x198], r15
mov qword [rbp + 0x1a0], 0xf
mov byte [rbp + 0x188], 0
jmp 0x180109a2c
mov r14, qword [rsp + 0x2b8]
mov rcx, r13
call fcn.180108350
test al, al
je 0x180109ad0
mov rcx, r13
call fcn.1800ff170
mov rdx, qword [0x18019d760]
cmp rax, rdx
jbe 0x180109a5c
add rdx, qword [0x18019d768]
cmp rax, rdx
jb 0x180109a72
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180109ad0
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1800ff360
nop
mov r8, qword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
cmp r8, rcx
je 0x180109ac4
sub rcx, r8
movabs rax, 0x8888888888888889
imul rcx
lea r9, [rcx + rdx]
sar r9, 6
mov rax, r9
shr rax, 0x3f
add r9, rax
mov rdx, qword [r14 + 8]
mov rcx, r14
call fcn.1800dc970
nop
lea rcx, [rbp + 0xb0]
call fcn.1800e77f0
xor r13d, r13d
inc r12d
mov eax, dword [rbp + 0xc]
cmp r12d, eax
jge 0x180109aea
mov rsi, qword [rbp + 0xa8]
jmp 0x180109540
mov rbx, qword [rsp + 0x2b8]
mov rdi, qword [rbp]
movabs r14, 0x7ffffffdfffe
movabs r15, 0x8888888888888889
mov eax, dword [0x18019e7e0]
test al, 1
jne 0x180109ce0
or eax, 1
mov dword [0x18019e7e0], eax
movabs rax, 0xe0f04ae77b6ac010
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rax, 0x938dacaa56be74e3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs r8, 0x8e992baa241ea577
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rdx, 0x93e8cbcb24d100b0
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
vmovdqu xmm0, xmmword [rbp + 0x140]
vpxor xmm1, xmm0, xmmword [rbp + 0x160]
vmovdqu xmmword [rbp + 0x140], xmm1
movabs rax, 0xfaf742c4716dc43f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0xf181bfbb51a372d5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x65684420784e4d75
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rcx, 0xf42452e54c22010a
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0xb072d541b0f2819
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
vmovdqu ymm0, ymmword [rbp + 0x120]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqu ymmword [rbp + 0xe0], ymm1
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r13
mov qword [rbp + 0x118], r13
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180109c90
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x100]
vzeroupper
call fcn.1800db380
mov edx, 0xed44
lea rcx, [rbp + 0x100]
call fcn.180124760
xor r9d, r9d
lea r8d, [r9 - 1]
lea rdx, [rbp + 0x140]
mov rcx, rax
call fcn.1801245b0
mov qword [0x18019e7d8], rax
jmp 0x180109ce7
mov rax, qword [0x18019e7d8]
mov qword gs:[0x130], rax
mov rax, qword [0x1800015f8]
mov qword gs:[0x128], rax
mov rcx, rdi
call fcn.180185f50
mov rdx, qword [0x18019d760]
cmp rax, rdx
jbe 0x180109d20
add rdx, qword [0x18019d768]
cmp rax, rdx
jb 0x180109d2c
lea rcx, [rax - 0x10000]
cmp rcx, r14
ja 0x180109d84
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1800ff360
nop
mov r8, qword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
cmp r8, rcx
je 0x180109d77
sub rcx, r8
mov rax, r15
imul rcx
lea r9, [rcx + rdx]
sar r9, 6
mov rax, r9
shr rax, 0x3f
add r9, rax
mov rdx, qword [rbx + 8]
mov rcx, rbx
call fcn.1800dc970
nop
lea rcx, [rbp + 0xb0]
call fcn.1800e77f0
nop
mov rax, rbx
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800e6e30
nop
call fcn.1800e6e30
int3