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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400090ed]
call fcn.140001000
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140002910
xor eax, eax
jmp 0x140002b22
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x140002940
xor eax, eax
jmp 0x140002b22
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140002962
mov rax, qword [rsp + 0x40]
add rax, 0x88
mov qword [rsp + 0x58], rax
jmp 0x140002970
mov rax, qword [rsp + 0x40]
add rax, 0x78
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x2c], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 4]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
dec eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jl 0x140002aba
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
sar eax, 1
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x98]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140002a84
inc rcx
test dl, dl
jne 0x140002a71
xor eax, eax
jmp 0x140002a89
sbb eax, eax
or eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x140002aa0
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x140002ab5
cmp dword [rsp + 0x34], 0
jle 0x140002ab3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140002ab5
jmp 0x140002aba
jmp 0x140002a2b
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jl 0x140002ad2
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jl 0x140002ad6
xor eax, eax
jmp 0x140002b22
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x30], eax
jb 0x140002b10
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x30], eax
jae 0x140002b10
xor eax, eax
jmp 0x140002b22
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
add rsp, 0x88
ret