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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
mov qword [rbp - 0x10], rcx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov rdx, qword gs:[0x60]
mov rcx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400013c6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400013c6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rbx + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
mov r8d, 0x84deab3a
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400013c1
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x1400013a0
cmp r8d, 0xbd4a2c44
je 0x1400013cb
test r9d, r9d
jne 0x140001380
mov rcx, qword [rcx]
jmp 0x140001350
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, 7
mov rcx, rsi
call r8
mov eax, dword [0x140014cb8]
mov dword [rbp - 0x1c], eax
movzx eax, word [0x140014cbc]
mov word [rbp - 0x18], ax
mov byte [rbp - 0x1c], 0xa
xor byte [rbp - 0x1b], 0x39
xor byte [rbp - 0x1a], 0x3a
xor byte [rbp - 0x19], 0x3b
xor al, 0x3c
mov byte [rbp - 0x18], al
xor byte [rbp - 0x17], 0x3d
lea rcx, [rbp - 0x1c]
call fcn.140001020
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400014c6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400014c6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rbx + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
mov r8d, 0x7807f36
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400014c1
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x1400014a0
cmp r8d, 0x72d58370
je 0x1400014cb
test r9d, r9d
jne 0x140001480
mov rcx, qword [rcx]
jmp 0x140001450
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, 1
mov rcx, rsi
call r8
movzx eax, word [0x140015fb8]
mov word [rbp - 0x20], ax
cmp byte [0x140015fb9], 0
je 0x14000150a
mov byte [rbp - 0x20], 0x2b
xor byte [rbp - 0x1f], 0x39
lea rcx, [rbp - 0x20]
call fcn.140001020
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400015b6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400015b6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rbx + r9*4]
mov eax, dword [rax + r10]
add rax, r10
mov r8d, 0x10850a8f
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x1400015b1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax]
lea rax, [rax + 1]
test dl, dl
jne 0x140001590
cmp r8d, 0x8de1968b
je 0x1400015bb
test r9d, r9d
jne 0x140001570
mov rcx, qword [rcx]
jmp 0x140001540
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, 7
mov rcx, rsi
call r8
movzx eax, word [0x140015ec4]
mov word [rbp - 0x14], ax
movzx eax, byte [0x140015ec6]
mov byte [rbp - 0x14], 0x5d
xor byte [rbp - 0x13], 0x39
xor al, 0x3a
mov byte [rbp - 0x12], al
lea rcx, [rbp - 0x14]
call fcn.140001020
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140001613
mov rcx, qword [r14]
call fcn.140001020
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14000164f
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14000164a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001682
mov rcx, r8
call fcn.140012e0c
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140012db0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3