Function at 0x140004290
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r12, rdx
mov qword [rsp + 0x28], rdx
xor r14d, r14d
mov rax, qword [0x14000c360]
test rax, rax
jne 0x140004396
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rbx, rsi
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004377
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004377
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
mov edx, 0x65d519ea
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140004372
nop dword [rax]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
lea rax, [rax + 1]
test cl, cl
jne 0x140004350
cmp edx, 0x2d024768
je 0x1400044f3
test r8d, r8d
jne 0x140004330
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x14000438c
cmp qword [rax + 0x30], r14
jne 0x140004300
mov rax, r14
mov qword [0x14000c360], rax
mov r8d, 0x104
lea rdx, [rbp + 0x110]
xor ecx, ecx
call rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
lea rcx, [rbp - 0x70]
call fcn.140002bf0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0x110]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140004400
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.1400018f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0x110]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140004440
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.1400018f0
nop
lea rbx, [rsp + 0x30]
mov r14, qword [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rbx, r14
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x140004571
mov r13d, pe_nt_image_headers64
mov r8d, r13d
xor edx, edx
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140008558]
lea rdx, [0x14000855a]
movzx eax, word [rcx]
cmp ax, r13w
jae 0x140004511
movzx eax, al
mov byte [rbp + rax + 0x10], 1
add rcx, 2
cmp rcx, rdx
jne 0x1400044a1
lea rcx, [rsi - 1]
mov rax, rdi
cmp rcx, rdi
cmovb rax, rcx
lea rdx, [rbx + rax*2]
nop dword [rax]
movzx eax, word [rdx]
cmp ax, r13w
jae 0x1400044e4
cmp byte [rbp + rax + 0x10], 0
jne 0x140004569
cmp rdx, rbx
je 0x140004571
sub rdx, 2
jmp 0x1400044d0
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
jmp 0x14000438f
lea rcx, [rsi - 1]
mov rax, rdi
cmp rcx, rdi
cmovb rax, rcx
lea rdx, [rbx + rax*2]
mov r9d, 0x5c
nop dword [rax]
mov ecx, 1
movzx r8d, word [rdx]
lea rax, [0x140008558]
cmp r9w, r8w
je 0x140004569
cmp rcx, 1
je 0x14000455e
dec rcx
add rax, 2
cmp word [rax], r8w
jne 0x140004546
test rax, rax
jne 0x140004569
cmp rdx, rbx
je 0x140004571
sub rdx, 2
jmp 0x140004530
sub rdx, rbx
sar rdx, 1
jmp 0x140004574
mov rdx, rdi
inc rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
cmp rsi, rdx
jb 0x14000478f
sub rsi, rdx
cmp rsi, 0xffffffffffffffff
cmovb rdi, rsi
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rax, r14
lea rdx, [rax + rdx*2]
mov r8, rdi
lea rcx, [rsp + 0x50]
call fcn.1400018f0
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
lea r9, [r8 + rax*2]
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.140005f90
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140004629
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004624
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004624
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400065b0
movdqa xmm0, xmmword [0x140008a20]
movdqu xmmword [rsp + 0x60], xmm0
xor ebx, ebx
mov word [rsp + 0x50], bx
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004683
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000467e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000467e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400065b0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400046db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400065b0
nop
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x30]
call fcn.140003220
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000472d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400065b0
movdqa xmm0, xmmword [0x140008a30]
movdqa xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140004761
mov r8, qword [rcx]
call qword [r8 + 0x10]
test rax, rax
je 0x140004761
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, r12
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1400066d0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1400032b0
nop
int3