Function at 0x1804ba560
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, rsi
add rdi, 0x10
mov rcx, rdi
call fcn.1804906b0
mov eax, dword [0x1807acae0]
sub eax, dword [0x1807acae4]
and eax, 0x71d4cdb8
xor eax, 0x38125c09
or eax, 0x765c522f
cmp eax, 0x2636dc2c
je 0x1804ba774
jmp 0x1804ba5a0
mov edx, dword [0x1807acae8]
imul edx, dword [0x1807acaec]
and edx, 0xba400d66
sub edx, 0x4db7e2f4
and edx, 0xa689d548
mov rax, qword [rdi]
cmp rax, 0
sete cl
cmp edx, 0x839997f5
ja 0x1804ba5a0
test cl, 1
jne 0x1804ba641
jmp 0x1804ba5d8
mov rcx, rsi
add rcx, 0x18
mov rcx, qword [rcx]
imul rdx, rax, 0x70
mov r8d, 8
call fcn.1804cafa0
mov eax, dword [0x1807acaf0]
sub eax, dword [0x1807acaf4]
add eax, 0x7df47c06
sub eax, 0xb71e554c
imul eax, eax, 0x90407e88
cmp eax, 0x3287be19
jb 0x1804ba781
jmp 0x1804ba61a
mov eax, dword [0x1807acaf8]
xor edx, edx
div dword [0x1807acafc]
imul eax, eax, 0xe3d17a88
and eax, 0x189be6b9
xor eax, 0x237896ca
cmp eax, 0x58f4664c
jae 0x1804ba61a
jmp 0x1804ba641
mov rax, 0xffffffffffffffff
cmp rsi, rax
sete al
test al, 1
jne 0x1804ba723
jmp 0x1804ba658
mov rax, rsi
add rax, 8
lock dec qword [rax]
sete al
test al, 1
jne 0x1804ba66f
jmp 0x1804ba723
mov eax, dword [0x1807acb00]
xor edx, edx
div dword [0x1807acb04]
sub eax, 0x3636f4d6
imul eax, eax, 0xb6982b86
xor eax, 0xaf9c7dc
cmp eax, 0xffe7d92e
ja 0x1804ba78e
mov eax, dword [0x1807acb08]
mov ecx, dword [0x1807acb0c]
xor eax, ecx
imul eax, eax, 0x5920e2de
add eax, 0x6a314056
cmp eax, 0xcba0678f
ja 0x1804ba78e
jmp 0x1804ba6be
mov eax, dword [0x1807acb10]
and eax, dword [0x1807acb14]
add eax, 0x89f508b9
imul eax, eax, 0x4d7ea5df
add eax, 0x70cf7ae6
cmp eax, 0x1bdb56c5
jb 0x1804ba79b
mov edi, dword [0x1807acb18]
imul edi, dword [0x1807acb1c]
and edi, 0xc77f7e17
xor edi, 0xac14971a
xor edi, 0x93e63dbe
mov rcx, rsi
mov edx, 0x30
mov r8d, 8
call fcn.1804cafa0
cmp edi, 0xebc53b63
ja 0x1804ba79b
jmp 0x1804ba721
jmp 0x1804ba723
mov eax, dword [0x1807acb20]
and eax, dword [0x1807acb24]
add eax, 0xbd5bef02
mov ecx, 0x17b743ef
xor edx, edx
div ecx
or eax, 0x73a3b6d1
cmp eax, 0x1db2965e
jb 0x1804ba7bb
mov eax, dword [0x1807acb28]
xor edx, edx
div dword [0x1807acb2c]
xor eax, 0xd2a2487e
add eax, 0x62d16208
and eax, 0x1493489a
cmp eax, 0x7e511517
jae 0x1804ba7bb
add rsp, 0x28
pop rdi
pop rsi
ret
jno 0x1804ba7d8
or bh, byte [rax + riz*4 - 0x1689d895]
sbb eax, 0x65fffffe
popfq
popfq
shr ah, 1
cmc
sbb r11, qword [r13 - 0x17]
mov bh, dh
invalid
leave
sbb eax, 0x17af9a45
jge 0x1804ba7ae
jmp 0x1804ba698
fstp qword [rdx + 0x6ff91790]
shl byte [rcx], cl
mov rcx, rsi
mov edx, 0x30
mov r8d, 8
call fcn.1804cafa0
jmp 0x1804ba6e5
add byte [rax], al
add al, ch
invalid
sbb byte [rcx + 0x73eebe3], r8b
leave
jmp 0x1804ba749
mov rcx, rsi
add rcx, 0x10
call fcn.1804ce3a0
mov rax, 0xffffffffffffffff
cmp rsi, rax
sete al
test al, 1
jne 0x1804ba8cc
jmp 0x1804ba7fb
mov rcx, 0xffffffffffffffff
lock xadd qword [rsi + 8], rcx
mov eax, dword [0x1807acb30]
and eax, dword [0x1807acb34]
mov r8d, 0x23b8b0c7
xor edx, edx
div r8d
xor eax, 0x76b74806
and eax, 0xa4361767
cmp eax, 0xdde61ecc
ja 0x1804ba8d2
jmp 0x1804ba836
mov eax, dword [0x1807acb38]
and eax, dword [str.Qqve_f]
and eax, 0x8f41c131
imul eax, eax, 0x6c5538e9
mov r8d, 0x6bb0464f
xor edx, edx
div r8d
cmp rcx, 1
sete r8b
cmp eax, 0x8934e186
ja 0x1804ba836
jmp 0x1804ba869
mov eax, dword [0x1807acb40]
xor edx, edx
div dword [0x1807acb44]
xor eax, 0x2bf5582e
and eax, 0xec685257
sub eax, 0x2672fe39
cmp eax, 0x392029b8
ja 0x1804ba8df
mov eax, dword [0x1807acb48]
and eax, dword [0x1807acb4c]
or eax, 0xfd97ec50
and eax, 0xa6567d13
or eax, 0xb0bd2d77
cmp eax, 0xb6a7bd6d
jae 0x1804ba8df
test r8b, 1
jne 0x1804ba8b7
jmp 0x1804ba8cc
mov rcx, rsi
mov edx, 0x18
mov r8d, 8
call fcn.1804cafa0
jmp 0x1804ba8cc
add rsp, 0x20
pop rsi
ret
invalid
movabs byte [0x9384f7da5dc0b0a7], al
std
pop rbp
jmp 0x1804ba88d