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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov dword [rsp], 0
mov dword [rsp + 0xc], 0
js 0x180007d68
push rsi
nop
pop rsi
jns 0x180007d68
invalid
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180007d88
xor eax, eax
jmp 0x18000809c
ja 0x180007db4
nop
jbe 0x180007db4
invalid
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
push rax
add byte [r8], r8b
je 0x180007de1
xor eax, eax
jmp 0x18000809c
je 0x180007e0d
push rax
pop rax
jne 0x180007e0d
outsb dx, byte [rsi]
jge 0x180007dd4
outsb dx, byte [rsi]
sbb ecx, dword [rax + 0x48]
inc dword [rcx - 0x62]
cli
outsb dx, byte [rsi]
jge 0x180007e69
invalid
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
jne 0x180007e41
xor eax, eax
jmp 0x18000809c
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jb 0x180007e85
push rcx
push rcx
pop rcx
pop rcx
jae 0x180007e85
jno 0x180007ea4
out 0x41, eax
sbb esp, edi
sbb esp, r15d
sbb edi, edx
sbb eax, dword [rcx + 0x48]
mov dword [rcx + 0x6e], 0xff417dfa
mov dword [rcx - 0x19], 0x71c71b7d
std
jno 0x180007e64
invalid
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jae 0x180007ec9
push rsi
push rax
pop rax
pop rsi
jb 0x180007ec9
and al, 0x71
invalid
jno 0x180007ec6
sbb esi, dword [rcx + 0x71]
jmp rdi
out 0xfd, eax
mov rax, qword [rsp + 0x10]
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jg 0x180007f0d
jle 0x180007f0d
sbb esp, r15d
invalid
mov dword [rsp + 8], 0
jmp 0x180007f21
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 8], eax
jae 0x18000809a
mov qword [rsp + 0x18], 0
jb 0x180007f68
push rbp
push rcx
nop
pop rcx
pop rbp
jae 0x180007f68
std
out 0x63, eax
sahf
out 0x71, eax
out 0xfa, eax
call [rbx]
sbb edi, edi
sbb edi, dword [rbp - 0x19]
out 0x1f, eax
invalid
mov dword [rsp + 4], 0
jmp 0x180007f7c
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 4], eax
jae 0x18000801c
jl 0x180007fba
push rcx
nop
pop rcx
jge 0x180007fba
out 0x41, eax
invalid
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 8]
jne 0x180008017
jns 0x180007ff9
js 0x180007ff9
sahf
invalid
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
jmp 0x18000801c
jmp 0x180007f72
cmp qword [rsp + 0x18], 0
je 0x180008095
mov dword [rsp], 0
mov dword [rsp + 0xc], 0
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x18]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180008051
jmp 0x180008075
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x18000806b
mov dword [rsp + 0xc], 1
jmp 0x180008075
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
jmp 0x180008033
cmp dword [rsp + 0xc], 0
je 0x180008095
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
jmp 0x18000809c
jmp 0x180007f17
xor eax, eax
add rsp, 0x58
ret