Function at 0x180019880
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
lea eax, [r9 + 0x7cb]
mov r14d, r9d
mov dword [rbp - 0x64], eax
mov r15, r8
mov r10, rdx
mov rsi, rcx
cmp r9d, eax
ja 0x180019fc9
mov ebx, dword [rbp + 0x98]
mov r9, 0xffffffffffffffff
mov r13, qword [rbp - 0x30]
mov r12, qword [rsp + 0x68]
cmp r14d, 0x4625
ja 0x180019d15
je 0x180019ce5
cmp r14d, 0x1716
ja 0x180019c6b
je 0x180019ac9
mov eax, r14d
sub eax, 0x153b
je 0x180019abd
sub eax, 0x5f
je 0x180019a64
sub eax, 0x5f
je 0x1800199f7
sub eax, 0x5f
je 0x1800199a0
cmp eax, 0x5f
jne 0x18001a314
xor r9d, r9d
lea r8, [rbp - 0x60]
mov edx, 0x1d44
xor ecx, ecx
call fcn.1800129b0
mov ebx, eax
test eax, eax
jne 0x180019cda
lea rax, [rbp - 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea r8, [rbp - 0x10]
xor eax, eax
mov edx, 0x63c1
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.18004c380
mov r10, qword [rbp + 0x88]
mov ebx, eax
test eax, eax
jne 0x180019c59
jmp 0x18001a30d
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov r8d, 0x18bb
lea rdx, [rbp - 0x10]
xor ecx, ecx
call fcn.18000bb80
mov dword [rbp - 0x68], eax
lea rdx, [rbp - 0x10]
mov dword [rbp + 0x98], eax
lea rcx, [rbp + 0x98]
lea rax, [rbp - 0x10]
mov r9d, 0x17f4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.180045620
mov ebx, eax
test eax, eax
jne 0x180019cda
jmp 0x18001a306
lea rax, [rbp - 0x28]
mov dword [rbp + 0x98], 1
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x28]
lea rax, [rbp + 0x98]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x84a
call fcn.18001c810
mov ebx, eax
test eax, eax
jne 0x180019cbc
xor eax, eax
lea r9, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x10]
xor r8d, r8d
mov dword [rsp + 0x20], 0x4481
xor edx, edx
call fcn.180010320
mov ebx, eax
test eax, eax
jne 0x180019cbc
jmp 0x18001a306
mov r9d, 0x643c
mov dword [rbp + 0x98], 1
lea r8, [rbp + 0x98]
xor edx, edx
mov rcx, r15
call fcn.180019880
cmp eax, 1
jne 0x18001a335
xor eax, eax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov r9, rsi
xor r8d, r8d
mov dword [rsp + 0x20], 0x4481
xor edx, edx
call fcn.180010320
mov ebx, eax
test eax, eax
jne 0x180019fcd
jmp 0x18001a306
mov dword [r10], 0
jmp 0x18001a314
mov r9d, 0x643c
mov dword [rbp + 0x98], 1
lea r8, [rbp + 0x98]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.180019880
test eax, eax
je 0x180019c32
lea rax, [rbp - 0x28]
xor edi, edi
mov qword [rsp + 0x30], rdi
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x1f96
xor edx, edx
call fcn.1800496c0
test eax, eax
je 0x180019c32
mov r15d, 0x7b5d
cmp r15d, r15d
jne 0x180019c21
mov r14d, dword [rbp - 0x68]
mov esi, 1
dec r14d
cmp r14d, esi
jl 0x180019bf6
nop dword [rax + rax]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x60]
xor r9d, r9d
mov dword [rsp + 0x20], 0x1f96
xor r8d, r8d
xor edx, edx
call fcn.1800496c0
test eax, eax
je 0x180019bf6
mov edi, 0x479c
mov eax, edi
sub eax, 0x479c
je 0x180019bbc
cmp eax, 0x29
jne 0x180019bdd
mov r9d, 0x643c
mov dword [rbp + 0x98], 1
lea r8, [rbp + 0x98]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.180019880
test eax, eax
je 0x180019c52
inc esi
jmp 0x180019bdd
mov rcx, qword [rbp + 0x80]
lea r8, [rbp - 0x60]
mov r9d, 0x358
lea rdx, [rbp - 0x60]
call fcn.18000c4f0
mov rbx, rax
test eax, eax
jne 0x180019c52
add edi, 0x29
cmp edi, 0x47c5
jbe 0x180019b80
mov edi, 0
cmp esi, r14d
jle 0x180019b50
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x60]
xor r9d, r9d
mov dword [rsp + 0x20], 0x1f96
xor r8d, r8d
xor edx, edx
call fcn.1800496c0
test eax, eax
jne 0x180019c52
add r15d, 0x60
cmp r15d, 0x7b5d
jbe 0x180019b2d
mov r10, qword [rbp + 0x88]
mov r14d, 0x1716
mov r15, qword [rbp + 0x90]
mov dword [r10], 1
jmp 0x18001a30d
mov r10, qword [rbp + 0x88]
mov r15, qword [rbp + 0x90]
mov r14d, 0x1716
jmp 0x18001a30d
mov eax, r14d
sub eax, 0x1775
je 0x180019cc7
sub eax, 0x5f
je 0x180019ca9
sub eax, 0x5f
je 0x180019c8d
cmp eax, 0x5f
je 0x180019fc9
jmp 0x18001a314
lea r9, [rbp - 0x28]
xor edx, edx
xor ecx, ecx
mov r8d, 0x5623
call fcn.1800490b0
mov dword [rsp + 0x60], ebx
jmp 0x18001a306
lea r9, [rbp - 0x10]
xor edx, edx
xor ecx, ecx
mov r8d, 0x5623
call fcn.1800490b0
mov r14d, 0x17d4
jmp 0x18001a306
lea r9, [rbp - 0x60]
xor edx, edx
xor ecx, ecx
mov r8d, 0x5623
call fcn.1800490b0
mov r14d, 0x1775
jmp 0x18001a306
cmp qword [rsi + 0x18], 0x10
mov rax, rsi
jb 0x180019cf2
mov rax, qword [rsi]
mov r12, qword [rsi + 0x10]
add rax, 4
mov qword [rsp + 0x78], rax
sub r12, 4
lea rax, [r15 + 0x20]
mov qword [rsp + 0x68], r12
mov qword [rbp - 0x30], rax
jmp 0x18001a314
cmp r14d, 0x72f7
ja 0x18001a056
je 0x18001a03f
mov eax, r14d
sub eax, 0x4684
je 0x180019d84
sub eax, 0x5f
je 0x180019d77
sub eax, 0x5f
je 0x180019fc9
sub eax, 0x1cfa
je 0x18001a33f
cmp eax, 0xe5c
jne 0x18001a314
mov r9d, 0x52bc
mov qword [rsp + 0x20], 0
mov r8, r15
mov rdx, rsi
xor ecx, ecx
call fcn.1800176d0
jmp 0x18001a306
test r12, r12
sete byte [rsp + 0x60]
jmp 0x18001a314
mov rdx, qword [rbp - 0x30]
xor r8d, r8d
nop dword [rax + rax]
mov ecx, 0x5fa
mov eax, ecx
sub eax, 0x5fa
je 0x180019dce
mov rdi, qword [rsp + 0x68]
cmp eax, 0x4b
jne 0x180019df1
mov rax, r9
sub rax, r13
add rdi, rax
mov qword [rsp + 0x68], rdi
je 0x180019fc4
mov r14, qword [rsp + 0x78]
inc r14
add r14, r13
mov qword [rsp + 0x78], r14
jmp 0x180019df6
mov r14, qword [rsp + 0x78]
mov r13, r9
mov qword [rdx], r14
nop dword [rax]
inc r13
cmp byte [r14 + r13], 0
jne 0x180019de0
mov rdi, qword [rsp + 0x68]
jmp 0x180019df6
mov r14, qword [rsp + 0x78]
add ecx, 0x4b
cmp ecx, 0x645
jbe 0x180019d95
inc r8d
add rdx, 8
cmp r8d, 4
jb 0x180019d90
mov r8d, 0x10
mov qword [rbp + 8], r15
lea rdx, [rbp + 8]
mov qword [rbp + 0x10], r10
lea rcx, [rbp + 0x18]
call fcn.180061240
lea rcx, [rbp + 0x18]
mov dword [rbp - 0x7c], 0
mov qword [rbp - 0x78], rcx
nop dword [rax + rax]
mov eax, 0x70e
mov dword [rbp - 0x80], eax
nop dword [rax + rax]
sub eax, 0x70e
je 0x180019fe1
sub eax, 0x24
je 0x180019fb2
sub eax, 0x24
je 0x180019e94
sub eax, 0x24
je 0x180019e83
cmp eax, 0x24
jne 0x180019ff7
mov eax, dword [rsp + 0x70]
sub rdi, rax
jmp 0x180019ff2
mov eax, dword [rsp + 0x70]
add r14, rax
mov qword [rsp + 0x78], r14
jmp 0x180019ff7
mov rsi, qword [rcx]
mov r15d, dword [rsp + 0x70]
mov r12, qword [rsi + 0x18]
cmp r15, r12
ja 0x180019ed1
mov rdi, rsi
cmp r12, 0x10
jb 0x180019eb1
mov rdi, qword [rsi]
mov r8, r15
mov qword [rsi + 0x10], r15
mov rdx, r14
mov rcx, rdi
call fcn.180061240
mov rcx, qword [rbp - 0x78]
mov byte [rdi + r15], 0
jmp 0x180019ff7
mov rcx, r12
movabs rdx, 0x7fffffffffffffff
shr rcx, 1
mov rax, rdx
mov r14, r15
sub rax, rcx
or r14, 0xf
cmp r12, rax
jbe 0x180019ef8
mov r14, rdx
jmp 0x180019f03
lea rax, [r12 + rcx]
cmp r14, rax
cmovb r14, rax
lea rax, [r14 + 1]
cmp rax, 0x1000
jb 0x180019f3d
lea rcx, [rax + 0x27]
cmp rcx, rax
mov rax, 0xffffffffffffffff
cmovbe rcx, rax
call fcn.18005f2e0
test rax, rax
je 0x18001a370
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180019f51
test rax, rax
je 0x180019f4f
mov rcx, rax
call fcn.18005f2e0
mov rdi, rax
jmp 0x180019f51
xor edi, edi
mov qword [rsi + 0x18], r14
mov r8, r15
mov r14, qword [rsp + 0x78]
mov rcx, rdi
mov rdx, r14
mov qword [rsi + 0x10], r15
call fcn.180061240
mov byte [rdi + r15], 0
cmp r12, 0x10
jb 0x180019fa9
mov rcx, qword [rsi]
lea rdx, [r12 + 1]
cmp rdx, 0x1000
jb 0x180019fa4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001a370
mov rcx, r8
call fcn.18005f31c
mov rcx, qword [rbp - 0x78]
mov qword [rsi], rdi
jmp 0x180019ff7
mov eax, dword [rsp + 0x70]
add r14, 4
mov qword [rsp + 0x78], r14
cmp rax, rdi
jbe 0x180019ff7
mov byte [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp rdi, 4
jb 0x180019fc4
mov eax, dword [r14]
sub rdi, 4
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x68], rdi
mov eax, dword [rbp - 0x80]
mov rdi, qword [rsp + 0x68]
add eax, 0x24
mov dword [rbp - 0x80], eax
cmp eax, 0x79e
jbe 0x180019e50
mov edx, dword [rbp - 0x7c]
add rcx, 8
inc edx
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x7c], edx
cmp edx, 2
jb 0x180019e40
mov r14d, dword [rbp + 0x98]
mov r12, rdi
mov r15, qword [rbp + 0x90]
jmp 0x18001a306
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov ecx, 0x3bcb
call fcn.18000fa60
jmp 0x18001a306
mov eax, r14d
sub eax, 0x7dba
je 0x18001a0cb
sub eax, 0x5f
je 0x18001a085
sub eax, 0x5f
je 0x18001a078
cmp eax, 0x5f
je 0x180019fc9
jmp 0x18001a314
mov dword [rsp + 0x60], 0
jmp 0x18001a314
mov qword [rsp + 0x30], 0
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], 0
mov r9d, 0x35a6
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r10
xor ecx, ecx
call fcn.180013c40
lea r9, [rbp - 0x48]
xor edx, edx
xor ecx, ecx
mov r8d, 0x5623
call fcn.1800490b0
jmp 0x18001a306
mov eax, dword [r15]
cmp dword [rsi], eax
jle 0x18001a129
mov edi, 0x6597
mov eax, edi
sub eax, 0x6597
je 0x18001a0f2
cmp eax, 0x62
jne 0x18001a11c
mov eax, dword [r15]
mov dword [rsp + 0x74], eax
mov qword [rbp - 0x70], r15
jmp 0x18001a11c
mov qword [rsp + 0x28], 0
lea rcx, [rbp - 0x48]
mov r9, rsi
mov dword [rsp + 0x20], 0x4481
xor r8d, r8d
xor edx, edx
call fcn.180010320
test eax, eax
jne 0x180019fcd
add edi, 0x62
cmp edi, 0x65f9
jbe 0x18001a0d7
jmp 0x18001a17f
mov edi, 0x55f0
nop
mov eax, edi
sub eax, 0x55f0
je 0x18001a14a
cmp eax, 0x38
jne 0x18001a174
mov eax, dword [rsi]
mov dword [rsp + 0x74], eax
mov qword [rbp - 0x70], rsi
jmp 0x18001a174
mov qword [rsp + 0x28], 0
lea rcx, [rbp - 0x48]
mov r9, r15
mov dword [rsp + 0x20], 0x4481
xor r8d, r8d
xor edx, edx
call fcn.180010320
test eax, eax
jne 0x180019fcd
add edi, 0x38
cmp edi, 0x5628
jbe 0x18001a130
mov edi, dword [rsp + 0x74]
xor edx, edx
test edi, edi
jle 0x18001a283
cmp edi, 0x10
jb 0x18001a283
mov r8, qword [rbp - 0x38]
lea eax, [rdi - 1]
mov rsi, qword [rbp - 0x70]
mov r10, qword [rsi + 0x10]
lea r9, [rsi + 0x10]
movsxd rcx, eax
lea rax, [r10 + rcx*4]
lea r11, [r8 + rcx*4]
cmp r8, rax
ja 0x18001a1c2
cmp r11, r10
jae 0x18001a28b
cmp r8, r9
ja 0x18001a1d0
cmp r11, r9
jae 0x18001a28b
mov ecx, edi
and ecx, 0x8000000f
jge 0x18001a1e1
dec ecx
or ecx, 0xfffffff0
inc ecx
mov eax, edi
mov r8, 0xfffffffffffffff0
sub eax, ecx
mov r11d, 0x10
movsxd rsi, eax
mov rdi, 0xffffffffffffffe0
mov rax, qword [rbp - 0x38]
mov r9, rax
sub r8, rax
neg r9
sub r11, rax
sub rdi, rax
lea rcx, [rax + 0x20]
movdqu xmm0, xmmword [rcx - 0x20]
lea rax, [rdi + rcx]
add rdx, 0x10
movdqu xmm1, xmmword [rax + r10]
lea rax, [r8 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm1, xmmword [rax + r10]
lea rax, [r9 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rax + r10]
lea rax, [r11 + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x40], xmm1
movdqu xmm0, xmmword [rcx - 0x30]
movdqu xmm1, xmmword [rax + r10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rdx, rsi
jl 0x18001a213
mov edi, dword [rsp + 0x74]
mov rsi, qword [rbp - 0x70]
mov r8, qword [rbp - 0x38]
movsxd r9, edi
cmp rdx, r9
jge 0x18001a2b9
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x10]
mov ecx, dword [rax + rdx*4]
xor dword [r8 + rdx*4], ecx
inc rdx
cmp rdx, r9
jge 0x18001a2b9
mov r8, qword [rbp - 0x38]
jmp 0x18001a2a0
mov qword [rsp + 0x50], 0
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], 0
xor r9d, r9d
mov qword [rsp + 0x40], 0
xor r8d, r8d
mov qword [rsp + 0x38], 0
xor edx, edx
mov qword [rsp + 0x30], 0
xor ecx, ecx
mov dword [rsp + 0x28], 0x1f77
mov qword [rsp + 0x20], rax
call fcn.180048690
mov r10, qword [rbp + 0x88]
mov r9, 0xffffffffffffffff
add r14d, 0x5f
mov dword [rbp + 0x98], r14d
cmp r14d, dword [rbp - 0x64]
ja 0x180019fc9
mov rsi, qword [rbp + 0x80]
jmp 0x1800198e1
mov eax, 0xfffffffd
jmp 0x180019fcd
cmp dword [rsi + 8], 1
je 0x18001a368
cmp dword [rsi], 1
jg 0x18001a35e
mov rcx, qword [rsi + 0x10]
mov edx, dword [rcx]
cmp edx, dword [r15]
ja 0x18001a35e
jb 0x18001a368
xor eax, eax
jmp 0x180019fcd
mov eax, 1
jmp 0x180019fcd
mov eax, r9d
jmp 0x180019fcd
call fcn.180063a04
int3