Function at 0x14005d6a0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x1400c5a08]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x660]
xor edi, edi
mov r12, qword [rbp + 0x688]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x668]
or r13, 0xffffffffffffffff
mov qword [rsp + 0x50], r8
mov r9, r8
mov qword [rbp - 0x50], rax
mov r15, rdx
mov qword [rsp + 0x58], rcx
mov r8, rcx
mov qword [rsp + 0x68], rdi
mov esi, edi
mov dword [rsp + 0x48], edi
mov r14d, edi
mov qword [rsp + 0x60], rdi
mov ebx, edi
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
test r12, r12
je 0x14005d73b
mov qword [r12], rdi
test r9, r9
je 0x14005da4c
mov ecx, dword [rdx + 8]
sub ecx, 1
je 0x14005d75d
cmp ecx, 1
jne 0x14005da4c
mov rcx, qword [rdx]
jmp 0x14005d7e1
cmp dword [rdx + 0x18], edi
jne 0x14005d7dd
mov rcx, r8
call fcn.1400593a8
mov r8, rax
lea rcx, [rbp - 0x30]
mov edx, 0x30c
call fcn.1400026c0
test eax, eax
jns 0x14005d787
movzx esi, ax
jmp 0x14005da86
lea rcx, [rbp - 0x30]
call fcn.1400582bc
test eax, eax
js 0x14005d77f
lea rcx, [rbp - 0x30]
call fcn.14005a378
mov qword [r15 + 0x20], rax
test rax, rax
jne 0x14005d7ae
lea esi, [rax + 0xe]
jmp 0x14005da86
mov rcx, qword [r15]
mov r8, rax
call fcn.14005dcfc
test eax, eax
jne 0x14005d7d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
jmp 0x14005da86
mov r9, qword [rsp + 0x50]
mov dword [r15 + 0x18], 1
mov rcx, qword [r15 + 0x20]
mov rdx, qword [r9 + 0x28]
call fcn.14002f064
mov r15, rax
mov r14, rax
test rax, rax
je 0x14005da47
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400579e8
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14005d828
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14005d7bd
lea esi, [rax + 0x1f]
jmp 0x14005da86
mov dword [rsp + 0x28], 0x48000000
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x20], 3
mov rcx, rax
call fcn.140059280
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14005d7bd
cmp dword [0x1400c99e8], edi
lea rdx, [rsp + 0x50]
mov rcx, rax
je 0x14005d86f
call fcn.1400531e8
jmp 0x14005d87b
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
test eax, eax
jne 0x14005d892
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
jmp 0x14005da6d
mov r10, qword [rsp + 0x58]
test r10, r10
je 0x14005db7b
mov r8, qword [r10 + 0x180]
mov rdx, qword [r10 + 0x188]
test r8, r8
je 0x14005db7b
test rdx, rdx
je 0x14005db7b
mov ecx, dword [0x1400c99fc]
xor r9d, r9d
mov rax, qword [0x1400c99f8]
mov dword [rbp - 0x7c], ecx
mov dword [rbp - 0x5c], ecx
mov rcx, r10
mov qword [rbp - 0x78], r8
lea r8, [rsp + 0x48]
mov qword [rbp - 0x58], rdx
lea rdx, [rsp + 0x60]
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x60], eax
mov qword [rsp + 0x20], rdi
call fcn.1400598b8
test eax, eax
je 0x14005db7b
cmp qword [rsp + 0x60], rdi
je 0x14005db7b
cmp dword [rsp + 0x48], edi
je 0x14005db7b
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14005da47
mov r14d, dword [rsp + 0x48]
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x14005d93d
cmp r14d, eax
cmova r14d, eax
mov rdx, qword [rsp + 0x60]
lea r9, [rsp + 0x70]
mov r8d, r14d
mov dword [rsp + 0x20], edi
mov rcx, r13
call fcn.1400590cc
test eax, eax
je 0x14005db65
mov eax, r14d
mov qword [rbp - 0x40], rax
cmp dword [rbp + 0x670], edi
je 0x14005d989
mov rcx, qword [rsp + 0x58]
add rbx, rax
mov rdx, rbx
call fcn.140053da0
test r12, r12
je 0x14005d986
add qword [r12], rbx
mov rbx, rdi
mov r8, qword [rsp + 0x60]
lea rax, [rbp - 0x70]
mov rdx, qword [rsp + 0x50]
mov r9d, r14d
mov rcx, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x48]
call qword [str.PN_t_]
mov r14d, eax
test eax, eax
js 0x14005db1a
mov rdx, qword [rbp - 0x40]
cmp dword [rbp + 0x670], edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea rax, [rdx + rbx]
mov qword [rbp - 0x70], rdi
cmove rax, rbx
mov qword [rbp - 0x68], rdi
mov rbx, rax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x7c]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x40]
add rax, rdx
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x40]
shr rax, 0x20
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x5c]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x40]
add rax, rdx
mov dword [rbp - 0x80], ecx
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x40]
shr rax, 0x20
mov dword [rbp - 0x5c], eax
mov rax, qword [rsp + 0x50]
sub rax, rdx
mov dword [rbp - 0x60], ecx
mov qword [rsp + 0x50], rax
jne 0x14005d926
mov r14, r15
mov r8, qword [rsp + 0x58]
cmp dword [rbp + 0x670], edi
je 0x14005da6d
test rbx, rbx
je 0x14005da6d
mov rdx, rbx
mov rcx, r8
call fcn.140053da0
test r12, r12
je 0x14005da6d
add qword [r12], rbx
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005da86
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14005dab0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test r14, r14
je 0x14005dad5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test esi, esi
je 0x14005dae9
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test esi, esi
sete dil
mov eax, edi
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.140094220
mov rbx, qword [rsp + 0x758]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, r14d
bt r14d, 0x1c
jae 0x14005db4d
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
cmp eax, 0x13d
jne 0x14005db3c
mov esi, r14d
jmp 0x14005db73
mov ecx, r14d
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
jmp 0x14005db71
and ecx, 0x1fff0000
movzx eax, r14w
cmp ecx, 0x70000
mov esi, r14d
cmove esi, eax
jmp 0x14005db73
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov r14, r15
jmp 0x14005da6d
mov esi, 0x139f
jmp 0x14005da6d