Function at 0x1803655e
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, 0x48
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
call fcn.1801a8a4
and dword [ebp - 0x34], 0
push 0x40
call fcn.1814d7d1
mov esi, dword [ebx + 0xc]
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1803662b
mov ecx, 0x18210328
call fcn.1801f0d2
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.18036829
mov esi, eax
test esi, esi
jns 0x18036606
movzx ecx, byte [0x18217983]
neg ecx
sbb ecx, ecx
and ecx, 0x18217880
je 0x18036606
push 7
pop edx
push 2
pop eax
push eax
push edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
call fcn.18008988
push esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push str._ReadParamsFromCustomInfoFile_failed___08x_
push eax
call fcn.18006aa4
add esp, 0xc
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x14]
call fcn.1803704d
mov esi, dword [ebp - 0x14]
push str.MicrosoftEdgeUpdate.exe
push esi
call fcn.181692e2
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.1800687d
jmp 0x18036640
mov ecx, 0x18210248
call fcn.1801f0d2
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.1803698f
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push 4
mov edx, str.AlwaysAllowCrashUploads
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDev_
call fcn.1801661d
add esp, 0xc
lea edx, [ebp - 0x38]
lea ecx, [ebp - 8]
call fcn.180370b1
lea ecx, [ebp - 4]
call fcn.18009c8e
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x14]
push str.guid
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
movzx eax, byte [edi]
mov dword [ebp - 0x24], eax
call fcn.18006d98
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x30]
call fcn.18036fc7
lea ecx, [ebp - 0x10]
mov dword [esp], str.lang
mov edi, dword [eax]
call fcn.18006d98
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x2c]
call fcn.18036fc7
lea ecx, [ebp - 0xc]
mov dword [esp], 0x181e3cc0
mov esi, dword [eax]
call fcn.18006d98
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.18036fc7
pop ecx
push dword [ebp - 0x20]
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
push 1
setne cl
push ecx
push dword [ebp - 0x24]
push edi
push esi
push dword [eax]
lea eax, [ebp - 4]
push dword [ebp - 8]
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.18013d2c
mov ecx, dword [ebp - 0x28]
add esp, 0x28
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1800687d
mov eax, dword [ebp - 4]
push 0
push 0
mov dword [ebp - 0x30], eax
xor edx, edx
lea eax, [ebp - 0x30]
inc edx
push eax
push ecx
push 1
push ecx
mov ecx, dword [ebp - 8]
call fcn.180847d5
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.18009c8e
lea ecx, [ebp - 0x10]
call fcn.18006df7
mov esi, dword [ebx + 8]
mov ecx, dword [esi]
call fcn.1800e6f7
test al, al
jne 0x1803678f
mov edi, dword [ebp - 0x18]
mov esi, 0x80070002
jmp 0x180367d0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x14]
call fcn.1803704d
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push esi
mov ecx, edi
call fcn.18036da4
mov ecx, esi
call fcn.18018c29
mov esi, eax
mov ecx, 0x18210268
test esi, esi
js 0x180367c0
mov ecx, 0x182100e8
call fcn.1801f0d2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov eax, dword [ebx + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x1c], 0
je 0x180367ec
mov eax, dword [ebx + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.18036e30
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.1800687d
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.1800687d
lea ecx, [ebp - 0x38]
call fcn.180370e8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8