Function at 0x18029cce0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r12, qword [rsp + 0xb0]
mov rax, 0xffffffffffffffff
cmp r9, 0
cmove r12, rax
mov rcx, rbx
call fcn.1803ebd10
mov rcx, rax
mov r8, rdi
add r8, 8
mov eax, dword [0x180524d90]
add eax, dword [0x180524d94]
sub eax, 0x4e5845f9
sub eax, 0xf20fefde
and eax, 0x393f4a52
cmp eax, 0xaf55c398
je 0x18029d007
mov eax, dword [0x180524d98]
sub eax, dword [0x180524d9c]
or eax, 0x4ef47f8d
mov r9d, 0xae85c7c3
xor edx, edx
div r9d
imul edx, eax, 0x4066a9a8
mov r14, qword [r8]
mov r15, qword [rdi + 0x10]
cmp rcx, r12
seta al
cmp edx, 0x8cca7ec7
ja 0x18029d007
jmp 0x18029cd85
mov rdx, r12
sub rdx, rcx
cmp r15, rdx
seta dl
or al, dl
test al, 1
jne 0x18029cf70
mov rax, qword [rbx]
movabs rcx, 0x8000000000000000
cmp rax, rcx
sete al
test al, 1
jne 0x18029ce39
jmp 0x18029cdb8
mov eax, dword [0x180524da0]
xor edx, edx
div dword [0x180524da4]
or eax, 0x2f5eac3b
or eax, 0xd173baa3
or eax, 0xe4f51e2f
cmp eax, 0xa6f5d530
jb 0x18029d018
jmp 0x18029cde2
mov ebp, dword [0x180524da8]
xor ebp, dword [0x180524dac]
sub ebp, 0x2cffa47e
xor ebp, 0x4aaf549a
or ebp, 0xe29ec97
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x30]
mov rcx, rsi
mov rdx, rbx
call fcn.1802b7bf0
cmp ebp, 0xcad6b2ed
jb 0x18029cde2
jmp 0x18029ce34
jmp 0x18029cf07
mov rcx, rbx
add rcx, 8
mov r13, rbx
add r13, 0x18
mov r12, qword [r13]
mov eax, dword [0x180524db0]
or eax, dword [0x180524db4]
and eax, 0x1c014f10
xor eax, 0x23f85dae
xor eax, 0x7f6b24ec
cmp eax, 0xc6a386e6
je 0x18029d053
jmp 0x18029ce73
mov eax, dword [0x180524db8]
and eax, dword [0x180524dbc]
mov r8d, 0x5aa9eed9
xor edx, edx
div r8d
sub eax, 0xfc39485e
xor eax, 0x52ec17ec
mov rdx, qword [rcx]
sub rdx, r12
cmp rdx, r15
setb dl
cmp eax, 0xab188f67
je 0x18029ce73
test dl, 1
jne 0x18029ceae
jmp 0x18029cece
mov rdx, r12
mov r8, r15
mov r9d, 1
mov qword [rsp + 0x20], 1
call fcn.180268a00
mov r12, qword [r13]
jmp 0x18029cece
mov rcx, r12
add rcx, qword [rbx + 0x10]
mov rdx, r14
mov r8, r15
call fcn.180468b10
add r12, r15
mov qword [r13], r12
mov qword [rsi], 0xf
mov rdx, qword [rdi]
cmp rdx, 0
je 0x18029cf07
mov rcx, r14
mov r8d, 1
call fcn.1802cbf20
jmp 0x18029cf07
mov eax, dword [0x180524dc0]
and eax, dword [0x180524dc4]
mov ecx, 0x2ec16713
xor edx, edx
div ecx
or eax, 0x1337eaae
add eax, 0xd08abd2f
cmp eax, 0xe96d2d39
je 0x18029d064
mov eax, dword [0x180524dc8]
or eax, dword [0x180524dcc]
sub eax, 0x187ba4d8
imul eax, eax, 0xf39cea8f
mov ecx, 0x6c7bbee0
xor edx, edx
div ecx
cmp eax, 0x4da22e28
jae 0x18029d064
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add r15, rcx
mov qword [rsi], 7
mov eax, dword [0x180524dd0]
add eax, dword [0x180524dd4]
xor eax, 0x90681d07
imul eax, eax, 0x3db486cf
add eax, 0xa40f5ba4
cmp eax, 0x89f395f
jb 0x18029d071
jmp 0x18029cfa3
mov eax, dword [0x180524dd8]
xor edx, edx
div dword [0x180524ddc]
mov ecx, 0xe964119c
xor edx, edx
div ecx
mov ecx, 0xaa728a69
xor edx, edx
div ecx
xor eax, 0x59d1a45e
mov rcx, rsi
add rcx, 8
cmp eax, 0xda1d8d03
ja 0x18029cfa3
jmp 0x18029cfd8
mov qword [rcx], 1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov rdx, qword [rdi]
cmp rdx, 0
je 0x18029cf07
mov rcx, r14
mov r8d, 1
call fcn.1802cbf20
jmp 0x18029cf07
jmp 0x18029d01d
adc eax, 0x25e5c41b
add ah, ch
dec byte [rdx - 0x50]
sbb ecx, dword [rax - 0x75]
invalid
and eax, 0x4afeec00
mov al, 0x1b
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x30]
mov rcx, rsi
mov rdx, rbx
call fcn.1802b7bf0
jmp 0x18029cde0
push rbx
or byte [rbx + 0x6a], ch
shr dword [rsi + 0x3b], 0xbd
sbb dword [rax + 4], ebx
mov ecx, ebp
or eax, 0x38fffffe
add dword [rcx], edx
pop rbp
xchg edx, eax
cmp byte [rcx], al
adc dword [rbp - 0x6e], ebx
adc ebp, eax
pushfq
jmp 0x18029cf31
adc dl, ah
invalid