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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, rdx
mov rbp, rcx
call fcn.140025d04
mov rdi, qword [r13 + 0x208]
mov eax, 0x5a4d
cmp ax, word [rdi]
jne 0x1400266b7
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x1400266b7
cmp dword [rax + rdi + 0x84], 0
jbe 0x1400266b7
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
mov r14d, dword [rsi + 0x14]
cmp r14d, 1
jb 0x1400266b7
cmp dword [rsi + 0x1c], 0
je 0x1400266b7
mov eax, dword [rsi + 0x20]
mov r12d, dword [rsi + 0x1c]
add r12, rdi
lea r15, [rdi + rax]
test eax, eax
je 0x1400266b7
lea ecx, [r14 + 1]
mov r8d, 0x3000
imul rdx, rcx, 0x88
xor ecx, ecx
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1400266b7
and qword [rbp + 0x48], 0
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x78], r8d
mov rcx, r15
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x20], rcx
sub r12, r15
mov rdx, rax
mov qword [rsp + 0x88], rax
mov eax, dword [r12 + rcx]
add rax, rdi
mov qword [rdx], rax
mov byte [rdx + 8], 0
cmp r8d, dword [rsi + 0x18]
jae 0x1400265a4
test r15, r15
je 0x1400265a4
cmp dword [rcx], 0
je 0x1400265a4
mov r8d, dword [rcx]
add r8, rdi
cmp r8, qword [r13 + 0x208]
jbe 0x1400265a4
cmp r8, qword [r13 + 0x210]
jae 0x1400265a4
imul rcx, r9, 0x88
or r9, 0xffffffffffffffff
mov edx, 0x7f
add rcx, 8
add rcx, rbx
call fcn.14003ff6c
mov rdx, qword [rsp + 0x88]
mov r9, qword [rsp + 0x80]
cmp byte [rdx + 8], 0
jne 0x1400265dc
imul rcx, r9, 0x88
mov r9, qword [rdx]
lea r8, str.func_0x_.16I64X
add rcx, 8
mov edx, 0x7f
add rcx, rbx
call fcn.140026768
mov rdx, qword [rsp + 0x88]
mov r9, qword [rsp + 0x80]
imul rcx, r9, 0x88
add rcx, rbx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax + 8], 0
jne 0x1400265ea
mov r8d, dword [rsp + 0x78]
inc r9
mov rcx, qword [rsp + 0x20]
inc r8d
add rcx, 4
mov eax, eax
add rax, 9
mov dword [rsp + 0x78], r8d
add qword [rbp + 0x48], rax
add rdx, 0x88
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x88], rdx
cmp r8d, r14d
jb 0x140026542
cmp r14d, 1
jbe 0x14002665a
mov rdx, r14
lea r9, [0x140026760]
mov r8d, 0x88
mov rcx, rbx
call fcn.140041f00
mov rax, qword [r13 + 0x210]
mov r8d, 0x3000
imul rcx, r14, 0x88
mov r15, r14
mov qword [rcx + rbx], rax
mov byte [rcx + rbx + 8], 0
xor ecx, ecx
add qword [rbp + 0x48], 9
mov rdx, qword [rbp + 0x48]
inc rdx
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x40], rax
mov rsi, rax
test rax, rax
jne 0x1400266ce
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call fcn.140025d04
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r14, rbx
lea rbp, [rbx + 8]
mov r12d, 0x88
mov rax, qword [r14]
or rdi, 0xffffffffffffffff
mov qword [rsi], rax
inc rdi
cmp byte [rdi + rbp], 0
jne 0x1400266e5
lea rcx, [rsi + 9]
mov byte [rsi + 8], dil
mov r8, rdi
mov rdx, rbp
call fcn.14014dae0
add rsi, 9
add rbp, r12
add rsi, rdi
add r14, r12
sub r15, 1
jne 0x1400266db
and qword [r13 + 0x218], r15
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea eax, [r15 + 1]
jmp 0x1400266b9