Function at 0x140013720
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rcx
mov qword [rbp - 0x38], rcx
xor r13d, r13d
mov qword [rbp + 0x110], r13
lea rcx, [rbp + 0x110]
call fcn.1400177b0
nop
mov rax, qword [rbp + 0x110]
cmp dword [rax - 0x10], r13d
jne 0x1400137f8
lea rdx, [rax - 0x18]
mov r14, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400137b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400137e8
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400137e3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400137f1
mov rcx, r8
call fcn.140027c70
mov qword [rsi + 0x10], r13
jmp 0x140013edd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rbp + 0x128], r13
lea rcx, [rbp + 0x128]
call fcn.1400225b0
nop
mov qword [rbp + 0x108], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001382a
mov rdx, qword [rsi]
lea rcx, [rsp + 0x68]
call fcn.14000a5b0
mov rbx, rax
mov r15, qword [rbp + 0x128]
add r15, 0xffffffffffffffe8
mov rcx, r15
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x108]
call fcn.140024140
nop
mov qword [rbp + 0x130], r13
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140013886
mov rdx, qword [rsi]
lea rcx, [rsp + 0x70]
call fcn.14000a5b0
mov rbx, rax
mov rcx, r15
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x130]
call fcn.140024b90
nop
xor r12b, r12b
mov rbx, qword [rbp + 0x130]
mov edi, 1
cmp dword [rbx - 0x10], 0
jl 0x1400138f4
lea rdx, str..solurl.dmpattached
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400138f4
sub rax, rbx
sar rax, 1
movzx r12d, r12b
cmp eax, 0xffffffff
cmovne r12d, edi
mov qword [rbp + 0x100], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140013912
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
call fcn.14000a5b0
mov rdi, rax
mov rcx, r15
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x100]
call fcn.1400256b0
nop
mov qword [rbp + 0x138], r13
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140013963
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.14000a5b0
mov rdi, rax
mov rcx, r15
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x138]
call fcn.140025fc0
nop
lea r13, [rbx - 0x18]
mov rcx, r13
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xe0]
call fcn.1400235d0
nop
lea r11, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae r11, qword [rbp + 0xe0]
mov r14, 0xffffffffffffffff
mov rdi, qword [rbp + 0xf0]
cmp rdi, 0xe
jb 0x140013a4d
lea r10, [rdi - 0xd]
lea r10, [r11 + r10*2]
mov r8, r11
mov rcx, r10
sub rcx, r8
sar rcx, 1
je 0x140013a4d
movzx eax, word [r8]
cmp ax, 0x3c
je 0x140013a12
add r8, 2
sub rcx, 1
jmp 0x1400139fc
test r8, r8
je 0x140013a4d
mov r9d, 0xe
lea rcx, str.__crashreport_
mov rdx, r8
cmp ax, word [rcx]
jne 0x140013a3f
add rdx, 2
add rcx, 2
sub r9, 1
je 0x140013a45
movzx eax, word [rdx]
jmp 0x140013a27
add r8, 2
jmp 0x1400139f3
sub r8, r11
sar r8, 1
jmp 0x140013a50
mov r8, r14
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], ax
mov qword [rbp - 0x50], rdi
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rdx, qword [rbp + 0xe0]
lea rcx, [rbp - 0x78]
call fcn.140010f20
lea rcx, [rbp + 0xe0]
call fcn.140009360
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbp + 0xf0], xmm1
xor eax, eax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
lea ecx, [rax + 0x40]
call fcn.140027f98
mov rdi, rax
mov qword [rsp + 0x78], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov qword [rdi], rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::empty_void_]
nop
mov rcx, qword [rax + 8]
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov qword [rbp + 0x120], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, rdi
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_private:_void___cdecl_std::locale::_Locimp::_Addfac_class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
mov rax, qword [rbp + 0x120]
xor edi, edi
mov dword [rax + 0x20], edi
mov rcx, qword [rbp + 0x120]
add rcx, 0x28
lea rdx, [0x14002decc]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140013b76
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140027f5e.0]
mov r8, rax
test rax, rax
je 0x140013b76
mov rcx, qword [rax]
mov rax, qword [rcx]
lea edx, [rdi + 1]
mov rcx, r8
call qword [case.0x140027f5e.0]
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140009640
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
lea r8, [rbp + 0x118]
lea rdx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140013bef
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140027f5e.0]
mov r8, rax
test rax, rax
je 0x140013bef
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x140027f5e.0]
nop
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rdx, qword [rbp + 0xe0]
lea rcx, [rbp - 0x30]
call fcn.14000bcf0
mov rcx, rax
lea rdx, [0x14000bef0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
test r12b, r12b
je 0x140013c74
lea rdx, str._dumpAttached_
lea rcx, [rbp - 0x30]
call fcn.14000bcf0
mov rcx, rax
lea rdx, [0x14000bef0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x14000bef0]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.__dumpAttached_
call fcn.14000bcf0
mov rcx, rax
lea rdx, [0x14000bef0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.__crashreport_
lea rcx, [rbp - 0x30]
call fcn.14000bcf0
mov rcx, rax
lea rdx, [0x14000bef0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, [rbp - 0x28]
call fcn.14000ac70
test rax, rax
jne 0x140013cbe
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
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 rdx, qword [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
mov rbx, qword [rbp + 0x138]
mov rdx, rbx
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.14000a1a0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x140013d60
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140027f5e.0]
mov r8, rax
test rax, rax
je 0x140013d60
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x140027f5e.0]
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x140013da9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013da4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013da4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140027c70
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], di
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013de4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov rdx, qword [rbp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013e0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov eax, r14d
lock xadd dword [r13 + 0x10], eax
sub eax, 1
jg 0x140013e30
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rdx, r13
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov rdx, qword [rbp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013e59
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov eax, r14d
lock xadd dword [r15 + 0x10], eax
sub eax, 1
jg 0x140013e7b
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov rdx, qword [rbp + 0x110]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140013ea3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140013ed9
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140013ed4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013f18
mov rcx, r8
call fcn.140027c70
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140027890
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3