Function at 0x140008730
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x920
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x8e8], r15
mov qword [rbp + 0x8f0], r12
mov qword [rbp + 0x8e0], 0xfffffffffffffffe
cmp byte [0x1403cee67], 0
jne 0x14000f77c
mov cl, 1
mov edx, 0xa8
mov r12b, cl
xor eax, eax
pxor xmm0, xmm0
lea r8, [0x1403be060]
mov qword [r8 + rdx + 8], 0
movdqu xmmword [r8 + rdx + 0x18], xmm0
lea r8, [0x1403be060]
inc cl
mov dword [r8 + rdx + 0x14], eax
mov byte [r8 + rdx + 0xa0], al
mov byte [r8 + rdx + 0x10], 0x2e
add rdx, 0xa8
cmp cl, 0x29
jl 0x140008773
lea rdx, str.i386
lea rcx, [rbp]
lea r15, [0x1401bb2b6]
mov qword [0x1403be108], r15
mov qword [0x1403be110], r15
mov dword [0x1403be11c], 1
call fcn.1400123c0
nop
lea rcx, [0x1403be148]
lea rdx, [rbp]
call fcn.140025eb0
nop
lea rcx, [rbp]
call fcn.140026400
lea rdx, str.i386
lea rcx, [rbp]
call fcn.1400123c0
nop
lea rcx, [0x1403be160]
lea rdx, [rbp]
call fcn.140025eb0
nop
lea rcx, [rbp]
call fcn.140026400
lea rdx, str.generic
lea rcx, [rbp]
call fcn.1400123c0
nop
lea rcx, [0x1403be160]
lea rdx, [rbp]
call fcn.140025eb0
nop
lea rcx, [rbp]
call fcn.140026400
lea rdx, str.__tune_i386__
lea rcx, [rbp]
call fcn.1400123c0
nop
lea rcx, [0x1403be178]
lea rdx, [rbp]
call fcn.140025eb0
nop
lea rcx, [rbp]
call fcn.140026400
lea rdx, str.generic
lea rcx, [rbp]
call fcn.1400123c0
nop
lea rcx, [0x1403be190]
lea rdx, [rbp]
call fcn.140025eb0
nop
lea rcx, [rbp]
call fcn.140026400
lea rcx, [0x1403be1c8]
lea rdx, [rbp + 0x500]
mov r8d, 2
mov byte [0x1403be118], 0x41
mov byte [0x1403be1a8], 1
mov qword [0x1403be1b0], r15
mov qword [0x1403be1b8], r15
call fcn.140008450
mov edx, 1
lea rcx, [rbp + 0x500]
call fcn.140008460
lea rcx, [0x1403be1e8]
lea rdx, [rbp + 0x510]
mov r8d, 7
mov dword [0x1403be1c4], 2
call fcn.140012440
mov edx, 1
lea rcx, [rbp + 0x510]
call fcn.140012450
lea rcx, [0x1403be1e8]
lea rdx, [rbp + 0x510]
mov r8d, 0xd
call fcn.140012440
mov edx, 1
lea rcx, [rbp + 0x510]
call fcn.140012450
lea rdx, str.pentium
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be1f0]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rdx, str.pentium
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be208]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rdx, str.__pentium
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be220]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rdx, str.__pentium__
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be220]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.14000120b
lea rdx, str.__tune_pentium__
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be220]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rdx, str.__i586
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be220]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rdx, str.__i586__
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be220]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rdx, str.__tune_i586__
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be220]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rdx, str.pentium
lea rcx, [rbp + 0x20]
call fcn.1400123c0
nop
lea rcx, [0x1403be238]
lea rdx, [rbp + 0x20]
call fcn.140025eb0
nop
lea rcx, [rbp + 0x20]
call fcn.140026400
lea rcx, [0x1403be270]
lea rdx, [0x1403be1c8]
mov byte [0x1403be1c0], 0x42
mov byte [0x1403be250], 1
mov qword [0x1403be258], r15
mov qword [0x1403be260], r15
call fcn.140026640
lea rcx, [0x1403be280]
lea rdx, [0x1403be1d8]
call fcn.140026640
lea rcx, [0x1403be270]
lea rdx, [rbp + 0x520]
mov r8d, 3
call fcn.140008450
mov edx, 1
lea rcx, [rbp + 0x520]
call fcn.140008460
lea rcx, [0x1403be290]
lea rdx, [rbp + 0x530]
mov r8d, 0x44894c0d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x38
mov rbx, qword [rsp + 0x90]
xor r12d, r12d
mov ebp, edx
mov r13, r9
mov rdi, rcx
mov eax, dword [rbx + 0x11c]
cmp dword [rbp + rcx - 8], eax
jne 0x140008d7a
lea rdx, [rbx + 0x110]
mov qword [rsp + 0x30], r15
lea r8d, [r12 + 4]
lea rcx, [rsp + 0x20]
call fcn.14000a45c
lea rdx, [rbx + 0x114]
lea r8d, [r12 + 4]
lea rcx, [rsp + 0x24]
call fcn.14000a45c
xor r14d, r14d
mov qword [rsp + 0x88], rsi
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x28], rax
mov eax, edi
mov dword [rsp + 0x70], eax
nop word [rax + rax]
xor r9d, r9d
lea r10d, [rbp - 0x10]
sub eax, edi
lea r11, [rdi + 1]
add r10d, eax
je 0x140008d16
lea rax, [rsp + 0x20]
mov r8, r11
sub r8, rax
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rax, [rsp + 0x20]
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x140008c25
cmp cl, 0x3f
jne 0x140008cc3
inc edx
inc rax
cmp edx, 8
jb 0x140008c13
mov edi, r9d
add rdi, r11
je 0x140008d16
mov edx, dword [rdi]
lea rsi, [rdi + 8]
mov eax, edx
shr eax, 0x10
movzx ebx, al
mov eax, edx
shr eax, 8
movzx ecx, al
shl ebx, 8
movzx eax, dl
shl eax, 0x18
shl ecx, 0x10
add ebx, ecx
shr edx, 0x18
add ebx, eax
mov rax, qword [rsp + 0x90]
add ebx, edx
mov eax, dword [rax + 0x5c]
cmp dword [rsi], eax
jne 0x140008cd4
test r14, r14
jne 0x140008ce1
mov r15d, dword [rsi + 8]
add r15d, 0x10
mov qword [rsp + 0x28], rsi
mov eax, r15d
jne 0x140008c96
mov rax, qword [r13 + 0x28]
mov eax, dword [rax + 0xe0]
mov edx, eax
mov rax, qword [r13 + 0x28]
mov ecx, dword [rax + 0x40]
call qword [r13 + 0xc0]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
mov r14, rax
call fcn.14000a45c
mov eax, dword [rsp + 0x70]
add r12d, ebx
jmp 0x140008bdc
inc r9d
inc r8
cmp r9d, r10d
jb 0x140008c0c
jmp 0x140008d16
mov eax, dword [rsp + 0x70]
test r14, r14
je 0x140008bdc
mov ecx, r12d
lea ebp, [rbx + r12]
add rcx, r14
mov rdx, rsi
cmp ebp, r15d
ja 0x140008d0b
mov r8d, ebx
call fcn.14000a45c
mov eax, dword [rsp + 0x70]
mov r12d, ebp
mov ebp, dword [rsp + 0x78]
jmp 0x140008bdc
sub r15d, r12d
mov r8d, r15d
call fcn.14000a45c
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x88]
test r14, r14
je 0x140008d7a
mov rax, qword [rsp + 0x28]
lea rcx, [r14 + 0x10]
mov r8d, dword [rax + 4]
mov eax, dword [rax + 8]
test al, 3
je 0x140008d42
dec eax
test al, 3
jne 0x140008d3c
test eax, eax
je 0x140008d5b
lea edx, [rax - 1]
shr edx, 2
inc edx
xor dword [rcx], r8d
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140008d4e
mov rax, qword [rsp + 0x80]
test r12d, r12d
mov qword [rax], r14
setne al
add rsp, 0x38
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
xor al, al
add rsp, 0x38
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
xor eax, eax
inc eax
lea rsp, [rbp + 0x900]
pop rbp
ret