Function at 0x1800457c4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ecx, dword [rsp + 0x80]
lea edi, [r9 + 0x161]
mov ebp, dword [rsp + 0x88]
xor esi, esi
add ebp, 0xfffffeec
mov r13d, r9d
mov rbx, rdx
lea r14d, [rcx - 0x3bf0]
lea r12d, [rcx - 0x293]
add ecx, 0xfffffda4
lea eax, [r14 + 0x3a71]
cmp edi, eax
jle 0x180045a22
lea eax, [rbp - 0x91]
cmp edi, eax
jl 0x18004597c
mov rcx, qword [section..data]
mov r9d, esi
mov eax, dword [rcx + 0x10c]
xor eax, dword [rbx + 0xf8]
sub eax, 0xa71cf
or dword [0x1801ba144], eax
mov eax, dword [rbx + 0x1c]
dec eax
xor dword [rcx + 0xb4], eax
mov eax, dword [rbx + 0xa4]
mov ecx, dword [0x1801ba0b4]
sub eax, 0x14
or dword [0x1801ba11c], eax
xor ecx, dword [rbx + 0x150]
mov eax, dword [rbx + 0x120]
sub ecx, 0x14
imul eax, ecx
mov dword [rbx + 0x120], eax
mov rax, qword [rbx + 0xc8]
movsxd rcx, dword [0x1801ba098]
mov r8d, dword [r9 + rax]
add r9, 4
mov rax, qword [section..data]
imul r8d, dword [rax + 0x84]
mov rax, qword [rbx + 0xd0]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
mov eax, dword [0x1801ba098]
inc eax
mov dword [0x1801ba098], eax
movsxd rcx, eax
mov rax, qword [rbx + 0xd0]
mov byte [rcx + rax], r8b
inc dword [0x1801ba098]
mov eax, dword [0x1801ba014]
mov ecx, dword [0x1801ba048]
add eax, 0xfff9211b
xor ecx, dword [rbx + 0x28]
add ecx, eax
mov rax, qword [section..data]
mov dword [0x1801ba014], ecx
mov ecx, dword [rax + 0x94]
sub ecx, 0x319a99c8
add dword [rbx + 0x78], ecx
mov ecx, 1
mov rax, qword [section..data]
sub ecx, dword [rax + 0x100]
add dword [rbx + 0x94], ecx
mov ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0x6c]
xor ecx, 1
imul eax, ecx
mov dword [rbx + 0x6c], eax
mov eax, dword [0x1801ba154]
add eax, 0x40923b0
or dword [rbx + 0x144], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x100]
sub eax, dword [rbx + 0x50]
dec eax
or dword [0x1801ba118], eax
cmp r9, 0xf3d8
jl 0x180045842
jmp 0x180045a29
and ecx, 0x3e3a
xor ecx, 0x43ab
cmp r12d, ecx
jg 0x180045a22
mov eax, dword [rdx + 0xb0]
mov r15d, dword [0x1801ba09c]
imul eax, edi
cmp r15d, eax
jae 0x180045a22
or ebp, 0x3f94
xor r14d, 0x4014
xor r8d, 0x385e
lea eax, [r8 - 0x3d57]
mov r13d, eax
mov ecx, dword [rbx + 0x10]
mov eax, dword [0x1801ba168]
xor rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [section..data]
mov r9d, ebp
mov eax, dword [rbx + 4]
mov r8d, r14d
add eax, dword [0x1801ba06c]
mov ecx, dword [rbx + 0x168]
or eax, 0x43ab
mov dword [rsp + 0x28], eax
xor ecx, edi
mov qword [rsp + 0x20], rdx
mov edx, r13d
call fcn.180041118
mov ecx, dword [rbx + 0xb0]
inc r15d
imul ecx, eax
mov edi, eax
cmp r15d, ecx
jb 0x1800459c4
mov r13d, dword [rsp + 0x78]
mov rcx, qword [section..data]
cmp r12d, r13d
jl 0x180045b02
lea rax, [0x1801ba010]
mov qword [rcx + 0x118], rax
mov rdx, qword [section..data]
mov eax, dword [rdx + 0x20]
add eax, dword [0x1801ba034]
add eax, dword [0x1801ba10c]
xor eax, 0x4254fa31
mov dword [0x1801ba164], eax
mov rax, qword [rbx + 0xe8]
mov ecx, dword [rsi + rax]
xor ecx, dword [rdx + 0xb8]
mov rax, qword [0x1801ba0f8]
mov dword [rsi + rax], ecx
add rsi, 4
mov rdx, qword [section..data]
mov eax, dword [0x1801ba124]
add eax, 0xfff58e31
mov ecx, dword [rdx + 0xf8]
add ecx, eax
mov eax, dword [0x1801ba104]
xor dword [0x1801ba110], ecx
add eax, 0xfffffff6
mov ecx, dword [rdx + 0x15c]
xor ecx, dword [rbx + 4]
add ecx, eax
mov eax, 0x1c55d2
mov dword [0x1801ba104], ecx
sub eax, dword [rbx + 0x150]
sub eax, dword [rbx + 0xf4]
add dword [rbx + 0x14], eax
mov eax, dword [rbx + 0xf0]
add dword [0x1801ba0c8], eax
mov rdx, qword [section..data]
mov eax, dword [rdx + 0xa4]
xor eax, dword [0x1801ba014]
xor eax, 0x14
mov dword [0x1801ba014], eax
cmp rsi, 0x21e794
jl 0x180045a61
mov rbx, qword [rsp + 0x60]
xor edi, 0x7aaa
mov rbp, qword [rsp + 0x68]
mov eax, edi
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret