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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x160
mov rax, qword [0x140180f00]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword gs:[0x60]
mov r14, rcx
mov rdx, qword [rax + 0x18]
mov rsi, qword [rdx + 0x10]
mov rdi, rsi
mov r9, qword [rdi + 0x30]
xor r12d, r12d
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140040394
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140040394
mov ebx, dword [r11 + 0x20]
nop dword [rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14004038f
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 0x140040370
cmp edx, 0x185776b5
je 0x1400403bb
test r8d, r8d
jne 0x140040350
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140040324
mov rax, r12
xor edx, edx
mov ecx, 2
call rax
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400403d6
xor al, al
jmp 0x14004066e
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1400403a2
xor edx, edx
mov qword [rsp + 0x180], r15
mov r8d, 0x12c
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], pe_nt_image_headers64
xor r15b, r15b
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
nop
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140040488
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140040488
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140040483
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 0x140040460
cmp edx, 0xa4c8c8f
je 0x140040576
test r8d, r8d
jne 0x140040440
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140040410
mov rax, r12
lea rdx, [rsp + 0x20]
mov rcx, rbp
call rax
test eax, eax
je 0x1400405b2
nop dword [rax]
lea rax, [rsp + 0x4c]
cmp r14, rax
je 0x1400405af
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140040554
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140040554
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rbx + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14004054f
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 0x140040530
cmp edx, 0x15eec872
je 0x140040594
test r8d, r8d
jne 0x140040510
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400404e0
mov rax, r12
lea rdx, [rsp + 0x20]
mov rcx, rbp
call rax
test eax, eax
jne 0x1400404b0
jmp 0x1400405b2
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14004049a
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140040562
mov r15b, 1
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140040644
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140040644
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14004063f
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 0x140040620
cmp edx, 0xfaba0065
je 0x14004069b
test r8d, r8d
jne 0x140040600
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400405d0
mov rax, r12
mov rcx, rbp
call rax
test r15b, r15b
mov r15, qword [rsp + 0x180]
cmovne r12d, dword [rsp + 0x28]
test r12d, r12d
setne al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14011c9c0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140040652