Function at 0x1400b6c9c
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 - 0x120]
sub rsp, 0x220
mov rax, qword [0x14016d608]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor eax, eax
mov byte [rsp + 0x50], 1
mov dword [r8], eax
mov rbx, r8
mov r15, rdx
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov dword [rsp + 0x54], eax
mov r8d, 0x180
mov qword [rsp + 0x68], rax
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov rcx, qword [0x14016d090]
lea r13, [0x14016d090]
lea rdi, [0x14014e198]
mov r12b, 4
cmp rcx, r13
je 0x1400b6d48
test byte [rcx + 0x1c], r12b
je 0x1400b6d48
cmp byte [rcx + 0x19], r12b
jb 0x1400b6d48
mov rcx, qword [rcx + 0x10]
mov edx, 0x1ac
mov r8, rdi
call fcn.140004968
or qword [rsp + 0x70], 0xffffffffffffffff
lea rax, [rsp + 0x54]
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x60]
mov rdx, rsi
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x70]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.1400c2fec
mov r14d, eax
test eax, eax
je 0x1400b6f09
mov rcx, qword [0x14016d090]
cmp rcx, r13
je 0x1400b6dd3
test byte [rcx + 0x1c], r12b
je 0x1400b6dd3
cmp byte [rcx + 0x19], r12b
jb 0x1400b6dd3
mov eax, dword [rbx]
mov edx, 0x1ad
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov dword [rsp + 0x28], eax
mov r8, rdi
mov dword [rsp + 0x20], r14d
call fcn.14000fd50
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x60000080
mov edx, 0x80000000
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b6e58
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp - 0x70]
mov dword [rbx], eax
call fcn.1400c1f28
mov rcx, qword [0x14016d090]
cmp rcx, r13
je 0x1400b6e4e
test byte [rcx + 0x1c], r12b
je 0x1400b6e4e
cmp byte [rcx + 0x19], 2
jb 0x1400b6e4e
mov edx, 0x1ae
mov eax, dword [rbx]
lea r8, [0x14014e198]
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.1400058c8
mov eax, 8
jmp 0x1400b6fba
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400b6ea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x70]
call fcn.1400c1f28
mov rcx, qword [0x14016d090]
cmp rcx, r13
je 0x1400b6e4e
test byte [rcx + 0x1c], r12b
je 0x1400b6e4e
cmp byte [rcx + 0x19], 2
jb 0x1400b6e4e
mov edx, 0x1af
jmp 0x1400b6e35
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x1400b6ef7
mov rcx, qword [0x14016d090]
cmp rcx, r13
je 0x1400b6edd
test byte [rcx + 0x1c], r12b
je 0x1400b6edd
cmp byte [rcx + 0x19], 2
jb 0x1400b6edd
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1b0
mov r9, rsi
call fcn.140005868
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x70]
call fcn.1400c1f28
mov eax, r14d
jmp 0x1400b6fba
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, [0x14014e198]
jmp 0x1400b6f4c
mov rcx, qword [0x14016d090]
cmp rcx, r13
je 0x1400b6f37
test byte [rcx + 0x1c], r12b
je 0x1400b6f37
cmp byte [rcx + 0x19], r12b
jb 0x1400b6f37
mov r9d, dword [rsp + 0x54]
mov edx, 0x1b1
mov rcx, qword [rcx + 0x10]
mov r8, rdi
call fcn.140004988
cmp byte [rsp + 0x50], 0
je 0x1400b6f44
mov rbx, qword [rbp - 0x58]
jmp 0x1400b6f4c
mov ebx, dword [rsp + 0x54]
shl rbx, 0x15
mov qword [r15], rbx
mov rcx, qword [0x14016d090]
cmp rcx, r13
je 0x1400b6f7b
test byte [rcx + 0x1c], r12b
je 0x1400b6f7b
cmp byte [rcx + 0x19], r12b
jb 0x1400b6f7b
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b2
mov r9, rbx
mov r8, rdi
call fcn.1400abd10
lea rcx, [rbp - 0x70]
call fcn.1400c1f28
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016d090]
cmp rcx, r13
je 0x1400b6fb8
test byte [rcx + 0x1c], r12b
je 0x1400b6fb8
cmp byte [rcx + 0x19], r12b
jb 0x1400b6fb8
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b3
mov r8, rdi
call fcn.140004968
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14013cc00
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret