Function at 0x1400e0d38
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x450
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r15, rdx
mov r13, rcx
xor edi, edi
xor ebx, ebx
call fcn.1400e1fec
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400e8c08
nop
call fcn.1400e1ffc
mov rsi, rax
mov rcx, rax
call fcn.1400e96e0
lea rcx, [rsp + 0x60]
test al, al
je 0x1400e0e5a
mov rdx, r15
call fcn.1400e8f3c
lea rcx, [rsp + 0x60]
call fcn.140096040
mov rcx, rax
and qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e0e01
lea rcx, [rsp + 0x60]
call fcn.1400e8d74
jmp 0x1400e0fc2
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test eax, eax
je 0x1400e0df2
and dword [rsp + 0x40], 0
mov ecx, ebx
call fcn.140138904
mov rdi, rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], ebx
je 0x1400e0faf
mov rcx, rdi
call fcn.140138344
xor edi, edi
jmp 0x1400e0df2
mov rdx, rsi
call fcn.1400e8f14
call fcn.1400e2330
test al, al
je 0x1400e0e75
call fcn.1400e2004
mov rsi, rax
jmp 0x1400e0ed5
call fcn.1400e200c
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400e8c08
nop
lea rcx, [rbp + 0x80]
call fcn.140096040
mov rcx, rax
xor edx, edx
call fcn.1400e7874
mov r14, rax
lea rcx, [rsp + 0x60]
call fcn.140096040
mov rcx, rax
mov rdx, r14
call fcn.1400dbfdc
mov rsi, rax
test r14, r14
je 0x1400e0ec9
mov rcx, r14
call fcn.140138344
nop
lea rcx, [rbp + 0x80]
call fcn.1400e8d74
test rsi, rsi
je 0x1400e0df2
and dword [rsp + 0x44], 0
or r8d, 0xffffffff
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.1400e8c38
nop
lea r8, [0x14018ca1c]
lea rdx, [0x14018c358]
lea rcx, [rbp - 0x10]
call fcn.1400e990c
lea rcx, [rbp - 0x10]
call fcn.140096040
mov rdx, rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
mov r8b, 1
mov rcx, rsi
call fcn.1400db98c
test eax, eax
je 0x1400e0f45
lea rcx, [rbp - 0x10]
call fcn.1400e8d74
jmp 0x1400e0df2
mov ebx, dword [rbp + 0x33c]
test ebx, ebx
je 0x1400e0f37
mov ecx, ebx
call fcn.140138904
mov rdi, rax
mov r9d, ebx
mov r8, rax
mov edx, dword [rsp + 0x44]
mov rcx, rsi
call fcn.1400dc4d8
test eax, eax
je 0x1400e0f93
cmp eax, 0x600
je 0x1400e0f93
mov rcx, rdi
call fcn.140138344
xor edi, edi
call fcn.1400e2330
test al, al
jne 0x1400e0f37
mov rcx, rsi
call fcn.1400db6cc
jmp 0x1400e0f37
call fcn.1400e2330
test al, al
jne 0x1400e0fa5
mov rcx, rsi
call fcn.1400db6cc
nop
lea rcx, [rbp - 0x10]
call fcn.1400e8d74
nop
lea rcx, [rsp + 0x60]
call fcn.1400e8d74
test rdi, rdi
jne 0x1400e1049
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400e1049
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test eax, eax
je 0x1400e1049
and dword [rsp + 0x48], 0
mov ecx, ebx
call fcn.140138904
mov rdi, rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x48], ebx
je 0x1400e1049
mov rcx, rdi
call fcn.140138344
xor edi, edi
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_AddFontMemResourceEx]
mov rbx, rax
mov rcx, rdi
call fcn.140138344
lea rcx, [r13 + 0x5c0]
mov rdx, rbx
call fcn.1400e8f80
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140138320
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret