Function at 0x14003ec34
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
xor edi, edi
mov rcx, qword [str.___t_]
lea r14, str.___t_
lea r15, [0x140003110]
cmp rcx, r14
je 0x14003ec92
test byte [rcx + 0x1c], 4
je 0x14003ec92
cmp byte [rcx + 0x19], 5
jb 0x14003ec92
mov rcx, qword [rcx + 0x10]
mov edx, 0x98
mov r8, r15
call fcn.14000e618
mov rsi, qword [rsi + 0x28]
mov edx, 0x80000000
mov r8d, 1
mov rax, qword [rsi + 0x450]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov rcx, qword [rax + 0x48]
call fcn.140074d38
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003ed20
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14003ed17
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003ed15
test byte [rax + 0x1c], 4
je 0x14003ed15
cmp byte [rax + 0x19], 2
jb 0x14003ed15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x99
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
xor edi, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsi + 0x38]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x14003ed7a
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003ed6c
test byte [rax + 0x1c], 4
je 0x14003ed6c
cmp byte [rax + 0x19], 2
jb 0x14003ed6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x9a
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
jmp 0x14003ed7f
mov rax, qword [rsp + 0x48]
movzx eax, ax
imul ecx, eax, 0x3c
movzx eax, word [rsp + 0x4a]
add ecx, eax
movzx eax, word [rsp + 0x4c]
imul ebx, ecx, 0x3c
add ebx, eax
mov rax, qword [0x14009a3c8]
lock inc dword [rax + 0x18]
mov rax, qword [0x14009a3c8]
lock inc dword [rax + 0x30]
mov rcx, qword [0x14009a3c8]
mov eax, dword [rsi + 0x490]
lock xadd dword [rcx + 0x1c], eax
mov rcx, qword [0x14009a3c8]
mov eax, dword [rsi + 0x490]
lock xadd dword [rcx + 0x34], eax
lea rcx, [0x14009a388]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r10, qword [0x14009a3c8]
mov ecx, dword [0x14009a3d0]
mov r8d, dword [0x14009a3bc]
add dword [r10 + 0x2c], edi
add ecx, ebx
add r8d, ebx
mov r9d, 0x88888889
lea r11, [r10 + 0x20]
mov eax, r9d
mov dword [0x14009a3bc], r8d
mov dword [0x14009a3d0], ecx
mul ecx
shr edx, 5
mov eax, r9d
mov dword [r11], edx
lea r9, [r10 + 0x18]
lea rcx, [r10 + 0x24]
mul r8d
shr edx, 5
lea r8, [r10 + 0x14]
lea rax, [r10 + 0x1c]
add dword [r8], edi
mov dword [r10 + 0x38], edx
mov qword [rsp + 0x28], rax
lea rdx, [r10 + 0x28]
mov qword [rsp + 0x20], r11
call fcn.1400876b0
test eax, eax
je 0x14003ee8c
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003ee8c
test byte [rax + 0x1c], 4
je 0x14003ee8c
cmp byte [rax + 0x19], 2
jb 0x14003ee8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x9b
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
mov rcx, qword [0x14009a3c8]
lea r9, [rcx + 0x34]
lea r8, [rcx + 0x38]
lea rdx, [rcx + 0x30]
add rcx, 0x2c
call fcn.140087280
test eax, eax
je 0x14003eee5
mov rdx, qword [str.___t_]
cmp rdx, r14
je 0x14003eee5
test byte [rdx + 0x1c], 4
je 0x14003eee5
cmp byte [rdx + 0x19], 2
jb 0x14003eee5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x9c
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
lea rcx, [0x14009a388]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret