Function at 0x140188490
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rdx, qword [0x1404ded80]
add rdx, 0x10
jne 0x1401884bd
xor edi, edi
jmp 0x140188503
xor edi, edi
lea r9d, [rdi + 4]
lea r8, [rbp + 0x230]
mov rcx, qword [0x1404dded0]
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], dil
jne 0x1401884f3
call fcn.1401f46d0
test eax, eax
js 0x140188503
mov eax, dword [rbp + 0x230]
jmp 0x140188505
call 0x140c324fc
int3
mov eax, edi
mov edx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
lea rbx, [rdx*8]
test eax, eax
je 0x14018854b
lea rcx, [rsp + 0x50]
call fcn.14009cb30
mov r12, qword [rsp + 0x50]
lea r14, [r12 + rbx]
mov qword [rsp + 0x48], r14
mov rdx, r14
mov rcx, r12
call fcn.1401a2c20
mov qword [rsp + 0x58], r14
jmp 0x14018855a
mov r14, qword [rsp + 0x58]
mov qword [rsp + 0x48], r14
mov r12, qword [rsp + 0x50]
mov rdx, qword [0x1404ded80]
add rdx, 8
je 0x1401885af
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [rbp + 0x238]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x14018859e
call fcn.1401f46d0
test eax, eax
js 0x1401885af
mov rdx, qword [rbp + 0x238]
jmp 0x1401885b2
call 0x1407f5382
int3
mov rdx, rdi
cmp dword [0x1404dedcc], 0
je 0x1401885f5
test rdx, rdx
je 0x1401885f5
test r12, r12
je 0x1401885f5
test rbx, rbx
je 0x1401885f5
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, r12
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x1401885ef
call fcn.1401f46d0
jmp 0x1401885f5
push rbx
call 0x1405540a6
cmp r12, r14
je 0x140188b77
movabs r15, 0xfffffe539f
nop dword [rax + rax]
mov r13, qword [r12]
mov qword [rsp + 0x38], r13
test r13, r13
je 0x140188b77
mov r8d, 0x1000
mov rcx, r13
call fcn.14008bb10
test al, al
je 0x140188b6a
mov rcx, r13
call fcn.14008cc60
movzx esi, al
mov byte [rbp + 0x230], al
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
lea rcx, [0x1404df7c8]
call fcn.140090430
movzx r11d, al
xor r11b, 1
mov rdx, rbx
lea rcx, [0x1404df7b0]
call fcn.140090430
test al, al
jne 0x140188688
movzx r11d, r11b
test sil, sil
mov eax, 1
cmovne r11d, eax
mov rdx, rbx
lea rcx, [0x1404df7f8]
call fcn.140090430
test al, al
jne 0x1401886a0
test sil, sil
je 0x1401886a9
test r11b, r11b
je 0x140188b6a
lea rdx, [rbx + 0xc8]
cmp dword [0x1404dedcc], 0
je 0x1401886ee
test rdx, rdx
je 0x1401886ee
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x1401886e8
call fcn.1401f46d0
jmp 0x1401886ee
push rdx
call 0x14079c651
lea rcx, [rbp - 0x30]
call fcn.140188ba0
nop
lea rcx, [r13 + 0x3128]
call fcn.140082c90
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
mov rcx, rax
call fcn.1400817a0
nop
lea rcx, [r13 + 0x3130]
call fcn.140082c90
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call fcn.1400817a0
nop
mov rax, qword [rsp + 0x38]
mov qword [rbp - 0x30], rax
lea rdx, [r13 + 0x10]
test rdx, rdx
jne 0x14018874d
movzx eax, di
jmp 0x140188799
mov qword [rsp + 0x20], rdi
mov r9d, 2
lea r8, [rbp + 0x238]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x140188784
call fcn.1401f46d0
test eax, eax
js 0x140188797
movzx eax, word [rbp + 0x238]
jmp 0x140188799
call 0x1409cccc3
int3
mov eax, edi
mov word [rbp - 0x28], ax
lea rdx, [r13 + 0xc8]
test rdx, rdx
je 0x1401887ef
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x240]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], 0
jne 0x1401887df
call fcn.1401f46d0
test eax, eax
js 0x1401887ef
mov eax, dword [rbp + 0x240]
jmp 0x1401887f1
push rax
call 0x140847842
test eax, eax
mov eax, dword [rbp + 0x240]
jne 0x1401887f1
mov eax, edi
mov dword [rbp - 0x24], eax
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.14008af30
mov rbx, rax
lea rax, [rbp + 0x90]
cmp rax, rbx
je 0x14018888e
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140188851
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018884c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140188b95
call fcn.1401f638c
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0xa0], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [rsp + 0x68]
call fcn.1400166a0
lea r10, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova r10, qword [rbp + 0x90]
movabs r9, 0xabc29ce444222325
nop dword [rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rax, cl
xor r9, rax
imul r9, r15
test r8b, r8b
jne 0x1401888c0
mov qword [rbp + 0x88], r9
lea r14, [rbp + 0x58]
lea rsi, [r13 + 0x3108]
mov r15d, 4
mov rcx, rsi
call fcn.140082c90
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400817a0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400811f0
mov rdx, rax
call fcn.140196e50
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.1400166a0
test rbx, rbx
je 0x14018897c
mov rcx, rsi
call fcn.140082c90
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.1400817a0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400811f0
nop
mov rdx, rax
call fcn.140196d00
mov rcx, qword [rax]
mov eax, dword [rcx + 0x44]
mov dword [r14], eax
lea rcx, [rbp - 0x78]
call fcn.1400166a0
add rsi, 8
add r14, 4
sub r15, 1
jne 0x140188902
lea rdx, [r13 + 0x3c]
test rdx, rdx
je 0x1401889db
mov qword [rsp + 0x20], rdi
lea r9d, [r15 + 4]
lea r8, [rbp + 0x248]
mov rcx, qword [0x1404dded0]
mov rcx, qword [rcx]
cmp byte [0x1404dcc79], r15b
jne 0x1401889cb
call fcn.1401f46d0
test eax, eax
js 0x1401889db
mov eax, dword [rbp + 0x248]
jmp 0x1401889dd
push rdi
call 0x1409d43f6
test eax, eax
mov eax, dword [rbp + 0x248]
jne 0x1401889dd
mov eax, edi
mov dword [rbp + 0xb0], eax
mov byte [rbp + 0x3c], 1
movzx eax, byte [rbp + 0x20]
movabs rcx, 0x55679cf2213db2e2
cmp qword [rbp + 0x88], rcx
mov ecx, 1
cmove eax, ecx
mov byte [rbp + 0x20], al
cmp byte [rbp + 0x230], 0
je 0x140188a42
mov rax, qword [0x1404df7b8]
cmp rax, qword [0x1404df7c0]
je 0x140188a39
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.1400904e0
add qword [0x1404df7b8], 0x1d0
jmp 0x140188a7e
lea rcx, [0x1404df7b0]
jmp 0x140188a72
mov rax, qword [0x1404df800]
cmp rax, qword [0x1404df808]
je 0x140188a6b
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.1400904e0
add qword [0x1404df800], 0x1d0
jmp 0x140188a7e
lea rcx, [0x1404df7f8]
lea r8, [rbp - 0x30]
mov rdx, rax
call fcn.1401bcd60
mov rax, qword [0x1404df7d0]
cmp rax, qword [0x1404df7d8]
je 0x140188aa7
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.1400904e0
add qword [0x1404df7d0], 0x1d0
jmp 0x140188aba
lea r8, [rbp - 0x30]
mov rdx, rax
lea rcx, [0x1404df7c8]
call fcn.1401bcd60
lea rcx, [r13 + 0x27f8]
lea rdx, [rsp + 0x68]
call fcn.140084d00
mov rbx, rax
lea rdx, [rsp + 0x38]
call fcn.140197660
mov rsi, rax
cmp rax, rbx
je 0x140188b09
mov rcx, rax
call fcn.1401974f0
mov rcx, qword [rbx]
mov qword [rsi], rcx
mov rcx, qword [rbx + 8]
mov qword [rsi + 8], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rsi + 0x10], rcx
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
lea rcx, [rsp + 0x68]
call fcn.1401974f0
nop
lea rcx, [rbp + 0x1a0]
call fcn.1400166a0
nop
lea rcx, [rbp + 0x1c0]
call fcn.1400166a0
nop
lea rcx, [rbp + 0x150]
call fcn.1400166a0
lea rcx, [rbp + 0x130]
call fcn.1400166a0
lea rcx, [rbp + 0x90]
call fcn.1400166a0
lea rcx, [rbp + 0x70]
call fcn.140029210
mov r14, qword [rsp + 0x48]
movabs r15, 0xfffffe539f
add r12, 8
cmp r12, r14
jne 0x140188610
lea rcx, [rsp + 0x50]
call fcn.140023e80
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140200f7c
nop
int3