Function at 0x140015788
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov qword [rsp + 0x58], rdx
mov rsi, rcx
lea rbx, [rsp + 0x84]
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x60]
mov dword [rbx], 0x14
xor ecx, ecx
mov edx, 1
mov r8d, 0x913338ad
mov r9d, 0x74
call fcn.14001939f
mov rcx, rsi
mov rdx, rbx
call rax
mov qword [rsp + 0x78], rsi
mov al, byte [rsi]
mov byte [rsp + 0x2f], al
mov eax, 4
lea rcx, [rsp + 0x30]
or rcx, rax
mov qword [rsp + 0x50], rcx
mov eax, 0x12fd8678
mov r13d, 0xffffffff
mov r9d, 0xc2efa792
mov r10d, 0xe0d4dc01
mov r11d, 0x1f2b23fe
mov r14d, 0x3ab2df3a
mov r15d, 0xcb995cda
mov r12d, 0x46ccefd4
cmp eax, 0x268087e2
jle 0x140015850
cmp eax, 0x3a22292b
jg 0x1400158e8
cmp eax, 0x268087e3
je 0x140015b79
cmp eax, 0x3581e214
jne 0x140015827
jmp 0x140015d0e
cmp eax, 0xd7ba8677
je 0x140015afa
cmp eax, 0x12fd8678
je 0x140015b15
cmp eax, 0x2100fae2
jne 0x140015827
lea rdi, [rsp + 0x80]
mov qword [rsp + 0x68], rdi
mov rax, qword [rsp + 0x68]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x70], rbx
mov rax, qword [rsp + 0x70]
xor esi, esi
mov qword [rsp + 0x40], rsi
xor ecx, ecx
mov edx, 0xa
mov r8d, 0x8ece2d00
mov r9d, 0x209
call fcn.14001939f
xor ecx, ecx
mov rdx, rbx
mov r12d, 0x46ccefd4
mov r8, rdi
call rax
mov r11d, 0x1f2b23fe
mov r10d, 0xe0d4dc01
mov r9d, 0xc2efa792
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], rsi
mov eax, 0xd7ba8677
jmp 0x140015b08
cmp eax, 0x3a22292c
je 0x140015b2c
cmp eax, 0x7e690be3
jne 0x140015827
xor eax, eax
mov byte [rsp + 0x30], al
mov dword [rsp + 0x34], 0x6cd1baa9
mov dword [rsp + 0x38], 0x2d95b4b3
cmp byte [rsp + 0x30], al
mov r11d, 0x9bc0f5fc
mov ebx, 0x63cd6ad3
jne 0x140015ac9
xor r8d, r8d
mov r9d, dword [rsp + r8*4 + 0x34]
mov ebp, r9d
xor ebp, r13d
mov edi, ebp
and edi, 0x2a90c41a
mov eax, r9d
and eax, 0x10221b20
or eax, edi
mov edi, eax
xor edi, 0x10220320
xor eax, 0xefdde4df
mov ecx, r9d
xor ecx, r14d
and ecx, r9d
mov esi, ecx
xor esi, r13d
mov edx, eax
and edx, r15d
and edi, 0x30228320
or edi, edx
or eax, esi
and esi, r15d
and ecx, 0x3466a325
or ecx, esi
xor ecx, edi
xor eax, r13d
or eax, ecx
mov ecx, eax
xor ecx, r13d
and ecx, 0xc54d20c5
and eax, r14d
or eax, ecx
mov ecx, eax
xor ecx, r13d
and ecx, 0xc041163
mov edx, 0x2191e484
and eax, edx
or eax, ecx
mov esi, eax
xor esi, edx
or esi, 0xd26a0a18
xor eax, 0x4001141
and ebp, 0x24b8b720
and r9d, 0xdb4748df
or r9d, ebp
mov ecx, r9d
xor ecx, 0x90540c7
and ecx, 0x2d95f5e7
xor r9d, 0xf6d2bd38
or r9d, ecx
mov ecx, r9d
xor ecx, r13d
and ecx, 0xb933102b
and r9d, r12d
or r9d, ecx
mov edi, r9d
xor edi, r12d
mov ecx, r9d
xor ecx, 0x98321028
and ecx, 0x9c32952c
xor r9d, 0xdf88897a
and r9d, edi
and edi, ebx
or edi, ecx
mov ecx, edi
xor ecx, ebx
mov r10d, esi
and r10d, ecx
xor ecx, esi
and esi, 0x994466ae
and eax, 0x24919141
or eax, esi
mov ebp, edi
xor ebp, 0x9800042c
or ebp, 0x66bb9951
xor edi, 0x442002
mov esi, ebp
mov edx, 0x75925fb4
and esi, edx
and edi, 0x8844200a
or edi, esi
mov ebx, r9d
xor ebx, r13d
or ebp, ebx
and ebx, edx
and r9d, 0x8a6da04b
or r9d, ebx
mov r12d, 0x46ccefd4
xor r9d, edi
xor ebp, r13d
or ebp, r9d
mov edx, eax
xor edx, r13d
and edx, ebp
xor ebp, r13d
and ebp, eax
or ebp, edx
or ecx, r10d
mov ebx, 0x63cd6ad3
mov eax, ebp
xor eax, r13d
mov edx, eax
and edx, r11d
mov edi, 0x643f0a03
and ebp, edi
or ebp, edx
mov edx, ecx
xor edx, r13d
or eax, ecx
and ecx, r11d
and edx, edi
or edx, ecx
xor edx, ebp
xor eax, r13d
or eax, edx
mov dword [rsp + r8*4 + 0x34], eax
test r8, r8
mov r8d, 1
je 0x14001592c
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x50]
mov r8d, 7
call fcn.140014dfa
mov eax, 0x2100fae2
mov r9d, 0xc2efa792
mov r10d, 0xe0d4dc01
mov r11d, 0x1f2b23fe
jmp 0x140015827
mov rax, qword [rsp + 0x48]
cmp word [rax], 0
mov eax, 0x3a22292c
mov ecx, 0x268087e3
cmove eax, ecx
jmp 0x140015827
cmp byte [rsp + 0x2f], 0
mov eax, 0x2100fae2
mov ecx, 0x7e690be3
cmove eax, ecx
jmp 0x140015827
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
call fcn.1400141d0
mov rsi, qword [rsp + 0x40]
xor ecx, ecx
mov edx, 0xa
mov r8d, 0xd4d62162
mov r9d, 0x208
call fcn.14001939f
mov rcx, rsi
call rax
mov r11d, 0x1f2b23fe
mov r10d, 0xe0d4dc01
mov r9d, 0xc2efa792
mov eax, 0x3581e214
jmp 0x140015827
xor eax, eax
mov byte [rsp + 0x30], al
mov dword [rsp + 0x34], 0x2045ffc
mov dword [rsp + 0x38], 0x501345fd
cmp byte [rsp + 0x30], al
mov r15d, 0xfc598738
mov r14d, 0x3a678c7
jne 0x140015cdd
xor r8d, r8d
mov ecx, dword [rsp + r8*4 + 0x34]
mov ebx, ecx
xor ebx, r13d
mov eax, ecx
mov edx, ecx
mov edi, ebx
and edi, 0x403cf7c5
and ecx, 0xbfc3083a
or ecx, edi
mov ebp, ebx
xor ecx, r13d
or ecx, ebx
and ebx, 0xe399a8f1
and eax, 0x1c66570e
or eax, ebx
mov esi, eax
xor esi, 0x460c
xor eax, 0x60100020
or ebp, 0x70100022
or eax, 0x80002080
mov ebx, 0xf01020a2
and eax, ebx
and esi, 0x180c65c
or esi, eax
and ebp, ebx
and edx, 0xe6f1901
or edx, ebp
xor edx, esi
mov eax, edx
xor eax, r13d
and eax, 0xc522b527
and edx, 0x3add4ad8
or edx, eax
mov eax, edx
xor eax, 0x9000824
xor edx, 0x80a22310
and eax, 0x3d10586d
and edx, r9d
or edx, eax
mov eax, edx
xor eax, 0x7d2cafa8
xor edx, r9d
and edx, eax
mov eax, ecx
xor eax, r13d
mov ebp, edx
xor ebp, ecx
and ebp, edx
mov ebx, edx
xor ebx, r13d
and ebx, r10d
and edx, r11d
or edx, ebx
and ecx, r10d
and eax, r11d
or eax, ecx
xor eax, edx
mov ecx, ebp
xor ecx, r13d
mov edx, eax
xor edx, r13d
mov ebx, ecx
and ebx, r14d
and ebp, r15d
or ebp, ebx
or ecx, edx
and edx, r14d
and eax, r15d
or eax, edx
xor eax, ebp
mov esi, 0x411470e0
xor ecx, r13d
or ecx, eax
mov eax, ecx
mov edx, ecx
xor edx, 0x731479e9
and edx, ecx
xor ecx, r13d
and ecx, 0x32000909
and eax, esi
or eax, ecx
xor eax, esi
mov ecx, eax
and ecx, edx
xor edx, eax
or edx, ecx
mov eax, edx
xor eax, r13d
and eax, 0x8af1bba6
and edx, 0x750e4459
or edx, eax
xor edx, 0xe99a2538
mov dword [rsp + r8*4 + 0x34], edx
test r8, r8
mov r8d, 1
je 0x140015ba8
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8d, 8
call fcn.140014dfa
mov r11d, 0x1f2b23fe
mov r10d, 0xe0d4dc01
mov r9d, 0xc2efa792
mov eax, 0x3581e214
jmp 0x140015815
mov rax, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret