Function at 0x457bd0
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x648
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x630], rax
mov r12, r9
mov ebp, r8d
mov r14, rdx
mov rbx, rcx
xor edi, edi
mov r13d, edi
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x180]
call fcn.00463764
nop
lea rcx, [rsp + 0xf0]
call fcn.004608b0
nop
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rdi
mov word [rsp + 0x78], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.004020b0
nop
lea r15, [rbx + 0x48]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsp + 0x60], r15
lea esi, [rdi + 1]
lea eax, [rdi + 7]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd8], rdi
mov word [rsp + 0xc8], di
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xb0], rdi
mov word [rsp + 0xa0], di
cmp r14, rdi
jne 0x457cb6
xor r14d, r14d
mov sil, r14b
jmp 0x4581f4
cmp byte [rbx + 0x78], dil
jne 0x457cc7
xor r14d, r14d
mov sil, r14b
jmp 0x4581f4
mov rcx, rbx
call fcn.004542f8
lea rdx, str.STATUS:_Initializing_Watson...
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov rcx, rbx
call fcn.00456d24
cmp al, dil
jne 0x457d07
lea rdx, str.ERROR:_Failed_to_initialize_the_setup_events_parameters
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
xor r14d, r14d
mov sil, r14b
jmp 0x4581f4
mov edx, ebp
mov rcx, r14
call fcn.0045d80c
mov edx, ebp
mov rcx, r14
call fcn.0045e7e0
cmp al, dil
jne 0x457d7b
mov rcx, qword [rbx + 0x70]
call fcn.00460148
xor r14d, r14d
mov qword [rbx + 0x70], r14
cmp qword [r12 + 0x20], 8
jb 0x457d42
lea rdi, [r12 + 8]
mov rcx, qword [rdi]
jmp 0x457d4a
lea rdi, [r12 + 8]
mov rcx, rdi
xor edx, edx
call fcn.00445770
cmp eax, r14d
jne 0x45822d
cmp ebp, esi
jne 0x45822d
cmp qword [r12 + 0x20], 8
jb 0x457d6d
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x45822d
cmp ebp, 2
je 0x457d8b
cmp dword [rbx + 8], 3
je 0x457d8b
mov r8b, sil
jmp 0x457d8e
mov r8b, dil
lea rdx, [rsp + 0x180]
mov rcx, r14
call fcn.0045e268
cmp al, dil
jne 0x457dbe
lea rdx, str.ERROR:_Failed_to_initialize_manifest_data.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
xor r14d, r14d
mov sil, r14b
jmp 0x4581f4
lea rdx, str.STATUS:_Finished_Initializing_Watson
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdi, [rbx + 0x20]
mov rcx, rdi
call fcn.0045cb7c
cmp ebp, 2
je 0x457e31
lea rdx, str.STATUS:_Preparing_the_tools...
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdx, [rsp + 0x180]
mov rcx, r14
call fcn.0045f2c4
xor r14d, r14d
cmp al, r14b
jne 0x457e1f
lea rdx, str.ERROR:_The_Setup_Events_tools_failed_in_PrepareTools__.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov sil, r14b
jmp 0x4581f4
lea rdx, str.STATUS:_Finished_Preparing_the_tools...
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
jmp 0x457e34
xor r14d, r14d
mov rcx, rdi
call fcn.0045cb7c
lea rdx, str.STATUS:_Preparing_the_manifest...
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
cmp ebp, 2
jne 0x457f17
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rcx, qword [rsp + 0x78]
xor edx, edx
call fcn.00445770
cmp eax, r14d
je 0x457ec0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.004606e8
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.004020b0
nop
cmp qword [rsp + 0x58], 8
jb 0x457eac
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
lea r8, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae r8, qword [rsp + 0x78]
lea rdx, str.STATUS:_Using_existing_manifest:__s
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x180]
call fcn.00465e20
cmp al, r14b
jne 0x458027
lea rdx, str.ERROR:_Failed_to_merge_existing_manifest
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov sil, r14b
jmp 0x4581f4
cmp dword [rbx + 8], 3
sete r8b
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x180]
call fcn.00465614
cmp al, r14b
jne 0x457f4e
lea rdx, str.ERROR:_Failed_to_export_the_Manifest_to_a_file.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov sil, r14b
jmp 0x4581f4
lea rdx, str.STATUS:_Manifest_Exported_Successfully
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea r8, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae r8, qword [rsp + 0x78]
lea rdx, str.STATUS:_Manifest_FileName:__s
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
cmp ebp, esi
jne 0x45802e
mov ebp, 7
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [str.MANIFEST_UIFLAGS]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov r8, rcx
lea rcx, [rsp + 0x38]
call fcn.00404e54
nop
mov r13d, esi
mov dword [rsp + 0x30], esi
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbx + 0x18]
call fcn.00459794
cmp al, r14b
je 0x458022
xor eax, eax
or rcx, 0xffffffffffffffff
mov r9, qword [0x004c2688]
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov qword [rsp + 0x20], rcx
mov r8, qword [rsp + 0xd8]
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.00406604
cmp eax, r14d
je 0x458033
mov dil, sil
jmp 0x458036
mov ebp, 7
jmp 0x458033
mov ebp, 7
mov dil, r14b
test sil, r13b
je 0x458066
and r13d, 0xfffffffe
mov dword [rsp + 0x30], r13d
cmp qword [rsp + 0x58], 8
jb 0x458056
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
cmp dil, r14b
je 0x458090
lea rdx, str.STATUS:_Finished_Generating_Watson_Manifest
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdx, str.STATUS:_Watson_Reporting_Completed_Successfuly.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
jmp 0x45822d
cmp byte [rbx + 0x10], r14b
je 0x4580ae
lea rdx, str.STATUS:_Exiting_because_of_abort
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov sil, r14b
jmp 0x4581f4
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [str.LANG_ID]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov r8, rcx
lea rcx, [rsp + 0x38]
call fcn.00404e54
nop
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbx + 0x18]
call fcn.00459794
cmp al, r14b
sete dil
cmp qword [rsp + 0x58], 8
jb 0x458114
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
cmp dil, r14b
je 0x458141
lea rdx, str.ERROR:_The_Property_bag_collection_did_not_contain_a_LangID_as_expected.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov sil, r14b
jmp 0x4581f4
lea r8, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae r8, qword [rsp + 0xa0]
lea rdx, str.STATUS:_LangID_Set_to:__s
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdx, str.STATUS:_Initializing_Externals...
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xf0]
call fcn.004636dc
cmp al, r14b
jne 0x4581aa
lea rdx, str.ERROR:_Failed_to_initialize_the_Watson_Externals.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov sil, r14b
jmp 0x4581f4
lea rdx, str.STATUS:_Finished_Initializing_Externals
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdx, str.STATUS:_Running_Watson...
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.00461de4
cmp al, r14b
jne 0x458200
lea rdx, str.ERROR:_Failed_to_Launch_Watson.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov sil, r14b
lea rcx, [rsp + 0x70]
call fcn.004574f0
jmp 0x45822d
lea rdx, str.STATUS:_Finished_Running_Watson
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
lea rcx, [rsp + 0xf0]
call fcn.0046324c
lea rdx, str.STATUS:_Watson_Reporting_Completed_Successfuly.
mov rcx, qword [rbx + 0x70]
call fcn.0045fe58
mov byte [rbx + 0x11], sil
mov rcx, rbx
call fcn.00453cc0
lea rcx, [rbx + 0x20]
call fcn.0045cbf0
nop
cmp qword [rsp + 0xb8], 8
jb 0x45825b
mov rcx, qword [rsp + 0xa0]
call fcn.00443d3c
mov edi, 7
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
cmp qword [rsp + 0xe0], 8
jb 0x458291
mov rcx, qword [rsp + 0xc8]
call fcn.00443d3c
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xd8], r14
mov word [rsp + 0xc8], r14w
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp qword [rsp + 0x90], 8
jb 0x4582c9
mov rcx, qword [rsp + 0x78]
call fcn.00443d3c
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r14
mov word [rsp + 0x78], r14w
lea rcx, [rsp + 0xf0]
call fcn.00463628
nop
lea rcx, [rsp + 0x180]
call fcn.00463730
mov al, sil
mov rcx, qword [rsp + 0x630]
xor rcx, rsp
call fcn.00443d60
add rsp, 0x648
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret