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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov r12, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
cmp qword [rcx + 0x10], rsi
je 0x14003df32
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [r11 - 0x50], rsi
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [r11 - 0x40], xmm0
mov word [r11 - 0x50], si
lea rdx, [0x140087010]
lea rcx, [r11 - 0x50]
call fcn.140003d68
nop
mov qword [rsp + 0x138], rsi
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rsp + 0x148], xmm0
mov word [rsp + 0x138], si
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x138]
call fcn.140035318
nop
lea edi, [rsi + 1]
lea r8, [rsp + 0x138]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14003e0e4
nop
lea rcx, [rsp + 0x138]
call fcn.140003cf8
nop
lea rcx, [rsp + 0x158]
call fcn.140003cf8
mov rbx, qword [rsp + 0x28]
mov r14d, esi
lea r15, vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
cmp r14d, 4
jge 0x14003df28
cmp rbx, qword [rsp + 0x30]
je 0x14003df28
lea rax, [0x1400870c0]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xd0]
call qword [sym.imp.msvcp_win.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop dword [rax + rax]
nop
or edi, 2
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp_win.dll_public:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop dword [rax + rax]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r15
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x3c], edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp_win.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop dword [rax + rax]
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x50], rax
mov rsi, qword [rbx + 0x10]
mov r13, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003ddb5
mov r13, qword [rbx]
mov eax, 2
cmp rsi, 0x7fffffff
jbe 0x14003ddd0
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_alloc_void_]
nop dword [rax + rax]
int3
test rsi, rsi
je 0x14003de28
mov rdx, rsi
call fcn.140003de8
mov rdi, rax
add rsi, rsi
mov r8, rsi
mov rdx, r13
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
lea rcx, [rsi + rdi]
mov qword [rsp + 0xb8], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rdi
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rdi
sar rsi, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax], esi
mov eax, 3
mov edi, dword [rsp + 0x24]
jmp 0x14003de31
and qword [rsp + 0xb8], 0
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
mov edx, 6
call qword [sym.imp.msvcp_win.dll_public:_void___cdecl_std::ios_base::exceptions_int____ptr64]
nop dword [rax + rax]
nop
movsxd rax, r14d
lea rdx, [r12 + rax*4]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp_win.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64____ptr64]
nop dword [rax + rax]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r15
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.14000b154
lea rcx, [rsp + 0x58]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop dword [rax + rax]
inc r14d
add rbx, 0x20
jmp 0x14003dcfa
lea rcx, [rsp + 0x28]
call fcn.140035f84
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140061ac0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret