Function at 0x18005dbf0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x18014f1c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r13, qword [rcx + 8]
mov r10, rcx
mov r14, qword [rcx + 0x38]
mov rdi, rdx
mov ebx, dword [rcx + 0x34]
mov r12, r8
mov qword [rsp + 0x70], rdx
mov r15d, 1
mov eax, dword [r10 + 0x18]
mov ebp, 3
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x58], r8
mov r8d, edi
sub r8d, r13d
mov qword [rsp + 0x98], r9
mov r9, qword [rcx + 0x70]
lea rdx, [rax + r13]
mov rcx, qword [rcx + 0x10]
mov r11d, r8d
add rax, rcx
mov qword [rsp + 0x80], rcx
mov ecx, dword [r10 + 0x100]
mov qword [rsp + 0x88], rdx
mov edx, r15d
shl edx, cl
mov ecx, dword [r10 + 0x1c]
sub r11d, edx
mov qword [rsp + 0x90], rax
mov eax, r8d
sub eax, ecx
mov qword [rsp + 0x68], r9
cmp eax, edx
mov qword [rsp + 0x50], r14
mov eax, dword [r10 + 0x10c]
mov rdx, qword [r10 + 0x60]
cmovbe r11d, ecx
cmp dword [r10 + 0x28], 0
mov dword [rsp + 0x3c], ebx
cmovne r11d, ecx
mov dword [rsp + 0x30], r8d
mov ecx, 5
mov dword [rsp + 0x60], r11d
cmp eax, ecx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x40], 0x1f
cmovb ecx, eax
xor esi, esi
shl r15d, cl
mov dword [rsp + 0x38], r15d
cmp dword [r10 + 0x12c], esi
jne 0x18005dfac
mov r11d, dword [r10 + 0x2c]
mov eax, r8d
mov ecx, dword [rsp + 0x3c]
sub eax, r11d
mov rbx, r9
mov rdx, r13
cmp eax, 0x180
jbe 0x18005de9a
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x18005dddc
mov rbp, qword [rsp + 0x50]
lea r14, [r13 + 8]
mov edi, 0x18
mov ebx, r11d
sub edi, ecx
mov r12d, eax
add r14, r11
mov r15, r9
nop
imul edx, dword [r14], 0x9e3779b1
mov rcx, rdi
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [rax + rbp]
mov rax, rbx
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, byte [rax + rbp]
lea rdx, [rax + rbp]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, esi
cmove eax, dword [rsp + 0x40]
inc rbx
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r11d
inc r11d
cmp r11d, r12d
jb 0x18005dd40
mov rdx, qword [r10 + 8]
mov ebp, 3
mov rdi, qword [rsp + 0x70]
mov r15d, dword [rsp + 0x38]
mov r12, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x30]
mov ecx, dword [r10 + 0x34]
lea r11d, [r8 - 0x20]
mov rbx, qword [r10 + 0x70]
lea rax, [rdi + 1]
mov r14, qword [r10 + 0x38]
lea r9, [r11 + r13]
mov dword [rsp + 0x48], ecx
mov ecx, eax
sub ecx, r13d
mov r8d, r11d
sub ecx, r11d
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, esi
cmp ecx, eax
cmova ecx, eax
lea eax, [rcx + r11]
cmp r11d, eax
jae 0x18005de8c
mov eax, 0x18
mov r12d, ecx
sub eax, dword [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov r15d, eax
imul edx, dword [r9], 0x9e3779b1
mov rcx, r15
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rbx + rax*4]
prefetcht0 byte [rbx + rax*4 + 0x40]
prefetcht0 byte [r14 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r12, 1
jne 0x18005de32
mov rbx, qword [r10 + 0x70]
mov r14, qword [r10 + 0x38]
mov rdx, qword [r10 + 8]
mov r15d, dword [rsp + 0x38]
mov r12, qword [rsp + 0x58]
mov ecx, dword [r10 + 0x34]
mov r8d, dword [rsp + 0x30]
mov r9, qword [rsp + 0x68]
cmp r11d, r8d
jae 0x18005df5d
mov ebp, dword [rsp + 0x30]
lea r15, [r11 + 8]
mov edi, 0x18
mov r12d, r11d
sub edi, ecx
add r15, rdx
nop dword [rax + rax]
imul edx, dword [r15], 0x9e3779b1
mov rcx, rdi
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rbx + rax*4]
prefetcht0 byte [rbx + rax*4 + 0x40]
prefetcht0 byte [r14 + rax]
mov rax, r12
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, byte [r14 + rax]
lea rdx, [r14 + rax]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, esi
cmove eax, dword [rsp + 0x40]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rbx + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x18005dec0
mov rdi, qword [rsp + 0x70]
mov ebp, 3
mov r15d, dword [rsp + 0x38]
mov r12, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x30]
mov r9, qword [rsp + 0x68]
mov eax, dword [rsp + 0x78]
mov ecx, 0x18
sub ecx, dword [rsp + 0x3c]
mov dword [r10 + 0x2c], r8d
imul edx, dword [r8 + r13 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov r14, qword [rsp + 0x50]
prefetcht0 byte [rax + r14]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x18005dfc6
imul r11d, dword [rdi], 0x9e3779b1
mov ecx, 0x18
mov eax, edx
sub ecx, ebx
mov dword [r10 + 0x2c], r8d
xor r11, rax
shr r11, cl
add dword [r10 + 0x68], r11d
mov eax, r11d
shr eax, 3
and eax, 0x1fffffe0
movdqu xmm1, xmmword [rax + r14 + 0x10]
movzx ebx, byte [rax + r14]
movdqu xmm0, xmmword [rax + r14]
lea rcx, [r9 + rax*4]
mov edx, ebx
mov qword [rsp + 0x50], rcx
and edx, 0x1f
lea rcx, [rax + r14]
movsx eax, r11b
mov qword [rsp + 0x78], rcx
mov r14, rsi
mov ecx, edx
neg ecx
movd xmm2, eax
and ecx, 0x1f
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
pcmpeqb xmm1, xmm2
pcmpeqb xmm0, xmm2
pmovmskb eax, xmm0
pmovmskb r8d, xmm1
shl r8d, 0x10
or r8d, eax
mov r9d, r8d
mov eax, r8d
shl r9d, cl
mov ecx, edx
mov rdx, qword [rsp + 0x50]
shr rax, cl
or r9, rax
jbe 0x18005e0a9
mov r8d, dword [rsp + 0x34]
mov r12, qword [rsp + 0x80]
mov edi, dword [rsp + 0x60]
nop
test r15d, r15d
je 0x18005e09f
bsf rcx, r9
add ecx, ebx
and ecx, 0x1f
mov ecx, dword [rdx + rcx*4]
je 0x18005e096
cmp ecx, edi
jb 0x18005e09f
cmp ecx, r8d
jb 0x18005e083
prefetcht0 byte [rcx + r13]
jmp 0x18005e088
prefetcht0 byte [rcx + r12]
mov dword [rsp + r14*4 + 0xa0], ecx
inc r14
dec r15d
lea rax, [r9 - 1]
and r9, rax
ja 0x18005e060
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x58]
lea ecx, [rbx - 1]
mov eax, esi
and ecx, 0x1f
mov r8d, 0x1f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x78]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x18005e179
mov r15d, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
mov ebx, dword [rsp + rsi*4 + 0xa0]
cmp ebx, ecx
jb 0x18005e10b
mov eax, dword [rdi + rbp - 3]
lea rdx, [rbx + r13]
cmp dword [rdx + rbp - 3], eax
jne 0x18005e16d
mov r8, r12
mov rcx, rdi
call fcn.180052cc0
jmp 0x18005e145
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdi]
add rdx, rbx
cmp dword [rdx], eax
jne 0x18005e16d
mov rax, qword [rsp + 0x88]
lea rcx, [rdi + 4]
mov r9, qword [rsp + 0x90]
add rdx, 4
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.180052d60
add rax, 4
cmp rax, rbp
jbe 0x18005e169
mov rdx, qword [rsp + 0x98]
mov ecx, r15d
sub ecx, ebx
mov rbp, rax
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rdi]
cmp rcx, r12
je 0x18005e17c
mov ecx, dword [rsp + 0x34]
inc rsi
cmp rsi, r14
jb 0x18005e0e5
mov rax, rbp
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1800d2190
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret