Function at 0x40c2b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5c2b50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x20]
push 4
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x210]
push eax
push 4
push str.UpdateState
push str.SOFTWAREComodoGroupChromodo
mov dword [ebp - 0x210], 1
call fcn.0040b600
mov edi, eax
add esp, 0x14
test edi, edi
je 0x40c3b9
cmp edi, 2
je 0x40c3b9
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.DownFileFunctionWithRegNotification
push 0x1d0
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicewinhttp_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 0x1d0
push str.DownFileFunctionWithRegNotification
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x40c39f
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 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], 0
push 0
push eax
call fcn.00537300
mov eax, dword [str.1__STATE_DOWNLOADING_UPDATE_]
add esp, 0xc
test eax, eax
je 0x40c3f4
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00537b6a
add esp, 0xc
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
lea eax, [ebp - 0x20c]
push eax
push str.Update_state_value_changed_to:__s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00406430
lea eax, [ebp - 0x108]
push eax
push 0x8f
push str.LogState
call fcn.00404610
push dword [ebp - 0x220]
push dword [ebp - 0x218]
push 0
push dword [ebp - 0x214]
push ebx
push esi
call fcn.0040c660
add esp, 0x40
test eax, eax
jne 0x40c3a6
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 3
push eax
push 4
push str.UpdateState
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b600
mov edi, eax
add esp, 0x14
test edi, edi
je 0x40c4f9
cmp edi, 2
je 0x40c4f9
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.DownFileFunctionWithRegNotification
push 0x1e4
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicewinhttp_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 0x1e4
jmp 0x40c385
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
mov eax, dword [str.3__STATE_FAILED_UPDATE_]
add esp, 0xc
test eax, eax
je 0x40c534
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
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
push dword [0x5c1084]
push 0x95
push str.LogState
call fcn.00404610
add esp, 0x40
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call edi
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push 0x3eb
push str.DownFileFunctionWithRegNotification
push 0x1eb
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicewinhttp_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 0x1eb
push str.DownFileFunctionWithRegNotification
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x40c638
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
mov ecx, dword [ebp - 4]
mov eax, 0x3eb
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00536ab6
mov esp, ebp
pop ebp
ret