Function at 0x140005eb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x90], 0
jne 0x140005f11
xor eax, eax
jmp 0x140006145
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140005f27
xor eax, eax
jmp 0x140006145
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x140005f73
xor eax, eax
jmp 0x140006145
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140005fc0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x30], eax
jmp 0x140005ff5
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x78]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x7c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x24], 0
jmp 0x140006048
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jae 0x140006140
mov eax, 0xffff
mov word [rsp + 0x20], ax
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x98], 0xffff
ja 0x140006087
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x20], ax
jmp 0x1400060d4
cmp qword [rsp + 0x98], 0xffff
jbe 0x1400060d0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x1400060d0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x20], ax
jmp 0x1400060d4
xor eax, eax
jmp 0x140006145
cmp qword [rsp + 0x98], 0xffff
ja 0x1400060fb
movzx eax, word [rsp + 0x98]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x14000611f
cmp qword [rsp + 0x98], 0xffff
jbe 0x14000613b
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x14000613b
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
jmp 0x140006140
jmp 0x14000603e
mov rax, qword [rsp + 0x58]
add rsp, 0x88
ret