Function at 0x14008d850
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r9d, 0x10000
xor r8d, r8d
lea ecx, [rdx + 0xa]
call qword [0x140151140]
mov ebp, dword [0x14018e0d8]
xor esi, esi
mov r14, rax
test rax, rax
jne 0x14008db7a
mov eax, dword [0x1401720b0]
mov r8d, esi
movsd xmm0, qword [0x1401720a8]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1401720b4]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1401720b6]
mov byte [rsp + 0x3e], al
movsd qword [rsp + 0x30], xmm0
cmp ebp, 2
jl 0x14008d9ce
movdqa xmm2, xmmword [0x1401781d0]
mov r8d, 8
movdqa xmm4, xmmword [0x140178350]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401781f0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178260]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1401720a8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401783c0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178260]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x34]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401783c0]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [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, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x14008d9e0
lea rcx, [rsp + 0x30]
call fcn.1400235e0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14008daa7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14008daa7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008daa2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008da80
cmp r8d, 0x2fa62ca8
je 0x14008daac
test r9d, r9d
jne 0x14008da60
mov rax, qword [rax]
jmp 0x14008da30
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0xbb8
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14008db57
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14008db57
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008db52
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008db30
cmp r8d, 0xcded1a85
je 0x14008db5c
test r9d, r9d
jne 0x14008db10
mov rax, qword [rax]
jmp 0x14008dae0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0x2b
add rax, r10
call rax
xor edx, edx
mov rcx, r14
mov edi, esi
call qword [0x140151158]
mov rbx, rax
test rax, rax
je 0x14008dbb6
nop
mov rcx, rbx
inc edi
call fcn.14008d240
mov rdx, rbx
mov rcx, r14
call qword [0x140151158]
mov rbx, rax
test rax, rax
jne 0x14008db90
test edi, edi
jne 0x14008de9b
mov eax, dword [0x140171f80]
movsd xmm0, qword [0x140171f78]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140171f84]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x140171f86]
mov byte [rsp + 0x4e], al
movsd qword [rsp + 0x40], xmm0
cmp ebp, 2
jl 0x14008dcef
movdqa xmm2, xmmword [0x1401781d0]
mov esi, 8
movdqa xmm4, xmmword [0x140178350]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401781f0]
movdqa xmm0, xmm2
mov eax, dword [0x1401783c0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178260]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140171f78]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178260]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movsxd rax, esi
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, sil
inc esi
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp esi, 0xf
jl 0x14008dd00
lea rcx, [rsp + 0x40]
call fcn.1400235e0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14008ddc7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14008ddc7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008ddc2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008dda0
cmp r8d, 0x2fa62ca8
je 0x14008ddcc
test r9d, r9d
jne 0x14008dd80
mov rax, qword [rax]
jmp 0x14008dd50
mov edx, dword [rdi + 0x24]
mov ecx, 0xbb8
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rdi + 0x1c]
add rdx, r10
mov eax, dword [rdx + r8*4]
add rax, r10
call rax
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 edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14008de77
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14008de77
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rbx]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008de72
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008de50
cmp r8d, 0xcded1a85
je 0x14008de7c
test r9d, r9d
jne 0x14008de30
mov rax, qword [rax]
jmp 0x14008de00
mov edx, dword [rdi + 0x24]
mov ecx, 0x2b
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rdi + 0x1c]
add rdx, r10
mov eax, dword [rdx + r8*4]
add rax, r10
call rax
mov edx, 1
mov rcx, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
jmp qword [0x140151150]