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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push r15
sub rsp, 0x58
mov rsi, qword [rdx + 0x208]
mov eax, 0x5a4d
mov r15, r8
mov dword [r8], 0
cmp ax, word [rsi]
je 0x140001c26
xor eax, eax
add rsp, 0x58
pop r15
pop rsi
ret
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x140001c1c
cmp dword [rax + rsi + 0x84], 0
jbe 0x140001c1c
mov ecx, dword [rax + rsi + 0x88]
mov qword [rsp + 0x30], r13
mov r13d, dword [rcx + rsi + 0x14]
mov dword [rsp + 0x70], r13d
cmp r13d, 1
jb 0x140001c61
mov eax, dword [rcx + rsi + 0x1c]
test eax, eax
jne 0x140001c70
xor eax, eax
mov r13, qword [rsp + 0x30]
add rsp, 0x58
pop r15
pop rsi
ret
mov qword [rsp + 0x48], rbp
lea rbp, [rsi + rax]
mov eax, dword [rcx + rsi + 0x20]
test eax, eax
jne 0x140001c95
mov rbp, qword [rsp + 0x48]
xor eax, eax
mov r13, qword [rsp + 0x30]
add rsp, 0x58
pop r15
pop rsi
ret
lea ecx, [r13 + 1]
mov qword [rsp + 0x50], rbx
imul rdx, rcx, 0x88
xor ecx, ecx
mov qword [rsp + 0x38], r12
mov r8d, 0x3000
lea r12, [rsi + rax]
lea r9d, [rcx + 4]
call qword [0x1400761a8]
mov qword [rsp + 0x88], rax
mov rbx, rax
test rax, rax
je 0x140001e98
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x28], r14
test r13d, r13d
je 0x140001d9d
mov rdi, rbx
mov qword [rsp + 0x80], r13
mov r13, qword [rsp + 0x78]
add rbx, 8
sub rbp, r12
mov r14, r12
mov eax, dword [r14 + rbp]
add rax, rsi
mov qword [rdi], rax
mov byte [rdi + 8], 0
test r12, r12
je 0x140001d3e
mov eax, dword [r14]
test eax, eax
je 0x140001d3e
lea r8, [rsi + rax]
cmp r8, qword [r13 + 0x208]
jb 0x140001d3e
cmp r8, qword [r13 + 0x210]
ja 0x140001d3e
mov edx, 0x7f
mov rcx, rbx
call fcn.14002da84
cmp byte [rdi + 8], 0
jne 0x140001d5b
mov r9, qword [rdi]
lea r8, str.func_0x_.16I64X
mov edx, 0x7f
mov rcx, rbx
call fcn.140001b80
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140001d60
add eax, 9
add rbx, 0x88
add dword [r15], eax
add r14, 4
add rdi, 0x88
sub qword [rsp + 0x80], 1
jne 0x140001d01
mov r13d, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
lea r9, [0x140001be0]
mov edx, r13d
mov r8d, 0x88
mov ebp, r13d
mov rcx, rbx
call fcn.14002d750
add dword [r15], 9
mov r8d, 0x3000
mov edx, dword [r15]
mov r12, qword [rsp + 0x78]
imul rcx, rbp, 0x88
mov rax, qword [r12 + 0x210]
inc edx
mov qword [rcx + rbx], rax
mov byte [rcx + rbx + 8], 0
xor ecx, ecx
lea r9d, [rcx + 4]
call qword [0x1400761a8]
mov r15, rax
test rax, rax
jne 0x140001e10
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [0x1400761a0]
xor eax, eax
jmp 0x140001e8e
mov rsi, r15
test r13d, r13d
je 0x140001e6e
mov r14, rbx
lea rdi, [rbx + 8]
nop
mov rax, qword [r14]
or rbx, 0xffffffffffffffff
mov qword [rsi], rax
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001e30
lea rcx, [rsi + 9]
mov byte [rsi + 8], bl
mov r8, rbx
mov rdx, rdi
call fcn.140020c40
add rsi, 9
add rdi, 0x88
add rsi, rbx
add r14, 0x88
sub rbp, 1
jne 0x140001e20
mov rbx, qword [rsp + 0x88]
xor edx, edx
mov qword [r12 + 0x218], 0
mov r8d, 0x8000
mov rcx, rbx
call qword [0x1400761a0]
mov rax, r15
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x30]
add rsp, 0x58
pop r15
pop rsi
ret