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

Disassembly:
mov qword [rsp + 0x20], r9
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 + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x90], 0
jne 0x140007ab6
xor eax, eax
jmp 0x140007d1e
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140007acc
xor eax, eax
jmp 0x140007d1e
mov rax, qword [rsp + 0x48]
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 + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x140007b18
xor eax, eax
jmp 0x140007d1e
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140007b65
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
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 + 0x50]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x30], eax
jmp 0x140007b9a
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 0x140007bed
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 0x140007d19
mov eax, 0xffff
mov word [rsp + 0x20], ax
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x98], 0xffff
ja 0x140007c2c
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x20], ax
jmp 0x140007c7c
cmp qword [rsp + 0x98], 0xffff
jbe 0x140007c75
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x140007c75
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x20], ax
jmp 0x140007c7c
xor eax, eax
jmp 0x140007d1e
cmp qword [rsp + 0x98], 0xffff
ja 0x140007ca3
movzx eax, word [rsp + 0x98]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x140007cc7
cmp qword [rsp + 0x98], 0xffff
jbe 0x140007d14
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x140007d14
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
jb 0x140007d12
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
ja 0x140007d12
cmp qword [rsp + 0xa0], 0
jne 0x140007d12
xor eax, eax
jmp 0x140007d1e
jmp 0x140007d19
jmp 0x140007be3
mov rax, qword [rsp + 0x40]
add rsp, 0x88
ret