Function at 0x180005c80
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 rbx, qword [rsp + 0x80]
lea r14d, [r8 + 0x26d]
mov ebp, r8d
lea esi, [rdx - 0x95b]
mov r8d, dword [rsp + 0x88]
lea r15d, [rcx - 0x2cc]
add r8d, 0x25
xor ebp, 0x6ee
xor dword [rbx + 0x104], 0x3efc
xor esi, 0x8c6
mov eax, dword [0x18022f154]
mov edi, edx
xor eax, dword [rbx + 0x134]
add eax, 0x105888
xor dword [rbx + 0x14], eax
cmp dword [rbx + 0x94], 0x2f4f
jbe 0x180005d12
mov eax, dword [rbx + 4]
mov ecx, dword [0x18022f06c]
add eax, 0x94eb0
imul ecx, eax
mov dword [0x18022f06c], ecx
xor r14d, 0xab
xor r8d, 0x50
cmp dword [0x18022f118], 0xb4c5
ja 0x180005d41
mov rax, qword [section..data]
mov ecx, 0x12b86c
sub ecx, dword [rax + 0x168]
add dword [rbx + 0x104], ecx
mov rcx, qword [section..data]
cmp dword [rcx + 0x108], 0x27ff
jb 0x180005d68
mov eax, dword [rcx + 0x8c]
sub eax, dword [rcx + 0x50]
add eax, dword [rbx + 0x1c]
xor dword [rcx + 0x16c], eax
jmp 0x180005d7c
mov eax, dword [rcx + 0x14]
xor eax, dword [rcx + 0x104]
xor eax, 0x13dcc9
mov dword [rcx + 0x104], eax
xor edi, 0xe7f
lea edx, [rsi + 0x12a]
cmp ebp, edx
jge 0x180005f47
lea eax, [rdi + 0x1e]
cmp esi, eax
jle 0x180005dfa
mov rcx, qword [section..data]
mov eax, dword [0x18022f124]
cmp dword [rcx + 0x100], eax
jne 0x180005dc5
mov eax, 0xffee498a
sub eax, dword [rcx + 0x108]
sub eax, dword [rbx + 0x5c]
add dword [rcx + 0x48], eax
mov eax, dword [0x18022f124]
jmp 0x180005dcf
add dword [0x18022f088], 0x9d75
cmp dword [0x18022f16c], 0x6b39
mov esi, edx
jae 0x180005f47
mov ecx, dword [rbx + 0x144]
add eax, 0x132f75
imul ecx, eax
mov dword [rbx + 0x144], ecx
jmp 0x180005f47
mov eax, ebp
xor eax, 0x790
cmp r14d, eax
jge 0x180005ee1
mov eax, dword [rbx + 0x8c]
or eax, 0x6dd
cmp r14d, eax
ja 0x180005f47
sub r8d, dword [0x18022f120]
mov rax, qword [section..data]
mov r9d, dword [0x18022f0c4]
mov r11d, dword [0x18022f0bc]
mov edx, dword [0x18022f178]
sub r11d, esi
sub r9d, dword [rax + 0x5c]
or edx, 0x6b8
mov r10d, r8d
mov r8d, dword [rbx + 0x120]
imul ecx, r14d, 0x824
mov eax, ebp
mov dword [rsp + 0x28], r11d
xor r8, rax
mov qword [rsp + 0x20], r10
sub ecx, 0x9f0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [0x18022f0b8]
imul ecx, r15d
call qword [sym.imp.KERNEL32.dll_HeapLock]
mov rax, qword [section..data]
xor r15d, edi
mov esi, dword [rax + 0x58]
and esi, 0x8ea
cmp dword [rbx + 0x44], r15d
jge 0x180005f47
mov ecx, esi
sub edi, esi
or ecx, 0x670
sub r15d, dword [rbx + 0x44]
mov edx, r15d
mov dword [rbx + 0xe4], ecx
mov eax, dword [rbx + 0x134]
neg eax
mov dword [rbx + 0x150], eax
mov eax, edi
xor eax, dword [rbx + 0x140]
or dword [rbx + 0x10c], eax
sub rdx, 1
jne 0x180005eb7
jmp 0x180005f47
mov rax, qword [section..data]
xor edi, r14d
mov r9d, dword [rbx + 0xa8]
mov edx, dword [rbx + 0x134]
or edi, dword [0x18022f0c0]
xor edx, 0x724
mov ecx, dword [rax + 0x28]
sub ecx, dword [0x18022f078]
sub r9d, dword [rbx + 0x74]
sub ecx, r14d
imul ebp, r8d
mov r8d, dword [rbx + 4]
add r8d, dword [0x18022f160]
imul r8d, dword [0x18022f160]
xor ebp, dword [rbx + 0x48]
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r8d
lea r8, [0x18022f010]
mov dword [rsp + 0x20], edi
call fcn.18000732c
mov rbx, qword [rsp + 0x60]
lea eax, [rsi - 0x187]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret