Function at 0x180009500
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov eax, dword [rsp + 0x80]
lea ebp, [rcx - 0x1fe]
mov esi, dword [rsp + 0x88]
lea r12d, [rcx - 0x1d9]
mov edi, edx
xor esi, 0x2e7e
xor edi, 0x11e8
mov rbx, r9
lea r14d, [rax + 0x767]
lea r15d, [rax - 0x32b]
cmp ebp, r12d
je 0x180009804
mov eax, r15d
xor eax, 0xef5
cmp ebp, eax
je 0x1800096bf
mov eax, dword [r9 + 0x34]
cmp dword [r9 + 0xec], eax
jbe 0x18000959d
mov eax, dword [r9 + 0x84]
add eax, dword [0x1800590fc]
mov rcx, qword [section..data]
xor eax, 0xffe1f314
add dword [rcx + 0xc4], eax
mov eax, dword [r9 + 0xfc]
add eax, 0x3c7f7ab4
mov dword [r9 + 0x54], eax
mov rax, qword [section..data]
mov dword [rax + 0xf0], 0x85a
add dword [0x180059150], 0xffee0a3e
mov rax, qword [section..data]
add dword [rax + 0xf0], 0xfffff7a6
add dword [r9 + 0x120], 0xb6a79
mov r8, qword [section..data]
mov edx, dword [r8 + 0x3c]
cmp edx, dword [r8 + 0x54]
ja 0x180009664
nop word [rax + rax]
mov ecx, dword [r9 + 0x90]
mov eax, dword [r9 + 0xdc]
dec eax
add ecx, eax
mov eax, edx
or dword [0x18005903c], ecx
imul eax, edx
inc edx
add dword [r9 + 0xf0], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x40]
xor eax, dword [0x180059130]
sub eax, 0xb6a88
or dword [rcx + 0x134], eax
mov eax, dword [r9 + 0x130]
sub eax, dword [0x18005906c]
inc eax
add dword [r9 + 0x80], eax
mov r8, qword [section..data]
cmp edx, dword [r8 + 0x54]
jbe 0x180009600
mov eax, dword [0x180059090]
cmp dword [r9 + 0x100], eax
jne 0x18000969e
mov eax, dword [r8 + 0x5c]
xor eax, dword [0x180059110]
add eax, dword [0x1800590cc]
sub dword [r9 + 0x58], eax
mov r8, qword [section..data]
mov eax, dword [r9 + 0xf0]
mov dword [r8 + 0x74], eax
jmp 0x180009804
mov eax, dword [0x180059100]
lea ecx, [rax + rax*2]
add ecx, ecx
mov dword [0x180059100], ecx
mov eax, dword [r9 + 0xf0]
mov dword [r8 + 0x74], eax
jmp 0x180009804
mov rcx, qword [section..data]
mov eax, edi
or eax, 0x3fd5
xor eax, edi
cmp dword [rcx + 0xdc], eax
je 0x1800097d2
mov eax, dword [r9 + 0x40]
lea edx, [r14 + rbp]
mov r10d, dword [rcx + 0x70]
lea r11d, [r15 + 0x35c7]
mov r8d, dword [rcx + 0xe0]
or r11, rax
sub r10d, dword [r9 + 0xd0]
mov ecx, dword [rcx + 0x60]
or r10d, 0x2e3d
mov qword [rsp + 0x30], r11
imul eax, r15d, 0x35a4
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], edx
xor edx, edx
imul r8d, r12d
movsxd r9, eax
mov eax, dword [rbx + 0xf4]
or rcx, rax
mov eax, dword [rbx + 0x7c]
xor rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [section..data]
mov r11d, r15d
mov eax, dword [0x180059090]
mov r9d, esi
sub r11d, dword [0x18005910c]
xor r9d, 0x35a4
mov edx, dword [rbx + 0xc0]
or r11, rax
mov r10d, dword [rcx + 0x84]
mov eax, r14d
imul r10d, dword [rbx + 0x10]
sub r9d, 0x3fc9
sub edi, dword [rcx + 0x120]
add edx, 0x6afe
imul eax, esi
mov qword [rsp + 0x28], r11
mov ecx, edi
mov dword [rsp + 0x20], r10d
imul r8d, eax, 0x3f8c
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, esi
or eax, 0x2ff7
add eax, 0x35c7
add dword [rbx + 0x88], eax
mov eax, esi
mov rcx, qword [section..data]
or eax, 0x35c7
and eax, dword [rcx + 0x80]
sub esi, eax
mov eax, dword [0x18005902c]
xor eax, esi
xor eax, 0x3ebf
cmp ebp, eax
ja 0x180009804
mov ecx, dword [rcx + 0x6c]
xor ecx, dword [0x18005911c]
imul ecx, ecx, 0x3ebf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbx + 0x58]
add ecx, r15d
add dword [0x180059020], ecx
mov rbx, qword [rsp + 0x60]
xor r14d, 0x103e
mov rbp, qword [rsp + 0x68]
mov eax, r14d
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret