Function at 0x14003e05c
Capabilities:
Encode data using xor
Hash data using fnv
Parse pe header

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r15, qword [rcx]
mov r14, qword [rcx + 0x10]
lea r13, [r15 + 0x100]
mov al, byte [r13]
mov byte [rbp + 0x40], al
mov r12, qword [rcx + 8]
lea rbx, [r12 + 0xe0]
mov qword [rbp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
nop
mov r8, qword [r12 + 0x110]
mov rdi, qword [r12 + 0x108]
xor esi, esi
jmp 0x14003e10d
lea rdx, [rdi + 0x30]
cmp qword [rdi + 0x48], 8
jb 0x14003e0ce
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14003e0d7
mov ecx, esi
jmp 0x14003e0fb
mov ecx, 0x811c9dc5
movzx eax, word [rdx]
test ax, ax
je 0x14003e0d3
movzx eax, ax
lea rdx, [rdx + 2]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, word [rdx]
test ax, ax
jne 0x14003e0e4
xor ecx, 0x4cec1bbc
cmp ecx, 0x552ef340
je 0x14003e112
add rdi, 0x58
cmp rdi, r8
jne 0x14003e0c0
cmp rdi, r8
jne 0x14003e13a
mov dword [r14], 0xd0001413
test rbx, rbx
je 0x14003e2f0
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
nop
mov qword [rbp + 0x48], rsi
jmp 0x14003e2f0
mov rsi, qword [r15 + 0xf8]
test rsi, rsi
jne 0x14003e236
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.140018ce0
nop
mov ecx, 0x5a4d
mov rax, qword [rbp - 0x10]
cmp word [rax], cx
jne 0x14003e2ad
movsxd rsi, dword [rax + 0x3c]
add rsi, rax
cmp dword [rsi], 0x4550
jne 0x14003e2ad
mov dword [rbp - 0x28], 0x7865742e
mov dword [rbp - 0x24], 0x74
xor eax, eax
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x28]
lea rdx, [0x14006f390]
cmp qword [0x14006f3a8], 0x10
cmovae rdx, qword [0x14006f390]
lea r9, [rbp - 0x28]
mov r8, qword [0x14006f3a0]
mov rcx, qword [rbp - 0x10]
call fcn.140010890
nop
xor ebx, ebx
test rax, rax
jne 0x14003e1f4
cmp qword [rbp - 0x10], rbx
je 0x14003e1eb
mov eax, dword [0x140071910]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.1400558a0
nop
mov qword [rbp - 0x10], rbx
mov rbx, qword [rbp + 0x48]
jmp 0x14003e2d5
mov eax, dword [rax + 2]
sub eax, dword [rsi + 0x34]
mov esi, eax
mov qword [r15 + 0xf8], rsi
cmp qword [rbp - 0x10], rbx
je 0x14003e229
mov eax, dword [0x140071910]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.1400558a0
nop
mov qword [rbp - 0x10], rbx
mov rbx, qword [rbp + 0x48]
test rsi, rsi
je 0x14003e2d5
mov rdx, qword [rdi]
add rdx, rsi
mov eax, dword [0x1400718dc]
mov dword gs:[0x68], eax
and qword [rsp + 0x20], 0
mov r15d, 1
mov r9d, r15d
mov r8, r13
mov rcx, qword [r12]
call fcn.1400558a0
nop
mov dword [r14], eax
mov rdx, qword [rdi]
add rdx, rsi
mov eax, dword [0x140071844]
mov dword gs:[0x68], eax
xor edi, edi
mov qword [rsp + 0x20], rdi
mov r9d, r15d
lea r8, [rbp + 0x40]
mov rcx, qword [r12]
call fcn.1400558a0
nop
mov dword [r14], edi
test rbx, rbx
je 0x14003e2f0
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
nop
mov qword [rbp + 0x48], rdi
jmp 0x14003e2f0
cmp qword [rbp - 0x10], 0
je 0x14003e2d5
mov eax, dword [0x140071910]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.1400558a0
nop
and qword [rbp - 0x10], 0
mov dword [r14], 0xc0000001
test rbx, rbx
je 0x14003e2f0
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
nop
and qword [rbp + 0x48], 0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret