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

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xe8
mov ecx, dword [rsp + 0xf0]
call fcn.14000d220
cmp eax, 1
jne 0x14000dd23
xor eax, eax
jmp 0x14000e264
lea rdx, [rsp + 0x48]
lea rcx, [0x14003a1d0]
call fcn.140005fe0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000e262
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov ecx, dword [rsp + 0xf0]
call fcn.14000d300
cmp eax, 1
jne 0x14000e257
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14000e257
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..DLL
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
xor ecx, ecx
mov word [rax], cx
mov qword [rsp + 0x68], 0xffffffffffffffff
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x14000e24c
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0xffffffff
je 0x14000e239
mov eax, dword [rsp + 0x70]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000e239
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x80], eax
jne 0x14000e22e
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], 0xffffffffffffffff
xor edx, edx
mov eax, dword [rsp + 0x70]
mov ecx, 0x20
div ecx
mov dword [rsp + 0xa8], eax
xor edx, edx
mov eax, dword [rsp + 0x70]
mov ecx, 0x20
div ecx
mov eax, edx
mov dword [rsp + 0x90], eax
mov rax, qword [0x14003c070]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0xac], 0
jmp 0x14000def6
mov eax, dword [rsp + 0xac]
inc eax
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0xac], eax
jge 0x14000df50
mov r9, qword [rsp + 0x98]
lea r8, str.lJ
mov edx, 0x20
mov rcx, qword [rsp + 0x88]
call fcn.14000f290
mov rax, qword [rsp + 0x88]
add rax, 0x20
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
jmp 0x14000dee6
cmp dword [rsp + 0x90], 0
je 0x14000df7b
mov r9, qword [rsp + 0x98]
lea r8, str.lJ
mov edx, 0x20
mov rcx, qword [rsp + 0x88]
call fcn.14000f290
mov rcx, qword [rsp + 0x78]
call fcn.1400125a0
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14000e22e
mov dx, 0x65
mov rcx, qword [rsp + 0xa0]
call fcn.140012e30
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14000e1d9
mov edx, 0x3001c
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14000e1d9
mov edx, 0x3be8
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14000e1cb
mov r8d, 0x3be8
lea rdx, [0x14003a1d0]
mov rcx, qword [rsp + 0xc0]
call fcn.14001a730
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0xb8]
add rax, 0x10000
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0xb8]
add rax, 0x20000
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x30000], rcx
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x30008], ecx
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x3000c], rcx
mov rax, qword [rsp + 0xb8]
lea rcx, [0x14002c280]
mov qword [rax + 0x30014], rcx
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0xb0]
cmp eax, 1
jne 0x14000e1bd
mov dword [rsp + 0xc8], 0
jmp 0x14000e0ff
mov eax, dword [rsp + 0xc8]
inc eax
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0x14
jge 0x14000e1bd
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0xb04
lea rcx, [0x14002c280]
mov edx, dword [rsp + 0xf0]
cmp dword [rcx + rax], edx
jne 0x14000e1b8
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0xb04
lea rcx, [0x14002c280]
mov rdx, qword [rsp + 0xa0]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0xb04
lea rcx, [0x14002c280]
mov dword [rcx + rax + 0x10], 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0xa0]
jmp 0x14000e264
jmp 0x14000e0ef
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0xa0], 0
je 0x14000e22e
mov rcx, qword [rsp + 0xa0]
call fcn.140012f50
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x14000e22e
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [rsp + 0xd0]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x14000e24c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0xe8
ret