Function at 0x1804cfc5
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x28], eax
call fcn.1801f86a
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
and dword [ebp - 0x10], 0
call fcn.1804dc1e
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1804d0ab
mov ecx, 0x181d34a0
call fcn.180267f1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call fcn.1804d2c3
mov esi, eax
test esi, esi
jns 0x1804d07f
movzx ecx, byte [0x181d805a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d7f50
je 0x1804d07f
push 7
pop edx
push 2
pop eax
lfence
push eax
push edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
call fcn.18008b3f
push esi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push str._ReadParamsFromCustomInfoFile_failed___08x_
push eax
call fcn.18007210
add esp, 0xc
and dword [ebp - 8], 0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.1804db67
mov esi, dword [ebp - 8]
push str.MicrosoftEdgeUpdate.exe
push esi
call fcn.18139f72
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.18006f52
mov esi, dword [ebp - 0x2c]
jmp 0x1804d0c0
mov ecx, 0x181d33a0
call fcn.180267f1
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.1804d480
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push 0
push eax
push 4
mov edx, str.AlwaysAllowCrashUploads
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDev_
call fcn.1801a2f1
and dword [ebp - 0x1c], 0
lea edx, [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.1804dbe4
and dword [ebp - 0x18], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 0x18]
call fcn.1800768f
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x34], eax
movzx eax, byte [esi]
push str.guid
mov dword [ebp - 0x38], eax
call fcn.180074da
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.1804da8c
lea ecx, [ebp - 0xc]
mov dword [esp], str.lang
mov edi, dword [eax]
call fcn.180074da
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.1804da8c
lea ecx, [ebp - 8]
mov dword [esp], 0x181ae9ec
mov esi, dword [eax]
call fcn.180074da
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.1804da8c
pop ecx
push dword [ebp - 0x34]
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
push 1
setne cl
push ecx
push dword [ebp - 0x38]
push edi
push esi
push dword [eax]
lea eax, [ebp - 0x18]
push dword [ebp - 0x1c]
push str._s_has_encountered_a_fatal_error._r_nver_s_lang_s_guid_s_is_machine_d_oop_d_upload_d_minidump_s
push eax
call fcn.1801692d
mov ecx, dword [ebp - 0x3c]
add esp, 0x28
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.18006f52
mov eax, dword [ebp - 0x18]
xor edi, edi
push edi
push edi
mov dword [ebp - 0x24], eax
xor edx, edx
lea eax, [ebp - 0x24]
inc edx
push eax
push ecx
push 1
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.180b09af
add esp, 0x18
mov dword [ebp - 8], edi
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
lea ecx, [ebp - 8]
call fcn.18007526
mov esi, dword [ebp - 0x44]
mov ecx, dword [esi]
call fcn.18010616
test al, al
jne 0x1804d220
mov edi, 0x80070002
jmp 0x1804d262
lea edx, [ebp - 0x14]
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0xc]
call fcn.1804db67
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.1804d87c
mov ecx, esi
call fcn.1801d78f
mov edi, eax
mov ecx, 0x181d33c0
test edi, edi
js 0x1804d252
mov ecx, 0x181d3240
call fcn.180267f1
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x30], 0
je 0x1804d27b
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x2c]
call fcn.1804d92e
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.18006f52
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.18006f52
lea ecx, [ebp - 0x14]
call fcn.1804dc47
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1811d8d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8