Function at 0x1804a5650
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
mov rbx, rdx
mov rsi, rcx
mov r9, qword [rbx + 0x10]
lea rcx, [rsp + 0x100]
lea r8, [rsp + 0x37]
mov rdx, rbx
call fcn.180417dd0
cmp qword [rsp + 0x100], 0
jne 0x1804a568f
jmp 0x1804a56c3
mov r14, qword [rsp + 0x108]
lea rdx, [rsp + 0x100]
add rdx, 0x10
lea rcx, [rsp + 0xd8]
mov r8d, 0x28
call fcn.1806a7400
cmp r14, 0
sete al
test al, 1
jne 0x1804a56c3
jmp 0x1804a56f2
mov qword [rsi], 0
mov rax, rsi
add rax, 8
mov ecx, 8
mov qword [rax], rcx
mov qword [rsi + 0x10], 0
add rbx, 8
mov rcx, rbx
call fcn.180505a50
jmp 0x1804a5c38
mov eax, dword [0x1807aa860]
xor edx, edx
div dword [0x1807aa864]
imul eax, eax, 0x283d1517
xor eax, 0x1f732875
or eax, 0xe83209e6
cmp eax, 0x39ed07c7
jb 0x1804a5c4f
jmp 0x1804a571d
mov eax, dword [0x1807aa868]
and eax, dword [0x1807aa86c]
xor eax, 0x50e0d449
sub eax, 0x8b5f5347
imul edi, eax, 0x7cda56af
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0xd8]
mov r8d, 0x28
call fcn.1806a7400
cmp edi, 0xfbd6c8d3
jae 0x1804a571d
jmp 0x1804a575e
mov eax, dword [0x1807aa870]
xor eax, dword [0x1807aa874]
sub eax, 0x8aedd5a5
xor eax, 0xb49580f5
mov ecx, 0x9c4a4093
xor edx, edx
div ecx
cmp eax, 0x9d75ef23
je 0x1804a5c7b
jmp 0x1804a578a
mov eax, dword [0x1807aa878]
and eax, dword [0x1807aa87c]
xor eax, 0xf1a0f631
xor eax, 0xc8c8eb6c
or eax, 0x154b1757
mov cl, byte [0x1807afe04]
cmp eax, 0x1b04f5de
je 0x1804a578a
jmp 0x1804a57b4
mov eax, dword [0x1807aa880]
sub eax, dword [0x1807aa884]
add eax, 0xb31456e9
add eax, 0xbf7098a1
or eax, 0xf533c7df
cmp eax, 0xdff626f3
jbe 0x1804a5c8e
mov ebp, dword [0x1807aa888]
or ebp, dword [0x1807aa88c]
xor ebp, 0x3679e09
and ebp, 0x22516d8c
sub ebp, 0xe9eec304
mov ecx, 0xc0
mov edx, 8
call fcn.1804caf90
mov rdi, rax
cmp rdi, 0
sete al
cmp ebp, 0xfd80dc48
je 0x1804a5c8e
test al, 1
jne 0x1804a5823
jmp 0x1804a5834
mov ecx, 8
mov edx, 0xc0
call fcn.18063bc30
ud2
mov eax, dword [0x1807aa890]
sub eax, dword [str.eIjB_]
xor eax, 0xf4d471c1
and eax, 0x840a4529
imul eax, eax, 0x7767d748
cmp eax, 0x9f90760a
jb 0x1804a5caa
mov eax, dword [0x1807aa898]
imul eax, dword [0x1807aa89c]
or eax, 0x880bd825
xor eax, 0xb4e6421e
and eax, 0x5e84901f
mov qword [rdi], r14
mov rcx, rdi
add rcx, 8
cmp eax, 0x3a934171
je 0x1804a5caa
jmp 0x1804a588e
lea rdx, [rsp + 0xb0]
mov r8d, 0x28
call fcn.1806a7400
mov qword [rsp + 0x38], 4
lea r15, [rsp + 0x38]
add r15, 8
mov qword [r15], rdi
lea rbp, [rsp + 0x38]
add rbp, 0x10
mov qword [rsp + 0x48], 1
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
lea r13, [rsp + 0x50]
add r13, 0x10
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x37]
call fcn.180417dd0
cmp qword [rsp + 0x78], 0
je 0x1804a592d
lea rbx, [rsp + 0x78]
add rbx, 8
lea r12, [rsp + 0x78]
add r12, 0x10
mov r14d, 1
mov qword [rsp + 0x68], rbp
jmp 0x1804a5984
jmp 0x1804a592d
mov eax, dword [0x1807aa8a0]
sub eax, dword [0x1807aa8a4]
add eax, 0xad405bc7
mov ecx, 0xb94b2882
xor edx, edx
div ecx
and eax, 0x4f726e5a
cmp eax, 0x84b48395
je 0x1804a5cbe
mov eax, dword [0x1807aa8a8]
add eax, dword [0x1807aa8ac]
xor eax, 0x6b9dd7c9
sub eax, 0xfe57ddd9
xor eax, 0x1425d50a
cmp eax, 0xa28e0809
jbe 0x1804a5cbe
jmp 0x1804a597f
jmp 0x1804a5bb9
mov rbp, qword [rbx]
lea rcx, [rsp + 0x160]
mov rdx, r12
mov r8d, 0x28
call fcn.1806a7400
cmp rbp, 0
je 0x1804a5bb7
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x138]
lea rdx, [rsp + 0x160]
mov r8d, 0x28
call fcn.1806a7400
mov eax, dword [0x1807aa8b0]
add eax, dword [0x1807aa8b4]
or eax, 0xf4915fbd
and eax, 0xe458673f
mov ecx, 0xf7cecc5b
xor edx, edx
div ecx
cmp eax, 0xdcfc9de3
je 0x1804a5ccf
mov eax, dword [0x1807aa8b8]
sub eax, dword [0x1807aa8bc]
imul eax, eax, 0x710d2cdd
add eax, 0xa37ca6bc
sub eax, 0x75242fe2
cmp r14, qword [rsp + 0x38]
sete cl
cmp eax, 0x9c2bbbb1
jbe 0x1804a5ccf
jmp 0x1804a5a22
mov eax, dword [0x1807aa8c0]
xor edx, edx
div dword [str.:_nk]
imul eax, eax, 0xda490db4
mov r8d, 0x8a049969
xor edx, edx
div r8d
or eax, 0xddc5ce6b
cmp eax, 0xfadff391
jae 0x1804a5cdc
mov eax, dword [0x1807aa8c8]
imul eax, dword [0x1807aa8cc]
mov r8d, 0x377756bd
xor edx, edx
div r8d
xor eax, 0xb013ac37
xor eax, 0x3b85bfe5
cmp eax, 0xa92284f6
ja 0x1804a5cdc
test cl, 1
jne 0x1804a5ae4
jmp 0x1804a5a85
imul rax, r14, 0x30
mov rcx, rdi
add rcx, rax
mov qword [rcx], rbp
add rcx, 8
lea rdx, [rsp + 0x138]
mov r8d, 0x28
call fcn.1806a7400
add r14, 1
mov rbp, qword [rsp + 0x68]
mov qword [rbp], r14
mov r9, qword [r13]
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x37]
call fcn.180417dd0
cmp qword [rsp + 0x78], 0
mov rbx, qword [rsp + 0x70]
je 0x1804a592b
jmp 0x1804a5984
mov eax, dword [0x1807aa8d0]
or eax, dword [0x1807aa8d4]
add eax, 0x74a399a6
and eax, 0x4eed5919
add eax, 0xe9d786d2
cmp eax, 0x1089af0c
je 0x1804a5ced
mov eax, dword [0x1807aa8d8]
sub eax, dword [0x1807aa8dc]
xor eax, 0x53950f42
add eax, 0x7d3b9c4f
mov ecx, 0xafa26db2
xor edx, edx
div ecx
mov edi, eax
lea rcx, [rsp + 0x38]
mov rdx, r14
mov r8d, 1
mov r9d, 8
mov qword [rsp + 0x20], 0x30
call fcn.18045c010
cmp edi, 0xfb6fa44f
jae 0x1804a5ced
jmp 0x1804a5b5b
mov rdi, qword [r15]
mov eax, dword [0x1807aa8e0]
and eax, dword [0x1807aa8e4]
or eax, 0x8c60e141
and eax, 0x6388230c
xor eax, 0xcfe4db0d
cmp eax, 0xa23cbee5
jbe 0x1804a5d20
mov eax, dword [0x1807aa8e8]
and eax, dword [0x1807aa8ec]
mov ecx, 0x2765964e
xor edx, edx
div ecx
mov ecx, 0x56c7dba1
xor edx, edx
div ecx
and eax, 0xb3ef80af
cmp eax, 0xf004296a
ja 0x1804a5d20
jmp 0x1804a5a85
jmp 0x1804a5bb9
mov eax, dword [0x1807aa8f0]
xor eax, dword [0x1807aa8f4]
imul eax, eax, 0x41e39be6
xor eax, 0x420a7fc3
mov ecx, 0x7913c458
xor edx, edx
div ecx
cmp eax, 0x15186ecf
ja 0x1804a5d2d
jmp 0x1804a5be6
mov edi, dword [0x1807aa8f8]
or edi, dword [0x1807aa8fc]
sub edi, 0x51a23ad3
xor edi, 0xedbd0ce4
sub edi, 0x13825f18
lea rcx, [rsp + 0x50]
add rcx, 8
call fcn.180505a50
cmp edi, 0xdd783df5
jae 0x1804a5be6
jmp 0x1804a5c1c
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
mov rax, qword [rsp + 0x40]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x10], rax
jmp 0x1804a5c38
mov rax, rsi
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or byte [rbx + 0x7c], 0x4a
sub esp, dword [rdi]
loopne 0x1804a5c99
ror dword [rax - 0x43], 1
jmp 0x1804a5ca4
in eax, 0xb4
scasd eax, dword [rdi]
xor bh, byte [0x10abb3295]
add eax, 0x30a17b
jmp 0x1804a5788
invalid
add byte [rax], al
mov edx, 8
call fcn.1804caf90
jmp 0x1804a57da
add cl, ch
xor bl, bh
invalid
cli
fldcw word [rsi + 0x73]
or al, bl
adc dword [rcx - 0x31], edx
invalid
test eax, 0x81b377c4
scasd eax, dword [rdi]
cmp dword [rbp + 0x680c163d], esp
jmp 0x1804a5957
cdq
insb byte [rdi], dx
invalid
test eax, 0x1ea5d8e9
jp 0x1804a5d37
xlatb
add byte [rbp + 0x1f], bl
enter 0x64e9, 0xfffffffffffffffd
invalid
mov edi, 0x498f8826
scasb al, byte [rdi]
insb byte [rdi], dx
mov ecx, 0x670ff718
lea rcx, [rsp + 0x38]
mov rdx, r14
mov r8d, 1
mov r9d, 8
mov qword [rsp + 0x20], 0x30
call fcn.18045c010
jmp 0x1804a5b0a
movabs eax, dword [0xe9394561d0ef610d]
push rdi
invalid
ret 0xb2d8
and al, 0x50
add rcx, 8
call fcn.180505a50
jmp 0x1804a5be4