Function at 0x140009b70
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xc8], 0xfffffffffffffffe
cmp qword [rsp + 0xe0], 0
jne 0x140009bc9
xor r8d, r8d
lea rdx, str..ATBHashChecker.cpp
lea rcx, [0x1403749c0]
call fcn.14002d540
mov r8d, 0x57
lea rdx, str.AHC::C___d
lea rcx, [0x1403749c0]
call fcn.14002d6f0
xor eax, eax
jmp 0x140009e78
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x140009c50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa4], eax
xor r8d, r8d
lea rdx, str..ATBHashChecker.cpp
lea rcx, [0x1403749c0]
call fcn.14002d540
mov r8d, dword [rsp + 0xa4]
lea rdx, str.AHC::C_c___d
lea rcx, [0x1403749c0]
call fcn.14002d6f0
xor eax, eax
jmp 0x140009e78
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.14000a1e0
nop
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0xffffffff
jne 0x140009ce4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa8], eax
xor r8d, r8d
lea rdx, str..ATBHashChecker.cpp
lea rcx, [0x1403749c0]
call fcn.14002d540
mov r8d, dword [rsp + 0xa8]
lea rdx, str.AHC::C_gfs___d
lea rcx, [0x1403749c0]
call fcn.14002d6f0
mov dword [rsp + 0xb0], 0
lea rcx, [rsp + 0x80]
call fcn.140028cc0
mov eax, dword [rsp + 0xb0]
jmp 0x140009e78
mov ecx, dword [rsp + 0x68]
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140009d5c
xor r8d, r8d
lea rdx, str..ATBHashChecker.cpp
lea rcx, [0x1403749c0]
call fcn.14002d540
mov r8d, dword [rsp + 0x68]
lea rdx, str.AHC::C_al___d
lea rcx, [0x1403749c0]
call fcn.14002d6f0
mov dword [rsp + 0xc0], 0
lea rcx, [rsp + 0x80]
call fcn.140028cc0
mov eax, dword [rsp + 0xc0]
jmp 0x140009e78
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14000a230
nop
mov dword [rsp + 0xa0], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa0]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 1
jne 0x140009e10
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0xa0], eax
jne 0x140009e10
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call fcn.140009e90
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 1
jne 0x140009de5
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call fcn.140009f50
mov dword [rsp + 0x78], eax
jmp 0x140009e0e
xor r8d, r8d
lea rdx, str..ATBHashChecker.cpp
lea rcx, [0x1403749c0]
call fcn.14002d540
lea rdx, str.AHC::C_gfs_ifv
lea rcx, [0x1403749c0]
call fcn.14002d6f0
jmp 0x140009e4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xac], eax
xor r8d, r8d
lea rdx, str..ATBHashChecker.cpp
lea rcx, [0x1403749c0]
call fcn.14002d540
mov r8d, dword [rsp + 0xac]
lea rdx, str.AHC::C_rf___d
lea rcx, [0x1403749c0]
call fcn.14002d6f0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xc4], eax
lea rcx, [rsp + 0x48]
call fcn.14000a280
nop
lea rcx, [rsp + 0x80]
call fcn.140028cc0
mov eax, dword [rsp + 0xc4]
add rsp, 0xd8
ret