Function at 0x18005e1a0
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 r12, qword [rcx + 8]
mov r10, rcx
mov r14, qword [rcx + 0x38]
mov rdi, rdx
mov qword [rsp + 0x50], rdx
mov ebx, 1
mov qword [rsp + 0x98], r9
mov r15, r8
mov r9, qword [rcx + 0x70]
mov r13d, edi
mov eax, dword [r10 + 0x18]
sub r13d, r12d
mov dword [rsp + 0x34], eax
mov r11d, r13d
mov qword [rsp + 0x58], r8
mov ebp, 3
mov r8d, dword [rcx + 0x34]
mov rcx, qword [rcx + 0x10]
lea rdx, [rax + r12]
add rax, rcx
mov qword [rsp + 0x78], rcx
mov ecx, dword [r10 + 0x100]
mov qword [rsp + 0x88], rdx
mov edx, ebx
shl edx, cl
mov ecx, dword [r10 + 0x1c]
sub r11d, edx
mov qword [rsp + 0x90], rax
mov eax, r13d
sub eax, ecx
mov qword [rsp + 0x68], r9
cmp eax, edx
mov qword [rsp + 0x70], r14
mov eax, dword [r10 + 0x10c]
mov rdx, qword [r10 + 0x60]
cmovbe r11d, ecx
cmp dword [r10 + 0x28], 0
mov dword [rsp + 0x44], r8d
cmovne r11d, ecx
mov dword [rsp + 0x30], r13d
mov ecx, 6
mov dword [rsp + 0x60], r11d
cmp eax, ecx
mov qword [rsp + 0x80], rdx
mov dword [rsp + 0x40], 0x3f
cmovb ecx, eax
xor esi, esi
shl ebx, cl
mov dword [rsp + 0x38], ebx
cmp dword [r10 + 0x12c], esi
jne 0x18005e5a2
mov ecx, dword [rsp + 0x30]
mov r14, r9
mov r11d, dword [r10 + 0x2c]
mov eax, ecx
mov r13, qword [rsp + 0x70]
sub eax, r11d
mov rdx, r12
cmp eax, 0x180
jbe 0x18005e475
lea edx, [r11 + 0x60]
mov qword [rsp + 0x48], r12
cmp r11d, edx
jae 0x18005e3a7
mov rbp, qword [rsp + 0x70]
lea r13, [r12 + 8]
mov ebx, 0x18
mov r14d, r11d
sub ebx, r8d
mov r15d, edx
add r13, r11
mov rdi, r9
nop dword [rax + rax]
imul edx, dword [r13], 0x9e3779b1
mov rcx, rbx
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + rbp]
prefetcht0 byte [rax + rbp + 0x20]
mov rax, r14
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, byte [rax + rbp]
lea rdx, [rax + rbp]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, esi
cmove eax, dword [rsp + 0x40]
inc r14
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, r15d
jb 0x18005e300
mov rax, qword [r10 + 8]
mov ebp, 3
mov rdi, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, dword [r10 + 0x34]
lea r11d, [rcx - 0x20]
mov r14, qword [r10 + 0x70]
lea rax, [rdi + 1]
mov r13, qword [r10 + 0x38]
lea r9, [r12 + r11]
mov dword [rsp + 0x3c], edx
mov edx, eax
sub edx, r12d
mov r8d, r11d
sub edx, r11d
inc edx
cmp r9, rax
mov eax, 8
cmova edx, esi
cmp edx, eax
cmova edx, eax
lea eax, [r11 + rdx]
cmp r11d, eax
jae 0x18005e467
mov ebx, 0x18
mov r15d, edx
sub ebx, dword [rsp + 0x3c]
nop word [rax + rax]
imul edx, dword [r9], 0x9e3779b1
mov rcx, rbx
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
prefetcht0 byte [rax + r13 + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r15, 1
jne 0x18005e400
mov r14, qword [r10 + 0x70]
mov r13, qword [r10 + 0x38]
mov rdx, qword [r10 + 8]
mov ebx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
jmp 0x18005e46c
mov rdx, qword [rsp + 0x48]
mov r8d, dword [r10 + 0x34]
mov r9, qword [rsp + 0x68]
cmp r11d, ecx
jae 0x18005e542
mov ebp, dword [rsp + 0x30]
lea rbx, [r11 + 8]
mov edi, 0x18
mov r15d, r11d
sub edi, r8d
add rbx, rdx
nop dword [rax]
nop dword [rax + rax]
imul edx, dword [rbx], 0x9e3779b1
mov rcx, rdi
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
prefetcht0 byte [rax + r13 + 0x20]
mov rax, r15
lea rbx, [rbx + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, byte [rax + r13]
lea rdx, [rax + r13]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, esi
cmove eax, dword [rsp + 0x40]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r14 + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x18005e4a0
mov rdi, qword [rsp + 0x50]
mov ebp, 3
mov ebx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x58]
mov r9, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x30]
mov ecx, 0x18
mov eax, dword [rsp + 0x80]
mov r8d, r13d
sub ecx, dword [rsp + 0x44]
mov dword [r10 + 0x2c], r13d
imul edx, dword [r13 + r12 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov r14, qword [rsp + 0x70]
prefetcht0 byte [rax + r14]
prefetcht0 byte [rax + r14 + 0x20]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x18005e5bd
imul r11d, dword [rdi], 0x9e3779b1
mov ecx, 0x18
mov eax, edx
sub ecx, r8d
mov dword [r10 + 0x2c], r13d
xor r11, rax
shr r11, cl
add dword [r10 + 0x68], r11d
mov eax, r11d
shr eax, 2
and eax, 0x3fffffc0
movdqu xmm1, xmmword [rax + r14 + 0x10]
movdqu xmm0, xmmword [rax + r14]
lea rcx, [r9 + rax*4]
lea r9, [rax + r14]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r9
mov r14, rsi
mov rcx, qword [rsp + 0x48]
movsx eax, r11b
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
pcmpeqb xmm1, xmm2
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm1
movdqu xmm1, xmmword [r9 + 0x30]
pmovmskb r8d, xmm0
movdqu xmm0, xmmword [r9 + 0x20]
pcmpeqb xmm1, xmm2
pmovmskb r9d, xmm1
pcmpeqb xmm0, xmm2
pmovmskb eax, xmm0
shl r9, 0x10
or r9, rax
movsxd rax, edx
movzx edx, byte [rcx]
shl r9, 0x10
movzx ecx, dl
or r9, rax
and cl, 0x3f
shl r9, 0x10
movsxd rax, r8d
mov r8, qword [rsp + 0x50]
or r9, rax
ror r9, cl
test r9, r9
je 0x18005e6bb
mov r15, qword [rsp + 0x78]
mov r13d, dword [rsp + 0x60]
test ebx, ebx
je 0x18005e6b1
bsf rcx, r9
add ecx, edx
and ecx, 0x3f
mov ecx, dword [r8 + rcx*4]
je 0x18005e6a8
cmp ecx, r13d
jb 0x18005e6b1
cmp ecx, dword [rsp + 0x34]
jb 0x18005e696
prefetcht0 byte [rcx + r12]
jmp 0x18005e69b
prefetcht0 byte [rcx + r15]
mov dword [rsp + r14*4 + 0xa0], ecx
inc r14
dec ebx
lea rax, [r9 - 1]
and r9, rax
ja 0x18005e671
mov r15, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x30]
lea ecx, [rdx - 1]
mov eax, esi
and ecx, 0x3f
mov edx, 0x3f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x48]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x18005e782
mov ecx, dword [rsp + 0x34]
mov ebx, dword [rsp + rsi*4 + 0xa0]
cmp ebx, ecx
jb 0x18005e717
mov eax, dword [rdi + rbp - 3]
lea rdx, [rbx + r12]
cmp dword [rdx + rbp - 3], eax
jne 0x18005e776
mov r8, r15
mov rcx, rdi
call fcn.180052cc0
jmp 0x18005e74e
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdi]
add rdx, rbx
cmp dword [rdx], eax
jne 0x18005e776
mov rax, qword [rsp + 0x88]
lea rcx, [rdi + 4]
mov r9, qword [rsp + 0x90]
add rdx, 4
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.180052d60
add rax, 4
cmp rax, rbp
jbe 0x18005e772
mov rdx, qword [rsp + 0x98]
mov ecx, r13d
sub ecx, ebx
mov rbp, rax
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rdi]
cmp rcx, r15
je 0x18005e785
mov ecx, dword [rsp + 0x34]
inc rsi
cmp rsi, r14
jb 0x18005e6f1
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