Function at 0x140009ed0
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
push rdi
mov eax, 0x1940
call fcn.140261710
sub rsp, rax
mov rax, qword [0x1402ec080]
xor rax, rsp
mov qword [rsp + 0x1930], rax
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0xa8], 0
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x70]
call fcn.1402100b0
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc0], 0
movzx r8d, byte [rsp + 0x71]
lea rdx, str.c:windows_system32_ntdll.dll
lea rcx, [rsp + 0x118]
call fcn.1401d0fc0
mov rcx, rax
call fcn.1402376c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0xb0], rax
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
mov qword [rsp + 0xc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0xc8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000a00f
mov byte [rsp + 0x40], 1
jmp 0x14000a014
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x14000a030
mov ecx, 1
call fcn.1402688a8
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x72]
call fcn.14020b8f0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xd8], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0xa0]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x78], 0
jmp 0x14000a0ee
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x78], eax
jge 0x14000a15e
movzx r8d, byte [rsp + 0x73]
lea rdx, [0x14028a728]
lea rcx, [rsp + 0x110]
call fcn.1401d3170
mov rcx, rax
call fcn.1402373a0
mov rcx, qword [rsp + 0x80]
mov rdx, rax
call fcn.140268cc0
test eax, eax
jne 0x14000a148
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
jmp 0x14000a15e
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov qword [rsp + 0x80], rax
jmp 0x14000a0e4
mov eax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.140009ea0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.140009ea0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.140009ea0
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x88], 0
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x5f0
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 0
jmp 0x14000a217
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
cmp rax, 0x14
jae 0x14000a25e
mov dword [rsp + 0x4c], 0
jmp 0x14000a236
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x13
jge 0x14000a25c
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x4c
lea rax, [rsp + rax + 0x170]
movsxd rcx, dword [rsp + 0x4c]
mov dword [rax + rcx*4], 0x2188
jmp 0x14000a22c
jmp 0x14000a20d
lea rax, [rsp + 0x760]
mov rdi, rax
xor eax, eax
mov ecx, 0x5f0
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0
jmp 0x14000a286
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
cmp rax, 0x14
jae 0x14000a2cd
mov dword [rsp + 0x54], 0
jmp 0x14000a2a5
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x13
jge 0x14000a2cb
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x4c
lea rax, [rsp + rax + 0x760]
movsxd rcx, dword [rsp + 0x54]
mov dword [rax + rcx*4], 0x22cf
jmp 0x14000a29b
jmp 0x14000a27c
lea rax, [rsp + 0xd50]
mov rdi, rax
xor eax, eax
mov ecx, 0x5f0
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0
jmp 0x14000a2f5
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
cmp rax, 0x14
jae 0x14000a33c
mov dword [rsp + 0x58], 0
jmp 0x14000a314
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x13
jge 0x14000a33a
movsxd rax, dword [rsp + 0x44]
imul rax, rax, 0x4c
lea rax, [rsp + rax + 0xd50]
movsxd rcx, dword [rsp + 0x58]
mov dword [rax + rcx*4], 0x8f1
jmp 0x14000a30a
jmp 0x14000a2eb
lea rax, [rsp + 0x1340]
mov rdi, rax
xor eax, eax
mov ecx, 0x5f0
rep stosb byte [rdi], al
mov dword [rsp + 0x5c], 0
jmp 0x14000a364
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
movsxd rax, dword [rsp + 0x5c]
cmp rax, 0x14
jae 0x14000a3ab
mov dword [rsp + 0x60], 0
jmp 0x14000a383
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x13
jge 0x14000a3a9
movsxd rax, dword [rsp + 0x5c]
imul rax, rax, 0x4c
lea rax, [rsp + rax + 0x1340]
movsxd rcx, dword [rsp + 0x60]
mov dword [rax + rcx*4], 0x1081
jmp 0x14000a379
jmp 0x14000a35a
mov qword [rsp + 0x98], 0
jmp 0x14000a3cc
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x18]
cmp qword [rsp + 0x98], rax
jae 0x14000a4a6
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.140009ea0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rax + rcx*4 + 4]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0xf0]
mov rcx, rax
call fcn.140009ea0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x1950]
mov rcx, qword [rsp + 0x100]
call fcn.140268cc0
test eax, eax
jne 0x14000a4a1
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x1958]
call fcn.140286af0
mov dword [rsp + 0x88], 1
jmp 0x14000a3b9
mov dword [rsp + 0x138], 0x6159
mov dword [rsp + 0x13c], 0x3da3
mov dword [rsp + 0x140], 0xdb52
mov dword [rsp + 0x144], 0x906e
mov dword [rsp + 0x148], 0x181a1
mov dword [rsp + 0x14c], 0x102c7
mov dword [rsp + 0x150], 0x4423
mov dword [rsp + 0x154], 0x17a54
mov dword [rsp + 0x158], 0xca9d
mov dword [rsp + 0x15c], 0x10ccd
mov dword [rsp + 0x160], 0x14b29
mov dword [rsp + 0x164], 0xc969
mov dword [rsp + 0x64], 0
jmp 0x14000a53e
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
movsxd rax, dword [rsp + 0x64]
cmp rax, 0xc
jae 0x14000a55b
movsxd rax, dword [rsp + 0x64]
mov dword [rsp + rax*4 + 0x138], 0xe89
jmp 0x14000a534
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x1930]
xor rcx, rsp
call fcn.140261770
add rsp, 0x1940
pop rdi
ret