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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rax, qword [rcx + 0xa0]
sub rax, qword [rcx + 0x98]
cmp rax, 8
jb 0x1400a10fd
lea rsi, [rcx + 8]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400a0ab6
mov rcx, qword [rsi]
movsxd rax, dword [r14 + 0x28]
lea rdx, [rcx + rax*2]
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], di
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp word [rdx + r8*2], di
jne 0x1400a0ae4
lea rcx, [rsp + 0x150]
call fcn.140003cb0
nop
lea rax, [0x1400c37d8]
mov qword [rsp + 0x50], rax
lea rax, [0x1400c37e0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x168]
cmp rax, 8
cmovae rdx, rcx
mov qword [rsp + 0x38], rdx
mov edx, edi
mov rbx, qword [rsp + 0x160]
cmp rbx, 0x7fffffff
ja 0x1400a112c
test rbx, rbx
je 0x1400a0c6a
mov rdx, rbx
lea rcx, [rsp + 0xdc]
call fcn.140001c40
mov rdi, rax
add rbx, rbx
mov r8, rbx
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov qword [rsp + 0xd0], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rdi
mov rcx, qword [rsp + 0xa0]
mov qword [rcx], rdi
sar rbx, 1
mov rax, qword [rsp + 0xb8]
mov dword [rax], ebx
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x88]
mov qword [rax], rdi
mov rax, qword [rsp + 0xa8]
mov qword [rax], rdi
sub rcx, rdi
sar rcx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax], ecx
mov edx, 1
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x168]
xor edi, edi
jmp 0x1400a0c72
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xd8], edx
cmp rax, 8
jb 0x1400a0cb1
lea rdx, [rax*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a0cac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a1088
call fcn.1400b3088
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x188], 7
mov word [rsp + 0x170], di
mov rdi, qword [r14 + 0xa0]
sub rdi, qword [r14 + 0x98]
sar rdi, 3
mov edx, 0x76
lea rcx, [rsp + 0x190]
call fcn.140090800
nop
xor ebx, ebx
cmp ebx, edi
jge 0x1400a103b
mov eax, dword [r14 + 0x28]
mov dword [rsp + 0x20], eax
movsxd rcx, ebx
mov rax, qword [r14 + 0x98]
mov rcx, qword [rax + rcx*8]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400a0d1f
mov rdx, qword [rsi]
mov rax, qword [rcx]
lea r9, [rsp + 0x190]
lea r8, [r14 + 0x28]
call qword [rax + 8]
test al, al
je 0x1400a1034
cmp qword [rsi + 0x18], 8
jb 0x1400a0d43
mov rsi, qword [rsi]
xor eax, eax
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], ax
inc r15
cmp word [rsi + r15*2], ax
jne 0x1400a0d61
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x150]
call fcn.140003cb0
nop
movsxd r8, dword [r14 + 0x28]
movsxd rdi, dword [rsp + 0x20]
mov rax, qword [rsp + 0x160]
cmp rax, rdi
jb 0x1400a1132
sub rax, rdi
cmp rax, r8
cmovb r8, rax
lea rax, [rsp + 0x150]
cmp qword [rsp + 0x168], 8
cmovae rax, qword [rsp + 0x150]
lea rdx, [rax + rdi*2]
lea rcx, [rsp + 0x170]
call fcn.140003cb0
nop
mov rdx, qword [rsp + 0x168]
cmp rdx, 8
jb 0x1400a0e1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a0e15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a0e15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3088
test byte [r14 + 0x3c], 0x40
jne 0x1400a1138
mov dword [r14 + 0x3c], 0x12c5
lea rcx, [rsp + 0x190]
call fcn.140092d00
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400a0e50
mov rcx, rax
call fcn.14008f030
nop
test rbx, rbx
je 0x1400a0e5d
mov rcx, rbx
call fcn.14008f030
mov rcx, qword [r12]
test rcx, rcx
je 0x1400a0e79
call fcn.14008f010
test eax, eax
jne 0x1400a0e79
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov qword [r12], rbx
test rbx, rbx
je 0x1400a0e98
mov rcx, rbx
call fcn.14008f010
test eax, eax
jne 0x1400a0e98
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
nop
lea rdx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rdx, qword [rsp + 0x170]
mov eax, dword [r14 + 0x28]
sub eax, edi
cdqe
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rdx, qword [rsp + 0x170]
xor ebx, ebx
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], bx
cmp rdx, r8
je 0x1400a0f0f
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x150]
call fcn.140003cb0
nop
lea rdx, [rsp + 0x150]
mov rcx, qword [r12]
call fcn.14008f080
nop
mov rdx, qword [rsp + 0x168]
cmp rdx, 8
jb 0x1400a0f6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a0f67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a0f67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3088
nop
lea rcx, [rsp + 0x190]
call fcn.140090a70
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 8
jb 0x1400a0fc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a0fc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a0fc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3088
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], 7
mov word [rsp + 0x170], bx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call fcn.1400038a0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov al, 1
jmp 0x1400a10ff
inc ebx
jmp 0x1400a0cf4
lea rcx, [rsp + 0x190]
call fcn.140090a70
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 8
jb 0x1400a1094
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a108f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a108f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3088
xor eax, eax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], 7
mov word [rsp + 0x170], ax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call fcn.1400038a0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
xor al, al
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400b3120
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_
nop
call fcn.140003c90
nop
mov dword [rsp + 0x24], 4
lea rdx, [0x140139428]
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll__CxxThrowException
int3