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

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xe8
mov ecx, dword [rsp + 0xf0]
call fcn.14000d230
cmp eax, 1
jne 0x14000dd33
xor eax, eax
jmp 0x14000e274
lea rdx, [rsp + 0x48]
lea rcx, [0x14008a1d0]
call fcn.140005ff0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000e272
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.14000d310
cmp eax, 1
jne 0x14000e267
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14000e267
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 0x14000e25c
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 0x14000e249
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 0x14000e249
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 0x14000e23e
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 [0x14008c070]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0xac], 0
jmp 0x14000df06
mov eax, dword [rsp + 0xac]
inc eax
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0xac], eax
jge 0x14000df60
mov r9, qword [rsp + 0x98]
lea r8, [0x14008c04c]
mov edx, 0x20
mov rcx, qword [rsp + 0x88]
call fcn.14000f2a0
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 0x14000def6
cmp dword [rsp + 0x90], 0
je 0x14000df8b
mov r9, qword [rsp + 0x98]
lea r8, [0x14008c04c]
mov edx, 0x20
mov rcx, qword [rsp + 0x88]
call fcn.14000f2a0
mov rcx, qword [rsp + 0x78]
call fcn.140013a80
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14000e23e
mov dx, 0x65
mov rcx, qword [rsp + 0xa0]
call fcn.140014310
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14000e1e9
mov edx, 0x3001c
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14000e1e9
mov edx, 0x3be8
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14000e1db
mov r8d, 0x3be8
lea rdx, [0x14008a1d0]
mov rcx, qword [rsp + 0xc0]
call fcn.140050270
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, reloc.WS2_32.dll_htonl
mov qword [rax + 0x30014], rcx
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0xb0]
cmp eax, 1
jne 0x14000e1cd
mov dword [rsp + 0xc8], 0
jmp 0x14000e10f
mov eax, dword [rsp + 0xc8]
inc eax
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0x14
jge 0x14000e1cd
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0xb04
lea rcx, reloc.WS2_32.dll_htonl
mov edx, dword [rsp + 0xf0]
cmp dword [rcx + rax], edx
jne 0x14000e1c8
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0xb04
lea rcx, reloc.WS2_32.dll_htonl
mov rdx, qword [rsp + 0xa0]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0xb04
lea rcx, reloc.WS2_32.dll_htonl
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 0x14000e274
jmp 0x14000e0ff
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 0x14000e23e
mov rcx, qword [rsp + 0xa0]
call fcn.140014430
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x14000e23e
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 0x14000e25c
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