Function at 0x14004377c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r14
lea rbp, [rax - 0x258]
sub rsp, 0x340
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rbp + 0x230], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], bx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
or r12d, 0xffffffff
mov r13d, 0x811c9dc5
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14004384a
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14004384a
mov esi, dword [r10 + 0x20]
add r9d, r12d
lea rcx, [rsi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r11d, r13d
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140043845
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140043826
cmp r11d, 0x9053f9c2
je 0x14004384f
test r9d, r9d
jne 0x14004380c
mov rax, qword [rax]
jmp 0x1400437e7
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [r10 + 0x24]
add rax, r8
movzx eax, word [rax + r9*2]
mov r10d, dword [rcx + rax*4]
add r10, r8
movabs rax, 0x88154cc0f2ca6a0f
mov qword [rbp + 0x1f0], rax
movabs rax, 0x618e98990b47842c
mov qword [rbp + 0x1f8], rax
movabs rax, 0x5ff692ee75ff3da1
mov qword [rbp + 0x200], rax
movabs rax, 0x1e9dd5d73de5981e
mov qword [rbp + 0x208], rax
movabs rcx, 0xc0663fa591a5185f
mov qword [rsp + 0x30], rcx
movabs rcx, 0x19ebb6eb6e2ce74d
mov qword [rsp + 0x38], rcx
movabs rcx, 0x5ff692ee75ff3dc4
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x1f0]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rbp + 0x200]
movdqa xmmword [rbp - 0x80], xmm1
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0xfde9
call r10
movsxd r14, eax
test eax, eax
jle 0x140043a8c
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140041018
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x1400439a9
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x1400439a9
mov esi, dword [r10 + 0x20]
add r9d, r12d
lea rcx, [rsi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r11d, r13d
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x1400439a4
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140043985
cmp r11d, 0x9053f9c2
je 0x1400439ae
test r9d, r9d
jne 0x14004396b
mov rax, qword [rax]
jmp 0x140043946
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [r10 + 0x24]
add rax, r8
movzx eax, word [rax + r9*2]
mov r10d, dword [rcx + rax*4]
add r10, r8
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rax, qword [rbp - 0x70]
movabs rcx, 0x88154cc0f2ca6a0f
mov qword [rbp + 0x210], rcx
movabs rcx, 0x618e98990b47842c
mov qword [rbp + 0x218], rcx
movabs rcx, 0x5ff692ee75ff3da1
mov qword [rbp + 0x220], rcx
movabs rcx, 0x1e9dd5d73de5981e
mov qword [rbp + 0x228], rcx
movabs rdx, 0xc0663fa591a5185f
mov qword [rsp + 0x50], rdx
movabs rdx, 0x19ebb6eb6e2ce74d
mov qword [rsp + 0x58], rdx
movabs rdx, 0x5ff692ee75ff3dc4
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x210]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rbp + 0x220]
movdqa xmmword [rbp - 0x80], xmm1
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0xfde9
call r10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
movsxd rcx, dword [rdx + 0x3c]
mov r10d, dword [rcx + rdx + 0x88]
add r10, rdx
cmp r10, rdx
je 0x140043b02
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140043b02
mov esi, dword [r10 + 0x20]
add r9d, r12d
lea rcx, [rsi + r9*4]
mov r8d, dword [rcx + rdx]
add r8, rdx
mov r11d, r13d
mov cl, byte [r8]
inc r8
test cl, cl
je 0x140043afd
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x140043add
cmp r11d, 0x185776b5
je 0x140043b07
test r9d, r9d
jne 0x140043ac2
mov rax, qword [rax]
jmp 0x140043a9d
mov ecx, dword [r10 + 0x1c]
add rcx, rdx
mov eax, dword [r10 + 0x24]
add rax, rdx
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, rdx
xor edx, edx
lea ecx, [rdx + 2]
call r8
mov r14, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x238
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
movsxd rcx, dword [rdx + 0x3c]
mov r10d, dword [rcx + rdx + 0x88]
add r10, rdx
cmp r10, rdx
je 0x140043bbe
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140043bbe
mov esi, dword [r10 + 0x20]
add r9d, r12d
lea rcx, [rsi + r9*4]
mov r8d, dword [rcx + rdx]
add r8, rdx
mov r11d, r13d
mov cl, byte [r8]
inc r8
test cl, cl
je 0x140043bb9
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x140043b95
cmp r11d, 0xe81b808
je 0x140043cf0
test r9d, r9d
jne 0x140043b7a
mov rax, qword [rax]
jmp 0x140043b55
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
movsxd rcx, dword [rdx + 0x3c]
mov r10d, dword [rcx + rdx + 0x88]
add r10, rdx
cmp r10, rdx
je 0x140043c39
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140043c39
mov esi, dword [r10 + 0x20]
add r9d, r12d
lea rcx, [rsi + r9*4]
mov r8d, dword [rcx + rdx]
add r8, rdx
mov r11d, r13d
mov cl, byte [r8]
inc r8
test cl, cl
je 0x140043c34
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x140043c14
cmp r11d, 0x28976ce8
je 0x140043c3e
test r9d, r9d
jne 0x140043bf9
mov rax, qword [rax]
jmp 0x140043bd4
mov ecx, dword [r10 + 0x1c]
add rcx, rdx
mov eax, dword [r10 + 0x24]
add rax, rdx
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, rdx
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x24]
call r8
test eax, eax
je 0x140043d61
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
movsxd rcx, dword [rdx + 0x3c]
mov r10d, dword [rcx + rdx + 0x88]
add r10, rdx
cmp r10, rdx
je 0x140043ceb
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140043ceb
mov esi, dword [r10 + 0x20]
add r9d, r12d
lea rcx, [rsi + r9*4]
mov r8d, dword [rcx + rdx]
add r8, rdx
mov r11d, r13d
mov cl, byte [r8]
inc r8
test cl, cl
je 0x140043ce6
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x140043cc6
cmp r11d, 0xabe5123f
je 0x140043cf0
test r9d, r9d
jne 0x140043cab
mov rax, qword [rax]
jmp 0x140043c86
mov eax, dword [r10 + 0x24]
add rax, rdx
mov ecx, dword [r10 + 0x1c]
movzx eax, word [rax + r9*2]
add rcx, rdx
mov r8d, dword [rcx + rax*4]
add r8, rdx
lea rdx, [rbp - 0x50]
mov rcx, r14
call r8
test eax, eax
jne 0x140043bc3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x70]
call fcn.14004108c
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140061e40
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
mov ebx, 0x3001
jmp 0x140043d26