Function at 0x7ff7980e7000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.7ff7980ea450
nop
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov dl, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcp140.dll_public:_bool___cdecl_std::basic_istream_char__struct_std::char_traits_char__::_Ipfx_bool____ptr64]
mov byte [rsp + 0x80], al
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x7ff7980e723c
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
jae 0x7ff7980e709d
call fcn.7ff7981006e0
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.7ff7980fde30
movzx eax, byte [rsp + 0xb0]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x2c], eax
jmp 0x7ff7980e7130
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::snextc_void____ptr64]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x40], eax
jne 0x7ff7980e714c
mov dword [rsp + 0x30], 1
jmp 0x7ff7980e7154
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x7ff7980e717b
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
jmp 0x7ff7980e723a
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x2c], eax
jne 0x7ff7980e718f
mov dword [rsp + 0x34], 1
jmp 0x7ff7980e7197
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x7ff7980e71e1
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
jmp 0x7ff7980e723a
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xa8]
call fcn.7ff798106900
cmp rax, qword [rsp + 0x58]
ja 0x7ff7980e7215
mov eax, dword [rsp + 0x28]
or eax, 2
mov dword [rsp + 0x28], eax
jmp 0x7ff7980e723a
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x24], al
movzx edx, byte [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
call fcn.7ff798106f80
mov byte [rsp + 0x20], 1
jmp 0x7ff7980e70f5
jmp 0x7ff7980e723c
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x7ff7980e7250
mov eax, dword [rsp + 0x28]
or eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.msvcp140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.7ff7980eb3c0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.7ff798179f10
add rsp, 0x98
ret