Function at 0x18045ea90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, qword [rcx + 8]
cmp r14, 0
sete al
test al, 1
jne 0x18045ede2
jmp 0x18045eab5
mov eax, dword [str.6l_Y]
xor edx, edx
div dword [0x1807a309c]
imul eax, eax, 0xc2aa18be
imul eax, eax, 0x67953e05
imul eax, eax, 0x5e4c35d7
cmp eax, 0xb487c2d0
jb 0x18045edf3
jmp 0x18045eae2
mov eax, dword [0x1807a30a0]
and eax, dword [0x1807a30a4]
add eax, 0x5a3be10
or eax, 0xfda0e4a
xor eax, 0x35f2a791
mov r15, qword [rcx + 0x18]
cmp eax, 0x21f94dbf
jbe 0x18045eae2
jmp 0x18045eb0a
cmp r15, 0
sete al
test al, 1
jne 0x18045ed4e
jmp 0x18045eb1b
mov r12, qword [rcx]
movaps xmm1, xmmword [r12]
xorps xmm0, xmm0
pcmpgtb xmm0, xmm1
psllw xmm0, 7
pmovmskb ebp, xmm0
xor bp, 0xffff
mov r13, r12
add r13, 0x10
cmp bp, 0
je 0x18045eb49
jmp 0x18045ebde
jmp 0x18045eb5a
xor bp, 0xffff
mov r13, r9
mov r12, rax
jmp 0x18045ebde
mov eax, dword [0x1807a30a8]
xor eax, dword [0x1807a30ac]
mov r8d, 0x2c28657
xor edx, edx
div r8d
and eax, 0xcf4c0d6
or eax, 0x658d723
cmp eax, 0x7a0dd60a
jae 0x18045ee00
jmp 0x18045eb88
mov eax, dword [0x1807a30b0]
mov edx, dword [0x1807a30b4]
imul eax, edx
imul r8d, eax, 0x49aeb6b2
add r8d, 0x8154abff
movaps xmm0, xmmword [r13]
pmovmskb ebp, xmm0
mov rax, r12
add rax, 0xfffffffffffffd00
mov r9, r13
add r9, 0x10
cmp bp, 0xffff
sete dl
cmp r8d, 0x99149a1
je 0x18045eb88
test dl, 1
mov r13, r9
mov r12, rax
jne 0x18045eb5a
jmp 0x18045eb4b
mov ax, bp
mov ebp, eax
dec ebp
and ebp, eax
dec r15
tzcnt eax, eax
neg rax
lea rax, [rax + rax*2]
shl rax, 4
mov r9, r12
add r9, rax
mov rdi, qword [r12 + rax - 0x30]
mov rax, rdi
shl rax, 1
test rax, rax
je 0x18045ed3c
jmp 0x18045ec15
mov eax, dword [0x1807a30b8]
or eax, dword [0x1807a30bc]
sub eax, 0xca86a930
sub eax, 0xf5b79b45
mov r8d, 0x5abf7a21
xor edx, edx
div r8d
cmp eax, 0x4c77e6f9
je 0x18045ee0d
mov eax, dword [0x1807a30c0]
and eax, dword [0x1807a30c4]
or eax, 0x5f1bb70b
imul eax, eax, 0x2a173974
sub eax, 0xb702fccc
mov rsi, r9
add rsi, 0xffffffffffffffd0
add rsi, 8
cmp eax, 0xad4f59a0
jbe 0x18045ee0d
mov qword [rsp + 0x20], rcx
jmp 0x18045ec7a
mov eax, dword [0x1807a30c8]
add eax, dword [0x1807a30cc]
xor eax, 0xa51ab7cb
imul eax, eax, 0xbccb0582
mov ecx, 0x54d424d7
xor edx, edx
div ecx
cmp eax, 0x979bd8e5
je 0x18045ee1a
jmp 0x18045eca7
mov eax, dword [0x1807a30d0]
xor eax, dword [0x1807a30d4]
xor eax, 0xa43e4a10
mov ecx, 0x47d5611c
xor edx, edx
div ecx
mov ebx, eax
or ebx, 0x17cd887c
mov rcx, qword [rsi]
mov rdx, rdi
mov r8d, 1
call fcn.1804cafa0
cmp ebx, 0x452a79a2
ja 0x18045eca7
jmp 0x18045ece4
mov eax, dword [0x1807a30d8]
add eax, dword [0x1807a30dc]
mov ecx, 0xfd6c4703
xor edx, edx
div ecx
and eax, 0xb26be9b4
sub eax, 0xc25224e1
cmp eax, 0x6d26cf3
mov rcx, qword [rsp + 0x20]
je 0x18045ee38
mov eax, dword [0x1807a30e0]
or eax, dword [0x1807a30e4]
or eax, 0xf0ba94e4
or eax, 0x4ad4c968
imul eax, eax, 0xd7d5a0d2
cmp eax, 0x4f97cb1
jb 0x18045ee38
jmp 0x18045ed3c
cmp r15, 0
sete al
test al, 1
jne 0x18045ed4c
jmp 0x18045eb3e
jmp 0x18045ed4e
mov eax, dword [0x1807a30e8]
sub eax, dword [0x1807a30ec]
add eax, 0xebaf7dbe
and eax, 0x3586566f
sub eax, 0x92d94780
cmp eax, 0xf1362143
ja 0x18045ee49
jmp 0x18045ed76
mov r8d, dword [0x1807a30f0]
xor r8d, dword [0x1807a30f4]
sub r8d, 0xb85e9e61
and r8d, 0x19b70351
xor r8d, 0xb272266f
mov rax, r14
add rax, 1
mov edx, 0x30
mul rdx
seto dl
mov r9, r14
add r9, 0x11
cmp r8d, 0x7a77933d
jb 0x18045ed76
jmp 0x18045edbd
mov rdx, rax
add rdx, r9
cmp rdx, 0
je 0x18045ede2
mov rcx, qword [rcx]
xor r8d, r8d
sub r8, rax
add rcx, r8
mov r8d, 0x10
call fcn.1804cafa0
jmp 0x18045ede2
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop rsi
pop r15
ret
cmp eax, 0x3d2ae242
loop 0x18045ee25
jmp 0x18045eae0
invalid
movsb byte [rdi], byte [rsi]
cmp edi, dword [rsi]
fisttp dword [rcx - 0x36]
invalid
stc
invalid
mov rdx, rdi
mov r8d, 1
call fcn.1804cafa0
jmp 0x18045eca5
adc al, 0x44
push rsi
jmp 0x18045edef
cmp ebx, dword [rdi - 0x6e9bef36]
jnp 0x18045ee81
jmp 0x18045ed74
add byte [rax], al