Function at 0x18000e7b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov esi, dword [rsp + 0x88]
lea r15d, [r8 + 0x936]
mov rdi, rcx
lea eax, [r15 - 0x7ca]
mov ebx, esi
mov ebp, r8d
mov r14d, edx
mov ecx, 0x2189
xor ebx, 0x37ec
xor r14d, ecx
xor ebp, 0x9e3
cmp ebx, eax
jge 0x18000eaf2
lea eax, [rbx + 0x16c]
xor r10d, r10d
cmp ebp, eax
jl 0x18000e9a3
mov rcx, qword [section..data]
cmp dword [rcx + 0x38], 0x16fd5
jbe 0x18000e841
mov eax, dword [rdi + 0xd0]
xor eax, dword [0x1800520f0]
sub eax, 0x65515
mov dword [rcx + 0x24], eax
mov eax, dword [0x1800520a0]
mov r9, r10
mov ecx, dword [rdi + 0xa0]
add eax, 0xfd685fa
add ecx, eax
mov r11d, 0x76df4
add dword [rdi + 0x24], ecx
lea rax, [0x18006f6d0]
mov qword [rdi + 0x70], rax
mov rax, qword [section..data]
mov ecx, dword [rax + 0xe0]
add ecx, dword [rax + 0x4c]
xor ecx, dword [rdi + 0x90]
xor ecx, 0x1c7358
mov dword [rdi + 0x90], ecx
mov eax, dword [0x1800520a4]
sub eax, dword [rdi + 0x12c]
sub eax, 0x76df3
xor dword [0x1800520c4], eax
mov rax, qword [0x180052080]
mov r8d, dword [r9 + rax]
add r9, 4
mov rax, qword [section..data]
mov ecx, dword [rax + 0x84]
sub ecx, dword [rdi + 0x4c]
add ecx, 0x161892
add dword [rdi + 0xd0], ecx
mov eax, dword [0x18005213c]
sub eax, dword [rdi + 0xf0]
mov rcx, qword [section..data]
add eax, 0x5a
imul r8d, dword [rcx + 0x24]
add dword [rcx + 0x114], eax
mov rax, qword [section..data]
movsxd rdx, dword [rdi + 0x40]
mov rcx, qword [rax + 0x78]
mov byte [rdx + rcx], r8b
inc dword [rdi + 0x40]
mov eax, dword [0x18005213c]
mov ecx, dword [rdi + 0xf4]
dec eax
add ecx, eax
mov rax, qword [section..data]
mov dword [0x18005213c], ecx
mov ecx, dword [rax + 0x38]
sub ecx, 0x10445c4
xor dword [rdi + 0xe0], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 0x84]
mov eax, dword [rdi + 0x12c]
inc ecx
imul eax, ecx
mov dword [rdi + 0x12c], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x94]
xor eax, r11d
sub dword [0x1800520b0], eax
mov eax, dword [rcx + 0x94]
sub eax, r11d
xor dword [rdi + 0xe0], eax
mov rcx, qword [section..data]
mov eax, dword [rdi + 0xb8]
add dword [rcx + 0x110], eax
cmp r9, 0x9c060
jl 0x18000e86b
mov rax, qword [section..data]
mov dword [rax + 0x24], 0xf98
mov eax, dword [0x180052078]
sub eax, dword [rdi + 0x140]
sub eax, 0x72ae38e9
add dword [rdi + 0x24], eax
mov eax, dword [0x180052094]
cmp dword [0x18005213c], eax
je 0x18000e9d0
lea rax, [0x180055580]
mov qword [rdi + 0x70], rax
mov rax, qword [rdi + 0x70]
mov r9d, dword [r10 + rax]
add r10, 4
mov eax, dword [rdi + 0xd0]
sub dword [rdi + 0xf4], eax
imul r9d, dword [rdi + 0x24]
mov rcx, qword [section..data]
mov eax, dword [0x180052134]
add dword [rcx + 0xfc], eax
mov edx, r9d
mov rax, qword [section..data]
mov r8d, r9d
shr edx, 0x10
shr r8d, 8
movsxd rcx, dword [rax + 0x40]
mov rax, qword [0x180052088]
mov byte [rcx + rax], dl
mov rax, qword [section..data]
inc dword [rax + 0x40]
mov eax, 0x2f387
mov rcx, qword [section..data]
sub eax, dword [rcx + 0xb8]
sub eax, dword [rcx + 0x28]
add dword [rcx + 0xfc], eax
mov eax, dword [rdi + 0x30]
sub eax, dword [0x180052044]
add eax, 0x1013ad
or dword [rdi], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x12c]
sub ecx, dword [rax + 0xf0]
xor ecx, dword [rdi + 0x124]
xor ecx, 0xffffffa6
mov dword [rdi + 0x124], ecx
mov rax, qword [section..data]
movsxd rdx, dword [0x180052050]
mov rcx, qword [rax + 0x78]
mov byte [rdx + rcx], r8b
mov eax, dword [0x180052050]
inc eax
mov dword [0x180052050], eax
movsxd rcx, eax
mov rax, qword [0x180052088]
mov byte [rcx + rax], r9b
inc dword [0x180052050]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x12c]
add ecx, 0xffffffbf
add ecx, dword [rdi]
xor dword [rdi + 0x94], ecx
mov eax, dword [0x180052048]
mov ecx, dword [rdi + 0xf0]
add eax, 0xffffffa5
add ecx, eax
mov dword [0x180052048], ecx
cmp r10, 0xbb40
jl 0x18000e9d0
jmp 0x18000ec1d
movsxd rdx, dword [rsp + 0x80]
lea eax, [rdx + 0x2b09]
cmp dword [0x1800520a4], eax
jb 0x18000ec1d
mov eax, esi
sub eax, dword [0x180052044]
sub eax, edx
cmp dword [0x18005214c], eax
jb 0x18000ebb7
mov eax, ebx
imul eax, esi
sub eax, ecx
movsxd rcx, eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [rdi + 0x12c]
mov eax, ebp
and rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [rdi + 0x30]
add ecx, ebx
imul ecx, r14d
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [section..data]
lea r9d, [rsi - 0x2b09]
mov r11d, dword [rdi + 0xb8]
mov r10d, dword [rdi + 0x140]
and r11d, r15d
sub r11d, dword [0x180052054]
xor r10d, ebx
mov edx, dword [rax + 0x50]
mov ecx, dword [0x18005209c]
sub edx, 0x2677
mov r8d, dword [rdi + 0x30]
xor rcx, rsi
imul r9d, dword [rdi + 0xa4]
xor rcx, 0x23a0
mov dword [rsp + 0x30], r11d
mov eax, ebp
or r8, rax
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], edx
xor edx, edx
jmp 0x18000ec17
mov ecx, dword [rdi + 0x30]
mov ebx, edx
mov r9d, dword [rdi + 0x28]
mov rax, qword [section..data]
or r9d, ecx
mov r11d, dword [rdi + 0x6c]
sub ecx, r15d
imul r10d, edx, 0x18b2
or r11d, 0x1ea5
imul ebx, esi
movsxd r8, ebp
and r8, rdx
imul r9d, esi
mov edx, ecx
mov ecx, dword [rax + 0x6c]
xor rdx, rcx
xor ebx, 0x24a8
mov ecx, dword [rdi + 0x94]
mov dword [rsp + 0x30], ebx
imul ecx, esi
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
sub ecx, dword [rdi + 0x114]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [rsp + 0x60]
lea eax, [r14 + 0x2677]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret