Function at 0x140039b40
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:
push r13
sub rsp, 0x40
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rdi
mov rdi, qword [0x14008ae38]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test rdi, rdi
jne 0x140039cb9
mov rax, qword gs:[0x60]
xor ebp, ebp
mov r10d, 0x3285501
mov rcx, qword [rax + 0x18]
mov r15, qword [rcx + 0x10]
mov rbx, r15
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x140039bdc
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140039bd4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140039bc0
cmp edx, ebp
jne 0x140039ca1
mov r8, qword [rbx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r14, rcx
mov r9d, ecx
shr r14, 0x20
add r9, r8
cmp r9, r8
je 0x140039ca1
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140039ca1
mov esi, dword [r9 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [rsi + rdi*4]
mov eax, dword [rax + r8]
add rax, r8
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140039c57
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140039c40
cmp edx, r10d
je 0x140039c62
test edi, edi
jne 0x140039c20
jmp 0x140039ca1
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov edi, dword [rcx + rdx*4]
add rdi, r8
cmp rdi, r9
jbe 0x140039cb2
lea rax, [r14 + r9]
cmp rdi, rax
jae 0x140039cb2
mov ebp, 0x811c9dc5
mov rbx, r15
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r10, qword [rsp + 0x50]
shr r10, 0x20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x140039b90
xor edi, edi
mov qword [0x14008ae38], rdi
mov edx, 8
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call rdi
mov r13, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [r13 + 0x30], 0x100010
mov rsi, qword [0x14008aec0]
test rsi, rsi
jne 0x140039e49
mov rcx, qword gs:[0x60]
xor ebp, ebp
mov r10d, 0x85cca27e
mov rdx, qword [rcx + 0x18]
mov r15, qword [rdx + 0x10]
mov rbx, r15
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x140039d6c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140039d64
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140039d50
cmp edx, ebp
jne 0x140039e31
mov r8, qword [rbx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r14, rcx
mov r9d, ecx
shr r14, 0x20
add r9, r8
cmp r9, r8
je 0x140039e31
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140039e31
mov esi, dword [r9 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [rsi + rdi*4]
mov ecx, dword [rax + r8]
add rcx, r8
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140039de7
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140039dd0
cmp edx, r10d
je 0x140039df2
test edi, edi
jne 0x140039db0
jmp 0x140039e31
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov esi, dword [rcx + rdx*4]
add rsi, r8
cmp rsi, r9
jbe 0x140039e42
lea rax, [r14 + r9]
cmp rsi, rax
jae 0x140039e42
mov ebp, 0x811c9dc5
mov rbx, r15
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r10, qword [rsp + 0x50]
shr r10, 0x20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x140039d20
xor esi, esi
mov qword [0x14008aec0], rsi
mov rcx, qword [0x14008aed8]
test rcx, rcx
jne 0x140039fae
mov rax, qword gs:[0x60]
xor ebp, ebp
mov qword [rsp + 0x30], r12
mov r10d, 0x9bc5a608
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
mov rbx, r12
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x140039ecc
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140039ec4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140039eb0
cmp edx, ebp
jne 0x140039f91
mov r8, qword [rbx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r15, rcx
mov r9d, ecx
shr r15, 0x20
add r9, r8
cmp r9, r8
je 0x140039f91
mov edi, dword [r9 + 0x18]
test edi, edi
je 0x140039f91
mov r14d, dword [r9 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [r14 + rdi*4]
mov ecx, dword [rax + r8]
add rcx, r8
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140039f47
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140039f30
cmp edx, r10d
je 0x140039f52
test edi, edi
jne 0x140039f10
jmp 0x140039f91
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov ecx, dword [rcx + rdx*4]
add rcx, r8
cmp rcx, r9
jbe 0x140039fa2
lea rax, [r15 + r9]
cmp rcx, rax
jae 0x140039fa2
mov ebp, 0x811c9dc5
mov rbx, r12
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r10, qword [rsp + 0x50]
shr r10, 0x20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r12
jne 0x140039e80
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov qword [0x14008aed8], rcx
call rcx
mov rdx, r13
mov rcx, rax
call rsi
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x140039ffe
cmp qword [r13 + 0x48], 0
jne 0x140039ffe
cmp qword [r13 + 0x50], 0
jne 0x140039ffe
cmp qword [r13 + 0x58], 0
jne 0x140039ffe
cmp qword [r13 + 0x60], 0
setne al
add rsp, 0x40
pop r13
ret
mov al, 1
add rsp, 0x40
pop r13
ret