Function at 0x140006c50
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x42], 0
mov rcx, qword [rsp + 0xc0]
call fcn.1400039e0
inc eax
mov ecx, eax
call fcn.1400036f0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400039e0
mov r8d, eax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140003980
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov qword [rsp + 0x88], rax
lea rdx, [0x140007710]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x78]
call fcn.140005e30
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
test eax, eax
jne 0x140006d02
jmp 0x140006dcf
mov rcx, qword [rsp + 0x70]
call fcn.1400038a0
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x48]
call fcn.1400036f0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x48]
dec eax
mov rcx, qword [rsp + 0x70]
inc rcx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call fcn.140003900
mov eax, dword [rsp + 0x48]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1400064b0
mov dword [rsp + 0x44], 0
jmp 0x140006d62
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x24
jae 0x140006dc5
mov eax, dword [rsp + 0x44]
mov rcx, qword [0x14000f330]
mov rcx, qword [rcx + rax*8]
call fcn.1400038a0
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [0x14000f330]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x90], rax
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
call fcn.140003c60
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x140006dc3
mov byte [rsp + 0x42], 1
jmp 0x140006dc5
jmp 0x140006d58
mov rcx, qword [rsp + 0x50]
call fcn.140003760
mov rcx, qword [rsp + 0x78]
call fcn.140003760
movzx eax, byte [rsp + 0x42]
test eax, eax
jne 0x140006de7
jmp 0x140006fbf
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsp + 0xc0]
call fcn.140004d00
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x140006e2a
jmp 0x140006fbf
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140006e48
mov byte [rsp + 0x43], 1
jmp 0x140006e4d
mov byte [rsp + 0x43], 0
movzx eax, byte [rsp + 0x43]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x140006e64
jmp 0x140006fbf
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], rax
xor edx, edx
mov rax, qword [rsp + 0x58]
mov ecx, 0x10
div rcx
mov rax, rdx
mov ecx, 0x10
sub rcx, rax
mov rax, rcx
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
cmp eax, 0x10
jne 0x140006ea1
mov byte [rsp + 0x40], 0
cmp qword [rsp + 0x58], 0x10000
jae 0x140006ef5
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x11]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rcx
movzx r9d, byte [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.140006580
movzx eax, al
test eax, eax
je 0x140006eee
jmp 0x140006f3c
jmp 0x140006fbf
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x11]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rcx
movzx r9d, byte [rsp + 0x40]
mov r8, rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.140006780
movzx eax, al
test eax, eax
je 0x140006f37
jmp 0x140006f3c
jmp 0x140006fbf
lea rdx, [0x14000ef20]
mov rcx, qword [rsp + 0xc0]
call fcn.140003ac0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.140005160
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x140006fb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x6c], eax
mov edx, dword [rsp + 0x6c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rsp + 0xa0], rax
lea rdx, [0x140007710]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x80]
call fcn.140003760
add rsp, 0xb8
ret