Function at 0x1400247f0
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 0x140024856
xor eax, eax
jmp 0x140024abe
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002486c
xor eax, eax
jmp 0x140024abe
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 0x1400248b8
xor eax, eax
jmp 0x140024abe
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140024905
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 0x14002493a
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 0x14002498d
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 0x140024ab9
mov eax, 0xffff
mov word [rsp + 0x20], ax
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x98], 0xffff
ja 0x1400249cc
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x20], ax
jmp 0x140024a1c
cmp qword [rsp + 0x98], 0xffff
jbe 0x140024a15
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x140024a15
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 0x140024a1c
xor eax, eax
jmp 0x140024abe
cmp qword [rsp + 0x98], 0xffff
ja 0x140024a43
movzx eax, word [rsp + 0x98]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x140024a67
cmp qword [rsp + 0x98], 0xffff
jbe 0x140024ab4
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call fcn.140040da0
test eax, eax
jne 0x140024ab4
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 0x140024ab2
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
ja 0x140024ab2
cmp qword [rsp + 0xa0], 0
jne 0x140024ab2
xor eax, eax
jmp 0x140024abe
jmp 0x140024ab9
jmp 0x140024983
mov rax, qword [rsp + 0x40]
add rsp, 0x88
ret