Function at 0x1400ac190
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, 0xa8
mov rax, qword [0x14036f200]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x88]
call fcn.14007aa60
nop
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov dl, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::basic_istream_char__struct_std::char_traits_char__::_Ipfx_bool____ptr64]
mov byte [rsp + 0x90], al
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
movzx eax, al
test eax, eax
je 0x1400ac3f7
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x10], 0
jae 0x1400ac237
call fcn.14008b760
nop
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call fcn.1400865e0
nop
movzx eax, byte [rsp + 0xc0]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
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 + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], eax
jmp 0x1400ac2d3
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
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 + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x44], 0xffffffff
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x2c]
jne 0x1400ac2ef
mov dword [rsp + 0x30], 1
jmp 0x1400ac2f7
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
movzx eax, al
test eax, eax
je 0x1400ac321
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
jmp 0x1400ac3f5
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x2c], eax
jne 0x1400ac335
mov dword [rsp + 0x34], 1
jmp 0x1400ac33d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
movzx eax, al
test eax, eax
je 0x1400ac38b
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
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]
nop
jmp 0x1400ac3f5
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xb8]
call fcn.1400994c0
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
ja 0x1400ac3cc
mov eax, dword [rsp + 0x28]
or eax, 2
mov dword [rsp + 0x28], eax
jmp 0x1400ac3f5
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
movzx edx, al
mov rcx, qword [rsp + 0xb8]
call fcn.14009c070
nop
mov byte [rsp + 0x20], 1
jmp 0x1400ac298
jmp 0x1400ac3f7
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400ac40b
mov eax, dword [rsp + 0x28]
or eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x88]
call fcn.14007c910
nop
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401686c0
add rsp, 0xa8
ret