Function at 0x140032b40
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 [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
xor edi, edi
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
lea r15, [0x140088e00]
cmp rcx, r14
je 0x140032b9e
test byte [rcx + 0x1c], 4
je 0x140032b9e
cmp byte [rcx + 0x19], 5
jb 0x140032b9e
mov rcx, qword [rcx + 0x10]
mov edx, 0x98
mov r8, r15
call fcn.140001024
mov rsi, qword [rsi + 0x28]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov r8d, 1
mov dword [rsp + 0x20], 3
mov rax, qword [rsi + 0x450]
mov rcx, qword [rax + 0x48]
call fcn.140069bbc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140032c3e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140032c2f
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x140032c2d
test byte [rax + 0x1c], 4
je 0x140032c2d
cmp byte [rax + 0x19], 2
jb 0x140032c2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x99
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor edi, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, [rsi + 0x38]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
test eax, eax
jne 0x140032c9e
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x140032c96
test byte [rax + 0x1c], 4
je 0x140032c96
cmp byte [rax + 0x19], 2
jb 0x140032c96
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x9a
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [rsp + 0x48]
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 [0x14009f398]
lock inc dword [rax + 0x18]
mov rax, qword [0x14009f398]
lock inc dword [rax + 0x30]
mov rcx, qword [0x14009f398]
mov eax, dword [rsi + 0x490]
lock xadd dword [rcx + 0x1c], eax
mov rcx, qword [0x14009f398]
mov eax, dword [rsi + 0x490]
lock xadd dword [rcx + 0x34], eax
lea rcx, [0x14009f358]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r10, qword [0x14009f398]
mov r9d, 0x88888889
mov ecx, dword [0x14009f3a0]
mov eax, r9d
mov r8d, dword [0x14009f38c]
add ecx, ebx
mul ecx
add dword [r10 + 0x2c], edi
lea r11, [r10 + 0x20]
shr edx, 5
add r8d, ebx
mov eax, r9d
mov dword [r11], edx
mul r8d
mov dword [0x14009f38c], r8d
lea rax, [r10 + 0x1c]
shr edx, 5
lea r8, [r10 + 0x14]
add dword [r8], edi
lea r9, [r10 + 0x18]
mov dword [r10 + 0x38], edx
lea rdx, [r10 + 0x28]
mov dword [0x14009f3a0], ecx
lea rcx, [r10 + 0x24]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
call fcn.14007d53c
test eax, eax
je 0x140032db9
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x140032db9
test byte [rax + 0x1c], 4
je 0x140032db9
cmp byte [rax + 0x19], 2
jb 0x140032db9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x9b
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov rcx, qword [0x14009f398]
lea r9, [rcx + 0x34]
lea r8, [rcx + 0x38]
lea rdx, [rcx + 0x30]
add rcx, 0x2c
call fcn.14007d0a0
test eax, eax
je 0x140032e18
mov rdx, qword [0x14009b028]
cmp rdx, r14
je 0x140032e18
test byte [rdx + 0x1c], 4
je 0x140032e18
cmp byte [rdx + 0x19], 2
jb 0x140032e18
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x9c
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001050
lea rcx, [0x14009f358]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret