Function at 0x140117e7c
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r14d, 7
mov qword [rbp - 0x70], r14
xor r12d, r12d
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
lea r8d, [r14 - 6]
lea rdx, [0x140352420]
lea rcx, [rsp + 0x78]
call fcn.14008f6dc
nop
lea r8, [rsp + 0x78]
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.1400a0688
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400a083c
nop
lea r8, str..dmp
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.1400a083c
nop
cmp qword [rbp + 0xa8], 8
jb 0x140117f35
mov rcx, qword [rbp + 0x90]
call fcn.1400be0f4
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
cmp qword [rbp + 0x58], 8
jb 0x140117f5b
mov rcx, qword [rbp + 0x40]
call fcn.1400be0f4
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x50], r12
mov word [rbp + 0x40], r12w
cmp qword [rbp - 0x70], 8
jb 0x140117f79
mov rcx, qword [rsp + 0x78]
call fcn.1400be0f4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
mov ecx, 0x20
call fcn.1400be454
mov rbx, rax
test rax, rax
je 0x140117fe4
mov qword [rax], r12
lea rdi, section..data
mov rcx, rdi
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 8], rax
mov rcx, rdi
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x10], rax
mov rcx, rdi
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x18], rax
jmp 0x140117fe7
mov rbx, r12
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r12
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400a1240
mov rdx, rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rdx], rcx
or r13, 0xffffffffffffffff
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14011804b
mov eax, r13d
lock xadd dword [rdi + 8], eax
add eax, r13d
jne 0x14011804b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r13d
lock xadd dword [rdi + 0xc], eax
add eax, r13d
jne 0x14011804b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400020a0
nop
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov qword [rdi], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [rax + 0x48]
nop
mov rcx, qword [rsp + 0x30]
add rcx, 8
mov rdx, rax
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1401180bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [rax + 0x40]
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0x10
mov rdx, rax
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140118101
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax + 0x48]
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0x18
mov rdx, rax
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140118154
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.1402db430
nop
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.1400041e8
test eax, eax
jne 0x140118192
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401183c9
lea rax, [rbp + 0xc0]
mov qword [rbp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0xd8], eax
lea rcx, [0x140487698]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [0x1404876c0]
mov qword [rbp + 0xe0], rdx
lea rax, [rbp + 0xd0]
mov qword [0x1404876c0], rax
lea rcx, [0x140487698]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x20], r12
lea r9, [0x140007b38]
mov r8, rdi
mov edx, 0x5208
mov rcx, qword [0x140487620]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, 1
jne 0x1401183c9
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xc0]
call fcn.1402db3a0
nop
mov rdx, qword [rax]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x28], r12
mov word [rbp - 0x38], r12w
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x38]
call fcn.14008f6dc
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xc0]
call fcn.1402db3d0
nop
mov rdx, qword [rax]
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x60]
call fcn.14008f6dc
nop
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140117cfc
nop
cmp qword [rbp - 0x48], 8
jb 0x1401182aa
mov rcx, qword [rbp - 0x60]
call fcn.1400be0f4
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1401182d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbp - 0x20], 8
jb 0x1401182e9
mov rcx, qword [rbp - 0x38]
call fcn.1400be0f4
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x28], r12
mov word [rbp - 0x38], r12w
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140118317
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x78], r12
mov word [rbp + 0x68], r12w
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
mov r8d, 0x28
lea rdx, str.http:__crash_reports.piriform.com_submit
lea rcx, [rbp + 0x18]
call fcn.14008f6dc
nop
lea r8, [rsi + 0x18]
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x10]
lea rdx, [rbp + 0x18]
mov rcx, qword [rsi + 0x40]
call fcn.140116cdc
mov edi, eax
cmp qword [rbp + 0x30], 8
jb 0x14011837b
mov rcx, qword [rbp + 0x18]
call fcn.1400be0f4
cmp edi, 2
jne 0x14011838d
lea r9d, [rdi + 0x3e]
lea rdx, str.Report_sent_successfully.
jmp 0x1401183a6
mov r9d, 0x30
cmp edi, 3
lea rdx, str.Error_sending_report:_too_many_reports.
je 0x1401183a6
lea rdx, str.Error_sending_report.
lea r8, [0x1403874b8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
cmp qword [rbp + 0x80], 8
jb 0x1401183c9
mov rcx, qword [rbp + 0x68]
call fcn.1400be0f4
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp + 0xc0]
call fcn.1402db680
nop
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140118422
mov eax, r13d
lock xadd dword [rdi + 8], eax
add eax, r13d
jne 0x140118422
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r13d
lock xadd dword [rdi + 0xc], eax
add eax, r13d
jne 0x140118422
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x10]
nop
cmp qword [rbp + 8], 8
jb 0x140118432
mov rcx, qword [rbp - 0x10]
call fcn.1400be0f4
mov al, 1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400be110
add rsp, 0x310
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret