Function at 0x41b0e0
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c2b50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x5700d4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
mov dword [ebp - 0x210], 0
call fcn.0040b180
mov edi, eax
add esp, 8
test edi, edi
je 0x41b1b4
cmp edi, 2
je 0x41b1b4
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push edi
push str.ErasePendingUpdate
push 0x19b
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x19b
push str.ErasePendingUpdate
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41b19a
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536ab6
mov esp, ebp
pop ebp
ret
push str.UpdateLimit
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b180
mov edi, eax
add esp, 8
test edi, edi
je 0x41b231
cmp edi, 2
je 0x41b231
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push edi
push str.ErasePendingUpdate
push 0x1a1
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x1a1
jmp 0x41b180
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 4
push str.UpdateState
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b600
mov edi, eax
add esp, 0x14
test edi, edi
je 0x41b2c3
cmp edi, 2
je 0x41b2c3
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push edi
push str.ErasePendingUpdate
push 0x1ac
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x1ac
jmp 0x41b180
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
mov eax, dword [str.0__STATE_ALL_UP_TO_DATE_]
add esp, 0xc
test eax, eax
je 0x41b2fe
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00537b6a
add esp, 0xc
push 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], 0
push 0
push eax
call fcn.00537300
lea eax, [ebp - 0x108]
push eax
push str.Update_state_value_changed_to:__s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00406430
lea eax, [ebp - 0x20c]
push eax
push 0x8f
push str.LogState
call fcn.00404610
lea eax, [ebp - 0x210]
push eax
push str.chromodo_setup.exe
call fcn.0041bb80
mov edi, eax
add esp, 0x30
test edi, edi
je 0x41b3c5
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push edi
push str.ErasePendingUpdate
push 0x1b3
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x1b3
jmp 0x41b180
cmp dword [ebp + 8], 0
mov esi, dword [ebp - 0x210]
je 0x41b3d8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x41b3e5
push esi
call fcn.005369c6
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00536ab6
mov esp, ebp
pop ebp
ret