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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14001a104
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jle 0x14001a1c6
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0xb0], rax
jle 0x14001a1c6
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x14001a1cf
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x130]
call fcn.140017de0
nop
movzx eax, byte [rsp + 0x138]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14001a214
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a5f7
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::ios_base::getloc_void____ptr64]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140019940
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x120]
call fcn.14000a210
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
and eax, 0x1c0
cmp eax, 0x40
je 0x14001a3b4
jmp 0x14001a2d9
mov rax, qword [rsp + 0x48]
dec rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jle 0x14001a3b4
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x80], rax
movzx eax, word [rsp + 0x70]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x28], ax
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::sputc_wchar_t____ptr64]
mov word [rsp + 0x2c], ax
movzx eax, word [rsp + 0x2c]
mov word [rsp + 0x2e], ax
mov eax, 0xffff
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x2e]
movzx ecx, word [rsp + 0x30]
cmp ecx, eax
jne 0x14001a388
mov dword [rsp + 0x60], 1
jmp 0x14001a390
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x14001a3af
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a3b4
jmp 0x14001a2cc
jmp 0x14001a3d6
mov rax, qword [rsp + 0x58]
dec rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x168]
inc rax
mov qword [rsp + 0x168], rax
cmp dword [rsp + 0x20], 0
jne 0x14001a4b7
cmp qword [rsp + 0x58], 0
jle 0x14001a4b7
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x168]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::widen_char_const___ptr64]
mov word [rsp + 0x32], ax
movzx eax, word [rsp + 0x32]
mov word [rsp + 0x34], ax
movzx edx, word [rsp + 0x34]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::sputc_wchar_t____ptr64]
mov word [rsp + 0x36], ax
movzx eax, word [rsp + 0x36]
mov word [rsp + 0x38], ax
mov eax, 0xffff
mov word [rsp + 0x3a], ax
movzx eax, word [rsp + 0x38]
movzx ecx, word [rsp + 0x3a]
cmp ecx, eax
jne 0x14001a48d
mov dword [rsp + 0x64], 1
jmp 0x14001a495
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x14001a4b2
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a3b6
cmp dword [rsp + 0x20], 0
jne 0x14001a5ac
jmp 0x14001a4d1
mov rax, qword [rsp + 0x48]
dec rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jle 0x14001a5ac
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x90], rax
movzx eax, word [rsp + 0x72]
mov word [rsp + 0x2a], ax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x2a], ax
movzx edx, word [rsp + 0x2a]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::sputc_wchar_t____ptr64]
mov word [rsp + 0x3c], ax
movzx eax, word [rsp + 0x3c]
mov word [rsp + 0x3e], ax
mov eax, 0xffff
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x3e]
movzx ecx, word [rsp + 0x40]
cmp ecx, eax
jne 0x14001a580
mov dword [rsp + 0x50], 1
jmp 0x14001a588
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14001a5a7
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a5ac
jmp 0x14001a4c4
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], 0
jmp 0x14001a5f7
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x130]
call fcn.140017d50
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0x158
ret