Function at 0x14001f2f0
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 0x14001f354
mov qword [rax], rcx
or rbx, 0xffffffffffffffff
test r15, r15
je 0x14001f362
mov rsi, qword [rdx]
jmp 0x14001f365
mov rsi, rbx
mov r14, qword [rbp + 0x67]
test r14, r14
je 0x14001f373
mov rdi, qword [r14]
jmp 0x14001f376
mov rdi, rbx
mov qword [rbp + 0x57], rdi
cmp rsi, rbx
jne 0x14001f3b2
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 0x14001f3e0
xor ecx, ecx
cmp qword [rbp + 0x97], rbx
jne 0x14001f3e0
cmp dword [0x14007ba38], ecx
lea rdx, [rbp + 0x97]
mov rcx, rsi
je 0x14001f3d4
call fcn.14000d9b8
jmp 0x14001f3e0
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
mov ebx, 1
cmp rdi, 0xffffffffffffffff
jne 0x14001f421
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.140020f78
mov rdi, qword [rbp + 0x57]
mov ebx, eax
test eax, eax
je 0x14001f52a
test r13, r13
je 0x14001f440
mov rdx, qword [r13 + 0x180]
mov rcx, qword [r13 + 0x188]
test rdx, rdx
je 0x14001f448
test rcx, rcx
jne 0x14001f44a
jmp 0x14001f448
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp - 0x49]
xor ebx, ebx
test ebx, ebx
je 0x14001f52a
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.140007b84
mov edx, dword [rbp + 0x5f]
mov rcx, qword [rbp + 0x4f]
test eax, eax
je 0x14001f4aa
test rcx, rcx
je 0x14001f4aa
test edx, edx
jne 0x14001f4ac
xor ebx, ebx
test ebx, ebx
je 0x14001f52a
xor ebx, ebx
test rcx, rcx
je 0x14001f52a
cmp rsi, 0xffffffffffffffff
je 0x14001f52a
cmp rdi, 0xffffffffffffffff
je 0x14001f52a
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.140020cb0
test eax, eax
je 0x14001f52a
mov ebx, 1
jmp 0x14001f53d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r12d, eax
test ebx, ebx
je 0x14001f547
test r15, r15
je 0x14001f547
mov qword [r15], rsi
jmp 0x14001f567
cmp rsi, 0xffffffffffffffff
je 0x14001f567
test r15, r15
je 0x14001f558
cmp qword [r15], 0xffffffffffffffff
jne 0x14001f567
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
je 0x14001f575
test r14, r14
je 0x14001f575
mov qword [r14], rdi
jmp 0x14001f595
cmp rdi, 0xffffffffffffffff
je 0x14001f595
test r14, r14
je 0x14001f586
cmp qword [r14], 0xffffffffffffffff
jne 0x14001f595
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r12d, r12d
je 0x14001f5a9
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