Function at 0x1804164c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x10
lea rbp, [rsp + 0x10]
mov rsi, rcx
mov eax, 0x10
call fcn.180698e80
sub rsp, rax
mov rdi, rsp
sub rsp, 0x20
mov rcx, rsi
call fcn.18063b300
add rsp, 0x20
mov cl, al
mov eax, dword [0x18079b3a8]
xor edx, edx
div dword [0x18079b3ac]
xor eax, 0x18b108f8
and eax, 0x150cdb4e
xor eax, 0xaa98e2d7
cmp eax, 0xd1d3d47
je 0x18041696d
jmp 0x180416522
mov eax, dword [0x18079b3b0]
sub eax, dword [0x18079b3b4]
mov r8d, 0x1999b6b1
xor edx, edx
div r8d
and eax, 0xcde0d656
xor eax, 0x9222f2f6
cmp eax, 0x6e680255
jb 0x180416522
test cl, 1
jne 0x1804167f0
jmp 0x180416555
sub rsp, 0x20
mov rcx, rsi
call fcn.18063b3a0
add rsp, 0x20
mov cl, al
mov eax, dword [0x18079b3b8]
imul eax, dword [0x18079b3bc]
or eax, 0x77bb7706
mov r8d, 0xdff6ae5
xor edx, edx
div r8d
mov r8d, 0x8c6e8d4c
xor edx, edx
div r8d
cmp eax, 0x1feb58b8
ja 0x18041697a
jmp 0x18041659c
mov eax, dword [0x18079b3c0]
sub eax, dword [0x18079b3c4]
or eax, 0xc82bcc3a
imul eax, eax, 0xb2540e73
sub eax, 0xe7350c77
cmp eax, 0xb1d5baec
je 0x18041659c
test cl, 1
jne 0x1804165c9
jmp 0x18041695f
mov rcx, rsi
add rcx, 0x20
mov rax, qword [rsi + 0x20]
lock dec qword [rax]
sete al
test al, 1
jne 0x1804165e1
jmp 0x180416640
sub rsp, 0x20
call fcn.1804b80b0
add rsp, 0x20
mov eax, dword [0x18079b3c8]
and eax, dword [0x18079b3cc]
sub eax, 0x6ddb5fa
or eax, 0x2964376
sub eax, 0xc8ff520c
cmp eax, 0xa03ee2b3
je 0x180416987
mov eax, dword [0x18079b3d0]
sub eax, dword [0x18079b3d4]
or eax, 0x6063d641
and eax, 0x5e3e4793
mov ecx, 0xd4ff4a81
xor edx, edx
div ecx
cmp eax, 0xcfc7c64d
je 0x180416987
jmp 0x180416640
mov eax, dword [0x18079b3d8]
and eax, dword [0x18079b3dc]
add eax, 0xb2c1d488
or eax, 0xe990724e
sub eax, 0x7ee8d588
cmp eax, 0x20e2f134
je 0x180416998
jmp 0x180416668
mov eax, dword [0x18079b3e0]
imul eax, dword [0x18079b3e4]
sub eax, 0x44bb1757
and eax, 0x964f5af8
and eax, 0x2e99da7e
mov rcx, rsi
add rcx, 0x30
cmp eax, 0x399cb6ba
jae 0x180416668
jmp 0x180416694
sub rsp, 0x20
call fcn.1803fdae0
add rsp, 0x20
mov rbx, qword [rsi + 0xd8]
cmp rbx, 0
je 0x18041672b
mov rax, rsi
add rax, 0xe0
mov rdi, qword [rax]
add rbx, 0x18
mov eax, dword [0x18079b3e8]
or eax, dword [0x18079b3ec]
mov ecx, 0xe4249c30
xor edx, edx
div ecx
mov ecx, 0x36953ca1
xor edx, edx
div ecx
and eax, 0x5b48ae9c
cmp eax, 0x57f60ab
je 0x1804169a9
mov r14d, dword [0x18079b3f0]
and r14d, dword [0x18079b3f4]
sub r14d, 0xa74aacd8
add r14d, 0xf8e65a9b
sub r14d, 0x87292e07
sub rsp, 0x20
mov rcx, rdi
call qword [rbx]
add rsp, 0x20
cmp r14d, 0xf7b0e8af
je 0x1804169a9
jmp 0x18041672b
mov eax, dword [0x18079b3f8]
xor eax, dword [0x18079b3fc]
imul eax, eax, 0x8fed384d
xor eax, 0x2e8b8033
add eax, 0x3b531284
cmp eax, 0xe04ea39
je 0x1804169c3
mov eax, dword [0x18079b400]
add eax, dword [0x18079b404]
or eax, 0x7ff979a0
mov ecx, 0x320ac48f
xor edx, edx
div ecx
mov edi, eax
or edi, 0xa8b98dc4
sub rsp, 0x20
mov rcx, rsi
mov edx, 0x100
mov r8d, 0x80
call fcn.1804cafa0
add rsp, 0x20
cmp edi, 0xaab9ea8a
jae 0x1804169c3
jmp 0x18041679d
mov eax, dword [0x18079b408]
add eax, dword [0x18079b40c]
imul eax, eax, 0xe6e8e640
imul eax, eax, 0xef3522b
add eax, 0xd622f838
cmp eax, 0xb0758a67
jae 0x1804169ef
mov eax, dword [0x18079b410]
add eax, dword [0x18079b414]
and eax, 0x84a605f5
sub eax, 0x1f2f9f4a
or eax, 0xb444db72
cmp eax, 0x9168e0e6
je 0x1804169ef
jmp 0x18041695f
mov eax, dword [0x18079b418]
add eax, dword [0x18079b41c]
sub eax, 0xccc86e54
sub eax, 0x17c96232
and eax, 0x18ec2c58
cmp eax, 0x6a5d7d1e
jae 0x1804169fc
jmp 0x180416818
mov eax, dword [0x18079b420]
xor edx, edx
div dword [0x18079b424]
mov r15d, eax
add r15d, 0x96d8af0c
add r15d, 0xa573d731
add r15d, 0x55228e39
mov rcx, qword [rsi + 0x28]
sub rsp, 0x20
call fcn.18063f660
add rsp, 0x20
mov qword [rdi], rax
mov qword [rdi + 8], rdx
mov rbx, rsi
add rbx, 0x30
sub rsp, 0x20
mov rcx, rbx
call fcn.18034ffd0
add rsp, 0x20
movabs rax, 0x8000000000000007
mov qword [rsi + 0x30], rax
mov r12, rsi
add r12, 0x38
sub rsp, 0x20
mov rcx, rdi
call fcn.18063f700
add rsp, 0x20
mov r14, qword [rsi + 0x28]
cmp r15d, 0x9c7a34bd
je 0x180416818
jmp 0x1804168a5
sub rsp, 0x20
mov rcx, r14
call fcn.18063f660
add rsp, 0x20
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov eax, dword [0x18079b428]
sub eax, dword [0x18079b42c]
mov ecx, 0x5a4e543c
xor edx, edx
div ecx
imul eax, eax, 0xb67d7229
sub eax, 0x5e4ae1d4
cmp eax, 0xeebf6c85
je 0x180416a53
mov eax, dword [0x18079b430]
imul eax, dword [0x18079b434]
imul eax, eax, 0x86c47c6
imul edi, eax, 0x9bb36376
or edi, 0xa61267d5
sub rsp, 0x20
mov rcx, rbx
call fcn.18034ffd0
add rsp, 0x20
movabs rax, 0x8000000000000006
mov qword [rbx], rax
mov qword [r12], 1
add al, 0x24
add dword [rax], eax
add byte [rax], al
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x50], r14
lea rcx, [rbp - 0x10]
sub rsp, 0x20
call fcn.18063f700
mov rcx, rsi
call fcn.180412ae0
add rsp, 0x20
cmp edi, 0x83312287
jb 0x180416a53
jmp 0x18041695f
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
xchg ebp, eax
movabs byte [0xfba6e97f2de538b1], al
invalid
je 0x180416926
pushfq
sub edi, dword [rcx]
int 0xec
mov bl, 0xe9
adc edi, esp
invalid
invalid
iretd
adc bl, byte [rcx]
invalid
mov r13d, 0x1c6f163d
pop rdi
mov dh, 0xa0
invalid
pop rcx
outsb dx, byte [rsi]
pop r8
fmul dword [rdi - 0x36166909]
std
invalid
jbe 0x180416a7b
xor bh, bh
push r13
xor cl, byte [rax - 0x75]
sub byte [rax - 0x7d], r9b
in al, dx
and al, ch
mov word [r10], fs
add byte [rax - 0x7d], cl
invalid
invalid
add ecx, dword [rcx - 0x39]
add al, 0x24
add dword [rax], eax
add byte [rax], al
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x50], r14
lea rcx, [rbp - 0x10]
sub rsp, 0x20
call fcn.18063f700
mov rcx, rsi
call fcn.180412ae0
add rsp, 0x20
jmp 0x1804168e8