Function at 0x18004cf10
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x18010c040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r8
mov rbx, rdx
mov r15, rcx
mov qword [rbp + 7], rdx
xor r12d, r12d
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x10]
movsxd rax, dword [rdi + 0x3c]
mov esi, dword [rax + rdi + 0x50]
mov r10d, r12d
test esi, esi
jle 0x18004cfe6
lea r9, [rdi + 3]
movzx eax, byte [r9 - 3]
sub al, 0x48
test al, 0xfb
jne 0x18004cfdb
cmp byte [r9 - 2], 0x8d
jne 0x18004cfdb
movsxd r11, r10d
mov eax, dword [r9]
add eax, 7
movsxd r8, eax
add r8, r11
add r8, rdi
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x10]
movsxd rax, dword [rcx + 0x3c]
cmp r8, rcx
jbe 0x18004cfdb
mov eax, dword [rax + rcx + 0x50]
add rax, rcx
cmp r8, rax
jae 0x18004cfdb
mov rax, r14
sub r8, r14
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004cfd3
inc rax
test ecx, ecx
jne 0x18004cfc0
test edx, edx
je 0x18004d07a
inc r10d
inc r9
cmp r10d, esi
jl 0x18004cf70
mov r14, r12
mov edi, r12d
mov rdx, qword [0x18020bbf8]
test rdx, rdx
jne 0x18004d048
mov rsi, r12
nop dword [rax + rax]
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
sar rcx, 3
movsxd rax, edi
cmp rax, rcx
jae 0x18004d048
mov dword [rsp + 0x20], 0xffffffff
mov r9b, 1
mov r8d, 0x60
mov rdx, r14
mov rcx, qword [r10 + rsi]
call fcn.18004b8d0
mov rdx, rax
mov qword [0x18020bbf8], rax
inc edi
add rsi, 8
test rax, rax
je 0x18004d000
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18004d05c
mov qword [rbx + 8], rax
mov rdx, qword [0x18020bbf8]
test rdx, rdx
je 0x18004d083
mov rax, qword gs:[0x60]
sub rdx, qword [rax + 0x10]
mov qword [0x18020bbf8], rdx
jmp 0x18004d561
lea r14, [r11 + rdi]
jmp 0x18004cfe9
movups xmm0, xmmword [0x1800e9308]
movups xmmword [rsp + 0x30], xmm0
movzx eax, word [0x1800e9318]
mov word [rsp + 0x40], ax
mov esi, dword [0x18010c090]
movdqa xmm6, xmmword [0x1800f8c60]
cmp byte [0x1800e9319], 0
je 0x18004d223
mov r8d, r12d
cmp esi, 2
jl 0x18004d1df
movdqa xmm4, xmmword [0x1800f8b30]
movdqa xmm3, xmmword [0x1800f9020]
movdqa xmm5, xmmword [0x1800f8bf0]
movdqa xmm0, xmmword [0x1800f8ce0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rbp - 0x79]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x18004d0f0
cmp r8d, 0x12
jge 0x18004d223
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x18004d1f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x18004d241
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x39]
call fcn.180013210
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x18004d270
mov rdx, r15
lea rcx, [rbp - 0x59]
call fcn.180013210
nop
movups xmm0, xmmword [0x1800e93a0]
movups xmmword [rsp + 0x30], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18004d413
cmp esi, 2
jl 0x18004d3c9
movdqa xmm4, xmmword [0x1800f8b30]
mov edx, r12d
movdqa xmm3, xmmword [0x1800f9020]
movdqa xmm5, xmmword [0x1800f8bf0]
movdqa xmm0, xmmword [0x1800f8ce0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rsp + 0x34]
mov r8d, dword [rbp - 0x79]
nop
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x18004d2e0
jmp 0x18004d413
lea r9, [rsp + 0x30]
mov r8d, r12d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x18004d3e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
lea rax, [rsp + 0x30]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18004d427
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x79]
call fcn.180013210
nop
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x79]
lea rcx, [rsp + 0x30]
call fcn.180021190
nop
lea r9, [rbp - 0x39]
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x19]
call fcn.180021190
xor edx, edx
lea rcx, [rbp - 0x19]
call fcn.180027a40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18004d4b1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d4ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d5de
call fcn.1800b0e78
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x18004d4ed
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d4e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d5e4
call fcn.1800b0e78
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x18004d529
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d523
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d5ea
call fcn.1800b0e78
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x18004d561
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d55b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d5d2
call fcn.1800b0e78
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x18004d5a5
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x18004d595
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004d5d8
mov rcx, r8
call fcn.1800b0e78
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1800b0ae0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800b6d24
nop
call fcn.1800b6d24
nop
call fcn.1800b6d24
nop
call fcn.1800b6d24
nop
call fcn.1800b6d24
int3