Function at 0x140005be0
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 [0x140062440]
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.140006bb0
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 0x140005e1c
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
jae 0x140005c7d
call fcn.14000cf00
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.14000b8c0
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 0x140005d10
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 0x140005d2c
mov dword [rsp + 0x30], 1
jmp 0x140005d34
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140005d5b
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
jmp 0x140005e1a
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x2c], eax
jne 0x140005d6f
mov dword [rsp + 0x34], 1
jmp 0x140005d77
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140005dc1
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 0x140005e1a
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140001e50
cmp rax, qword [rsp + 0x58]
ja 0x140005df5
mov eax, dword [rsp + 0x28]
or eax, 2
mov dword [rsp + 0x28], eax
jmp 0x140005e1a
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x24], al
movzx edx, byte [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
call fcn.14000f1f0
mov byte [rsp + 0x20], 1
jmp 0x140005cd5
jmp 0x140005e1c
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140005e30
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.140007640
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140057b60
add rsp, 0x98
ret