Function at 0x140016b50
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r13
push r14
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rbx, rcx
mov qword [rbp + 0xc0], rcx
xor r13d, r13d
lea rcx, [rbp - 0x60]
call fcn.14001d4f0
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
cmp dword [rdx + 8], r13d
jne 0x140016bb2
lea rdi, [r13 - 1]
jmp 0x1400171ca
lea rcx, [rsp + 0x40]
call fcn.140026340
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016bd4
mov rdi, qword [rbx]
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x140017261
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14000a7b0
test al, al
jne 0x140016c13
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14000a8c0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.14000adf0
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140022c10
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016c55
mov rdi, qword [rbx]
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001726c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14000a7b0
test al, al
jne 0x140016c94
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14000a8c0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.14000adf0
add rax, 0x18
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140024480
nop
mov rcx, qword [rsp + 0x30]
mov rdi, 0xffffffffffffffff
cmp dword [rcx - 0x10], 0
jge 0x140016cd7
mov r14d, edi
jmp 0x140016cf9
lea rdx, str..solurl.dmpattached
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r14, rax
test rax, rax
jne 0x140016cf1
mov r14d, edi
jmp 0x140016cf9
sub r14, qword [rsp + 0x30]
sar r14, 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rsi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016d10
mov rsi, qword [rbx]
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x140017277
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14000a7b0
test al, al
jne 0x140016d4f
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14000a8c0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.14000adf0
add rax, 0x18
mov qword [rbp - 0x80], rax
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140023ae0
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rsi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016d8f
mov rsi, qword [rbx]
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x140017256
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14000a7b0
test al, al
jne 0x140016dce
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14000a8c0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.14000adf0
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400237b0
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14000adf0
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xc8]
call fcn.140025160
nop
lea r11, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae r11, qword [rbp + 0xc8]
lea r9, str.__crashreport_
mov rsi, qword [rbp + 0xd8]
cmp rsi, 0xe
jb 0x140016ed9
lea r10, [rsi - 0xd]
lea r10, [r11 + r10*2]
mov r8, r11
nop dword [rax]
mov rax, r10
sub rax, r8
sar rax, 1
mov rcx, r13
je 0x140016e8c
cmp word [r8], 0x3c
je 0x140016e89
cmp rax, 1
je 0x140016e8c
dec rax
add r8, 2
cmp word [r8], 0x3c
jne 0x140016e75
mov rcx, r8
mov r8, rcx
test rcx, rcx
je 0x140016ed9
mov edx, 0xe
mov rcx, r9
mov r9, r8
lea rax, str.__crashreport_
sub r9, rax
nop dword [rax]
movzx eax, word [rcx + r9]
cmp ax, word [rcx]
jne 0x140016ecc
add rcx, 2
sub rdx, 1
jne 0x140016eb0
sub r8, r11
sar r8, 1
jmp 0x140016edc
add r8, 2
lea r9, str.__crashreport_
jmp 0x140016e60
mov r8, rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf8], xmm1
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xe8]
call fcn.1400111b0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 8
jb 0x140016f64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016f5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400286c0
movups xmm0, xmmword [rbp + 0xe8]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rbp + 0xf8]
movups xmmword [rbp + 0xd8], xmm1
mov r8d, 2
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140009760
nop
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae rdx, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
call fcn.14000b9d0
lea rdx, [0x14000bba0]
mov rcx, rax
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]
cmp r14d, 0xffffffff
je 0x14001701b
lea rdx, str._dumpAttached_
lea rcx, [rbp - 0x50]
call fcn.14000b9d0
lea rdx, [0x14000bba0]
mov rcx, rax
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, [0x14000bba0]
lea rcx, [rbp - 0x50]
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.14000b9d0
lea rdx, [0x14000bba0]
mov rcx, rax
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 - 0x50]
call fcn.14000b9d0
lea rdx, [0x14000bba0]
mov rcx, rax
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 - 0x48]
call fcn.14000a570
test rax, rax
jne 0x140017065
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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 - 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.1400096b0
lea rcx, [rbp - 0x40]
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 + 0x58]
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 rdx, qword [rbp + 0xe0]
cmp rdx, 8
jb 0x140017110
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001710b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001710b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400286c0
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 7
mov word [rbp + 0xc8], r13w
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017148
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017166
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017185
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400171a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400171c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400171de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140017214
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001720f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001724f
mov rcx, r8
call fcn.1400286c0
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r13
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1400286a0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x80004005
call fcn.140001300
nop
mov ecx, 0x80004005
call fcn.140001300
nop
mov ecx, 0x80004005
call fcn.140001300
nop
mov ecx, 0x80004005
call fcn.140001300
int3