Function at 0x180002180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov eax, dword [rsp + 0x90]
lea edi, [rcx + 0xd62]
mov ecx, dword [rsp + 0x88]
mov esi, r8d
mov rbx, qword [rsp + 0x80]
mov r15d, ecx
mov r13d, edx
xor esi, 0x3a0d
lea r12d, [rax + 0x7da]
xor r15d, 0xa80
lea r14d, [rax + 0x41f]
xor r13d, 0x1e0
lea ebp, [rax - 0x7b0]
add ecx, 0xffffde77
lea eax, [r12 - 0x49c]
mov r10d, 1
cmp r15d, eax
jle 0x180002346
lea rax, [0x1800243a0]
xor r9d, r9d
mov qword [0x180052080], rax
mov rax, qword [rbx + 0x70]
mov ecx, r10d
mov r8d, dword [r9 + rax]
add r9, 4
mov rax, qword [section..data]
sub ecx, dword [rax + 0x12c]
add dword [0x1800520fc], ecx
movsxd rcx, dword [rbx + 0x40]
mov rax, qword [0x180052088]
imul r8d, dword [rbx + 0x24]
mov edx, r8d
shr edx, 0x10
mov byte [rcx + rax], dl
mov edx, r8d
add dword [rbx + 0x40], r10d
mov rax, qword [section..data]
shr edx, 8
mov ecx, dword [rax + 0xf4]
xor ecx, r10d
sub dword [rbx + 0xb4], ecx
mov eax, dword [0x18005205c]
mov rcx, qword [section..data]
add eax, 0xffe9e76e
or dword [0x180052134], eax
mov eax, dword [rcx + 0x34]
sub eax, 0x12325e
add dword [rcx + 0x90], eax
movsxd rcx, dword [rbx + 0x40]
mov rax, qword [rbx + 0x78]
mov byte [rcx + rax], dl
add dword [rbx + 0x40], r10d
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x94]
xor eax, 0x76df4
or dword [rcx + 0x13c], eax
movsxd rcx, dword [rbx + 0x40]
mov rax, qword [rbx + 0x78]
mov byte [rcx + rax], r8b
add dword [rbx + 0x40], r10d
mov eax, dword [rbx + 0x140]
sub eax, 0x18de87
add dword [rbx + 0xec], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0xf4]
sub ecx, dword [0x180052044]
xor ecx, 0xffedcda3
add dword [rbx + 0x28], ecx
cmp r9, 0x24680
jl 0x180002217
mov ecx, ebp
lea eax, [rsi + 0x205]
xor ecx, 0x33bb
mov dword [rsp + 0x28], eax
mov r8d, edi
mov dword [rsp + 0x20], ecx
mov rcx, rbx
lea r9d, [r12 + 0x2cd]
xor r8d, 0x33ee
lea edx, [rdi - 0x31f]
call fcn.18000e7b8
mov esi, eax
jmp 0x18000241f
mov eax, ebp
mov r9d, 0x2b09
and eax, r14d
or eax, 0x2481
cmp dword [rbx + 0x110], eax
jbe 0x18000238b
mov rax, qword [section..data]
mov edx, ecx
or edx, 0x2189
sub ecx, esi
xor edx, dword [0x180052134]
sub ecx, r9d
mov r8d, dword [rax + 0xd0]
xor r8d, r9d
sub r8d, r14d
call qword [sym.imp.KERNEL32.dll_OpenThread]
lea eax, [r14 - 0x1a7d]
cmp edi, eax
jl 0x18000241f
imul eax, dword [rbx + 0x4c], 0x1746
mov rcx, qword [section..data]
cmp dword [rcx + 0x28], eax
jae 0x18000240e
mov ecx, dword [rcx + 0x88]
xor rcx, 0x207c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, dword [rbx + 0xc8]
mov eax, 0x2e29
mov edx, dword [rbx + 0x94]
mov r9d, r15d
mov ecx, dword [rbx + 0x118]
and r9d, edi
sub edx, dword [rbx + 0xec]
and r8d, 0x2b09
sub ecx, r15d
or r9d, eax
xor ecx, dword [rbx + 0x80]
xor r8d, eax
add edx, 0x18b2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000241f
mov eax, dword [0x180052100]
or eax, 0x2189
imul eax, edi
sub r14d, eax
lea eax, [r13 + 0x603]
cmp r15d, eax
jl 0x180002681
lea eax, [r13 + 0x5dc]
cmp r12d, eax
je 0x180002681
mov eax, r14d
xor eax, 0xf88
cmp r13d, eax
jge 0x180002631
mov ecx, dword [rbx + 0x30]
mov rax, qword [section..data]
add ecx, 0xae65e
mov dword [rax + 0x24], ecx
mov rcx, qword [section..data]
mov eax, dword [rcx + 0xec]
cmp dword [rbx + 0x94], eax
jb 0x180002486
mov eax, dword [rcx + 0xb4]
add eax, 0x2811c76
xor dword [rbx + 0x24], eax
mov eax, dword [rbx + 0xec]
cmp dword [rbx + 0x84], eax
ja 0x18000249f
lea rax, [0x180010540]
mov qword [rbx + 0x70], rax
xor r9d, r9d
mov rax, qword [rbx + 0x70]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rbx + 0x58]
sub eax, dword [rbx + 0x124]
sub eax, 0x1744158
xor dword [rbx + 0x28], eax
mov rax, qword [section..data]
imul r8d, dword [rax + 0x24]
mov eax, dword [rbx + 0x12c]
sub eax, dword [rbx + 0x114]
add dword [rbx + 0xfc], eax
mov eax, dword [rbx + 0x110]
xor dword [rbx + 0x58], eax
mov edx, r8d
mov rax, qword [0x180052088]
movsxd rcx, dword [rbx + 0x40]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x40]
mov eax, dword [0x1800520b0]
mov ecx, dword [rbx + 0x38]
add eax, 0xfefbba32
add ecx, eax
add dword [rbx + 0x124], ecx
mov eax, dword [0x1800520f0]
mov ecx, dword [rbx + 0x140]
add eax, 0xffe72179
add ecx, dword [rbx + 0xb8]
add ecx, eax
mov rax, qword [section..data]
mov dword [0x1800520f0], ecx
movsxd rcx, dword [rax + 0x40]
mov rax, qword [rax + 0x78]
mov byte [rcx + rax], r8b
mov rax, qword [section..data]
inc dword [rax + 0x40]
mov rax, qword [section..data]
mov ecx, dword [rax + 0xb8]
mov eax, dword [rbx + 0xb4]
xor ecx, 1
imul eax, ecx
mov dword [rbx + 0xb4], eax
mov rcx, qword [section..data]
mov eax, dword [rbx + 0x34]
sub eax, 0x12325e
add dword [rcx + 0xb8], eax
mov eax, dword [0x18005213c]
dec eax
add dword [rbx + 0xfc], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x13c]
add ecx, dword [rbx + 0xf4]
mov eax, dword [0x1800520c8]
xor ecx, 0xee97f
imul eax, ecx
mov dword [0x1800520c8], eax
mov eax, dword [rbx + 0xf0]
sub eax, dword [rbx + 0x34]
add eax, 0x123203
add dword [rbx + 0x124], eax
mov eax, dword [rbx + 0xfc]
sub eax, 0x968f7
or dword [rbx + 0xf0], eax
mov eax, dword [rbx + 0xf0]
sub eax, dword [rbx + 0x38]
add eax, 0x10445c4
mov dword [rbx + 0xf0], eax
cmp r9, 0x13818
jl 0x1800024a2
mov eax, dword [rbx]
add eax, 0x429
mov dword [rbx + 0x24], eax
mov eax, dword [rbx + 0x140]
sub eax, dword [rbx + 0x12c]
mov rcx, qword [section..data]
sub eax, 0x3d8986c6
add dword [rcx + 0x24], eax
lea rax, [0x180061480]
mov qword [rbx + 0x70], rax
jmp 0x180002681
mov eax, dword [0x180052038]
imul eax, dword [0x180052010]
cmp edi, eax
jae 0x180002681
mov eax, dword [0x1800520fc]
mov r15d, 0x283c
xor eax, r15d
or eax, dword [rbx + 0x94]
cmp edi, eax
jbe 0x180002681
sub ebp, r14d
add ebp, edi
movsxd rbp, ebp
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1800520fc]
inc edi
xor eax, r15d
or eax, dword [rbx + 0x94]
cmp edi, eax
ja 0x180002663
mov rbx, qword [rsp + 0x60]
xor esi, 0x2f6
mov rbp, qword [rsp + 0x68]
mov eax, esi
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret