Function at 0x14002e54c
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rcx, rdx
call fcn.140046005
test al, al
je 0x14002e81a
test ebx, 0xc7dfff7f
jne 0x14002e788
movaps xmm0, xmmword [0x14029de10]
lea rcx, [rsp + 0x1a0]
movaps xmmword [rcx], xmm0
call fcn.14004894c
mov rcx, rdi
call fcn.1400462f8
test al, al
je 0x14002e835
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14002e5c2
mov rcx, qword [rdi]
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rsp + 0x198]
mov qword [rcx], r14
mov rdx, rax
call fcn.140028200
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x14002e696
mov rax, qword [rsp + 0x198]
inc rax
cmp rax, 1
ja 0x14002e696
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromechrome_cleanerengines_broker_scanner_sandbox_interface.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x1f4
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0x68]
lea rdx, str.Failed_to_open
mov r8d, 0xf
call fcn.14001eb4a
mov rbx, rax
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
call fcn.140045a36
mov rcx, rbx
mov rdx, r14
call fcn.1400f7760
cmp byte [r14 + 0x17], 0
jns 0x14002e68c
mov rcx, qword [rsp + 0x40]
call fcn.140255d7c
lea rcx, [rsp + 0x58]
call fcn.1400f7640
call fcn.14004e0c0
mov rcx, rax
call fcn.14004e410
test rax, rax
jle 0x14002e850
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002e865
cmp qword [rsp + 0x38], rbx
jle 0x14002e850
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x14002e8e9
lea rdx, str.....chromechrome_cleanerengines_broker_scanner_sandbox_interface.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x201
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0x68]
lea rdx, [0x1402a809a]
mov r8d, 5
call fcn.14001eb4a
mov rbx, rax
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
call fcn.140045a36
mov rcx, rbx
mov rdx, r14
call fcn.1400f7760
lea rdx, str._is_too_big__size:
mov r8d, 0x13
mov rcx, rax
call fcn.14001eb4a
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.14001a830
cmp byte [r14 + 0x17], 0
jns 0x14002e779
mov rcx, qword [rsp + 0x40]
call fcn.140255d7c
lea rcx, [rsp + 0x58]
call fcn.1400f68f0
jmp 0x14002e8e9
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x14002e81a
lea rdx, str.....chromechrome_cleanerengines_broker_scanner_sandbox_interface.cc
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov r8d, 0x1e0
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0x68]
lea rdx, str.OpenReadOnlyFile_called_with_invalid_dwFlagsAndAttributes._dwFlagsAndAttributes_can_only_contain_0x
mov r8d, 0x67
call fcn.14001eb4a
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov edx, dword [rax + rcx + 8]
and edx, 0xffffffb5
or edx, 8
mov dword [rax + rcx + 8], edx
mov rcx, rax
mov edx, 0x38200080
call fcn.14001a604
lea rdx, [0x1402a805d]
mov r8d, 0x10
mov rcx, rax
call fcn.14001eb4a
mov rcx, rax
mov edx, ebx
call fcn.14001a604
mov rcx, rdi
call fcn.1400f68f0
mov qword [rsi], 0
mov rcx, rsi
mov rdx, 0xffffffffffffffff
call fcn.140028200
jmp 0x14002e919
mov qword [rsi], 0
mov rcx, rsi
mov rdx, 0xffffffffffffffff
call fcn.140028200
jmp 0x14002e90c
lea rdx, [rsp + 0x198]
mov rcx, rsi
call fcn.140028076
jmp 0x14002e8ff
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x14002e8e9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromechrome_cleanerengines_broker_scanner_sandbox_interface.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x1fc
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0x68]
lea rdx, str.Failed_to_get_size_of_file
mov r8d, 0x1b
call fcn.14001eb4a
mov rbx, rax
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
call fcn.140045a36
mov rcx, rbx
mov rdx, r14
call fcn.1400f7760
cmp byte [r14 + 0x17], 0
jns 0x14002e8df
mov rcx, qword [rsp + 0x40]
call fcn.140255d7c
lea rcx, [rsp + 0x58]
call fcn.1400f7640
mov qword [rsi], 0
mov rcx, rsi
mov rdx, 0xffffffffffffffff
call fcn.140028200
lea rcx, [rsp + 0x198]
call fcn.140028250
lea rcx, [rsp + 0x1a0]
call fcn.140048c34
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140257200
mov rax, rsi
add rsp, 0x1b8
pop rbx
pop rdi
pop rsi
pop r14
ret