Function at 0x180015458
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 qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov eax, dword [rsp + 0xb8]
lea r10d, [r8 - 0x40e]
mov ecx, dword [rsp + 0x68]
mov r13d, r9d
mov r8d, dword [rsp + 0x78]
mov esi, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x90]
lea r11d, [rax - 0x209]
lea ebp, [rcx + 0x1f8]
add esi, 0x99
lea edi, [rax - 0x8f]
add ecx, 0xffffcfad
lea eax, [r8 - 0x217]
add r9d, 0xfffffd47
lea ebx, [r8 - 0x33a3]
cmp ecx, eax
je 0x1800158b3
lea ecx, [rbx + 0x318c]
lea eax, [rdx - 0x3182]
cmp eax, ecx
jge 0x18001585a
mov r9, qword [rsp + 0x60]
mov dword [r9 + 0x518], 4
mov dword [r9 + 0x51c], 0x1c
mov rax, qword [r9 + 0x118]
imul ecx, dword [rax + 0x4f8], 0x50e75ed1
cmp ecx, 0x3182
jbe 0x180015535
mov rcx, qword [r9 + 0x510]
mov rax, qword [rcx + 0x30]
or qword [r9 + 0x170], rax
inc qword [rcx + 0x30]
mov eax, dword [r9 + 0x508]
mov esi, 0x38e3
movsxd rdx, dword [r9 + 0x500]
mov rcx, qword [r9 + 0x338]
add dword [rcx + rdx*4], eax
movsxd rdx, dword [r9 + 0x504]
mov rcx, qword [r9 + 0x338]
mov eax, dword [r9 + 0x50c]
add dword [rcx + rdx*4], eax
mov rax, qword [r9 + 0x118]
mov rcx, qword [rax + 0x230]
mov rax, qword [r9 + 0x510]
xor rcx, rsi
mov qword [r9 + 0x548], rcx
imul edx, dword [rax + 0x290], 0xfae38147
mov eax, 0x3a05
cmp edx, eax
jge 0x1800155bb
mov rcx, qword [r9 + 0x230]
xor rcx, 0x2f79
sub eax, edx
mov edx, eax
sub rdx, 1
jne 0x1800155ae
mov qword [r9 + 0x2a8], rcx
xor r11d, r11d
cmp dword [r9 + 0x4d4], r11d
jle 0x18001583f
mov ebp, 0x8000001f
mov r14d, 0x33a3
mov r15d, 0x9a0
mov rdx, qword [r9 + 0x510]
imul ecx, dword [rdx + 0x4f8], 0xcca35307
cmp qword [r9 + 0x70], rcx
jbe 0x180015604
mov rax, qword [rdx + 0x50]
add rax, 0x318c
mov qword [r9 + 0x2a8], rax
xor r10d, r10d
cmp dword [r9 + 0x4d8], r10d
jle 0x180015761
lea rdi, [r9 + 0x280]
mov rax, qword [r9 + 0x128]
imul rcx, qword [rax + 0x280], 0x37b1
mov rax, qword [r9 + 0x30]
mov qword [r9 + 0x550], rcx
or rax, 0x30f3
mov qword [r9 + 0x2c0], rax
mov r8, qword [r9 + 0x338]
movsxd rax, dword [r9 + 0x504]
movsxd rdx, dword [r9 + 0x500]
mov ecx, dword [r8 + rax*4]
xor dword [r8 + rdx*4], ecx
mov ecx, dword [r9 + 0x51c]
and ecx, ebp
jge 0x180015674
dec ecx
or ecx, 0xffffffe0
inc ecx
mov rdx, qword [r9 + 0x338]
movsxd rax, dword [r9 + 0x500]
mov r8d, dword [rdx + rax*4]
test ecx, ecx
je 0x18001568d
ror r8d, cl
movsxd rax, dword [r9 + 0x504]
add dword [rdx + rax*4], r8d
mov r8d, r14d
mov rax, qword [r9 + 0x510]
imul rcx, qword [rax + 0x260], 0x38e3
mov rax, qword [r9 + 0x2a0]
sub rax, 0x30f3
mov qword [r9 + 0x210], rcx
xor qword [r9 + 0x4f0], rax
mov eax, dword [r9 + 0x500]
inc eax
cdq
idiv dword [r9 + 0x348]
mov dword [r9 + 0x500], edx
mov rax, qword [r9 + 0x230]
sub rax, 0x3523
mov qword [r9 + 0xa0], rax
mov eax, dword [r9 + 0x504]
inc eax
cdq
idiv dword [r9 + 0x348]
mov dword [r9 + 0x504], edx
xor qword [r9 + 0x108], rdi
mov rbx, qword [r9 + 0x128]
mov eax, dword [rbx + 0x4f8]
xor eax, r15d
cmp eax, r14d
jbe 0x180015751
mov rdx, qword [r9 + 0x160]
sub rdx, 0x6b2d
inc r8d
mov qword [r9 + 0x160], rdx
mov ecx, dword [rbx + 0x4f8]
xor rcx, r15
movsxd rax, r8d
cmp rax, rcx
jb 0x18001572f
inc r10d
cmp r10d, dword [r9 + 0x4d8]
jl 0x18001561b
mov rax, qword [r9 + 0x190]
mov rcx, qword [rax + 0x380]
mov qword [r9 + 0x270], 0xfffffffffffffcde
or rcx, r14
or qword [r9 + 0x180], rcx
mov rax, qword [r9 + 0x338]
movsxd rcx, dword [r9 + 0x504]
movsxd r8, dword [r9 + 0x500]
mov rdx, qword [r9 + 0x330]
mov ecx, dword [rax + rcx*4]
add dword [rdx + r8*4], ecx
mov eax, dword [r9 + 0x328]
sub eax, 0x430
cmp eax, esi
ja 0x1800157cc
mov rax, 0xffffffffffffffd0
sub rax, qword [r9 + 0xe8]
add qword [r9 + 0x380], rax
imul rax, qword [r9 + 0x4b0], 0x324b
mov rcx, qword [r9 + 0x510]
or qword [rcx + 0xd8], rax
mov ecx, dword [r9 + 0x518]
and ecx, ebp
jge 0x1800157f7
dec ecx
or ecx, 0xffffffe0
inc ecx
mov rax, qword [r9 + 0x338]
test ecx, ecx
je 0x180015812
movsxd rdx, dword [r9 + 0x500]
mov r8d, dword [rax + rdx*4]
ror r8d, cl
jmp 0x18001581d
movsxd rcx, dword [r9 + 0x500]
mov r8d, dword [rax + rcx*4]
movsxd rcx, dword [r9 + 0x504]
inc r11d
mov rax, qword [r9 + 0x330]
add dword [rax + rcx*4], r8d
cmp r11d, dword [r9 + 0x4d4]
jl 0x1800155dc
mov dword [r9 + 0x4d4], 0x16b39e
mov dword [r9 + 0x4d8], 0x14f
jmp 0x18001591b
mov rcx, qword [rsp + 0x60]
movsxd r10, r9d
mov rdx, qword [rcx + 0x28]
movsxd r8, dword [rcx + 0x4a0]
sub rdx, r10
imul rdx, qword [rcx + 0x4e8]
cmp r8, rdx
jb 0x18001591b
mov r9d, r11d
and r9d, 0x37b1
cmp qword [rcx + 0xa0], r9
ja 0x1800158a5
mov rax, r10
xor rax, qword [rcx + 0x210]
or qword [rcx + 0xf8], rax
add r8d, 3
movsxd rax, r8d
cmp rax, rdx
jae 0x18001588b
jmp 0x18001591b
imul r11d, ebx
mov eax, r10d
xor eax, 0x3a6b
or edi, r11d
cmp esi, eax
jge 0x18001591b
mov rbx, qword [rsp + 0x60]
sub eax, esi
movsxd r14, esi
imul r10d, r10d
movsxd rbp, ebp
lea esi, [rax - 1]
shr esi, 1
inc esi
movsxd r15, r10d
mov rax, qword [rbx + 0xe0]
or rax, rbp
cmp r14, rax
jne 0x180015907
mov rcx, qword [rbx + 0xb0]
movsxd rax, edi
xor rcx, rax
xor qword [rbx + 0x30], rcx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, r15
sub rax, qword [rbx + 0x230]
add qword [rbx + 0x30], rax
sub rsi, 1
jne 0x1800158e1
mov rbx, qword [rsp + 0x40]
lea eax, [r13 - 0x215]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret