Function at 0x140001420
Capabilities:
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, str.c:windows_system32_ntdll.dll
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x88], rax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x98]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000150a
mov byte [rsp + 0x40], 1
jmp 0x14000150f
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x14000152b
mov ecx, 1
call fcn.1400a3810
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x54], 0
jmp 0x1400015b3
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x54], eax
jge 0x1400015f6
mov rax, qword [rsp + 0x58]
lea rdx, [0x1400cf4f0]
mov rcx, rax
call fcn.1400a3ac0
test eax, eax
jne 0x1400015e6
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
jmp 0x1400015f6
mov rax, qword [rsp + 0x58]
add rax, 0x28
mov qword [rsp + 0x58], rax
jmp 0x1400015a9
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.1400013f0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.1400013f0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.1400013f0
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
jmp 0x140001693
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x18]
cmp qword [rsp + 0x70], rax
jae 0x14000175e
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.1400013f0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rax + rcx*4 + 4]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call fcn.1400013f0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400a3ac0
test eax, eax
jne 0x140001759
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xf8]
call fcn.14009da40
mov dword [rsp + 0x60], 1
jmp 0x140001686
mov eax, dword [rsp + 0x60]
add rsp, 0xe8
ret