Function at 0x14005a4bc
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0xc0
mov rax, qword [rbp + 0xaf]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r13, rcx
xor ecx, ecx
mov r15, rdx
mov qword [rbp - 0x49], rcx
mov r12d, ecx
mov qword [rbp + 0x77], rcx
mov dword [rbp + 0x5f], ecx
mov qword [rbp + 0x4f], rcx
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 0x41], xmm1
movups xmmword [rbp - 0x31], xmm1
test rax, rax
je 0x14005a520
mov qword [rax], rcx
or rbx, 0xffffffffffffffff
test r15, r15
je 0x14005a52e
mov rsi, qword [rdx]
jmp 0x14005a531
mov rsi, rbx
mov r14, qword [rbp + 0x67]
test r14, r14
je 0x14005a53f
mov rdi, qword [r14]
jmp 0x14005a542
mov rdi, rbx
mov qword [rbp + 0x57], rdi
cmp rsi, rbx
jne 0x14005a57e
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov dword [rsp + 0x28], ecx
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, rbx
je 0x14005a5ac
xor ecx, ecx
cmp qword [rbp + 0x97], rbx
jne 0x14005a5ac
cmp dword [0x1400c99e8], ecx
lea rdx, [rbp + 0x97]
mov rcx, rsi
je 0x14005a5a0
call fcn.1400531e8
jmp 0x14005a5ac
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
mov ebx, 1
cmp rdi, 0xffffffffffffffff
jne 0x14005a5ed
mov r9d, dword [rbp + 0x7f]
lea rax, [rbp + 0x57]
mov rdx, qword [rbp + 0x6f]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rcx, r13
lea rax, [rbp + 0x97]
mov qword [rsp + 0x28], rax
call fcn.14005bdf4
mov rdi, qword [rbp + 0x57]
mov ebx, eax
test eax, eax
je 0x14005a6f6
test r13, r13
je 0x14005a60c
mov rdx, qword [r13 + 0x180]
mov rcx, qword [r13 + 0x188]
test rdx, rdx
je 0x14005a614
test rcx, rcx
jne 0x14005a616
jmp 0x14005a614
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp - 0x49]
xor ebx, ebx
test ebx, ebx
je 0x14005a6f6
mov eax, dword [rbp + 0x87]
lea r8, [rbp + 0x5f]
and qword [rsp + 0x20], r12
xor r9d, r9d
mov dword [rbp - 0x11], eax
mov eax, dword [rbp + 0x8b]
mov dword [rbp - 0xd], eax
mov eax, dword [rbp + 0x8f]
mov dword [rbp - 0x31], eax
mov eax, dword [rbp + 0x93]
mov qword [rbp - 9], rdx
lea rdx, [rbp + 0x4f]
mov qword [rbp - 0x29], rcx
mov rcx, r13
mov dword [rbp - 0x2d], eax
call fcn.1400598b8
mov edx, dword [rbp + 0x5f]
mov rcx, qword [rbp + 0x4f]
test eax, eax
je 0x14005a676
test rcx, rcx
je 0x14005a676
test edx, edx
jne 0x14005a678
xor ebx, ebx
test ebx, ebx
je 0x14005a6f6
xor ebx, ebx
test rcx, rcx
je 0x14005a6f6
cmp rsi, 0xffffffffffffffff
je 0x14005a6f6
cmp rdi, 0xffffffffffffffff
je 0x14005a6f6
mov rax, qword [rbp + 0xaf]
lea r8, [rbp - 0x21]
mov qword [rsp + 0x60], rax
mov r9, rdi
mov eax, dword [rbp + 0xa7]
mov dword [rsp + 0x58], eax
mov rax, qword [rbp + 0x9f]
mov qword [rsp + 0x50], rax
and qword [rsp + 0x48], rbx
and qword [rsp + 0x40], rbx
mov rax, qword [rbp + 0x97]
mov dword [rsp + 0x38], edx
mov rdx, rsi
mov qword [rsp + 0x30], rcx
mov rcx, r13
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
call fcn.14005bb2c
test eax, eax
je 0x14005a6f6
mov ebx, 1
jmp 0x14005a709
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r12d, eax
test ebx, ebx
je 0x14005a713
test r15, r15
je 0x14005a713
mov qword [r15], rsi
jmp 0x14005a733
cmp rsi, 0xffffffffffffffff
je 0x14005a733
test r15, r15
je 0x14005a724
cmp qword [r15], 0xffffffffffffffff
jne 0x14005a733
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
je 0x14005a741
test r14, r14
je 0x14005a741
mov qword [r14], rdi
jmp 0x14005a761
cmp rdi, 0xffffffffffffffff
je 0x14005a761
test r14, r14
je 0x14005a752
cmp qword [r14], 0xffffffffffffffff
jne 0x14005a761
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r12d, r12d
je 0x14005a775
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret