Function at 0x41bf10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c2b50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x210], eax
test edi, edi
jne 0x41bfcb
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 0x57
push str.HandleInstallerExitCode
push 0x684
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 0x684
push str.HandleInstallerExitCode
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41bfaf
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
pop edi
mov eax, 0x57
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536ab6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push ebx
sub eax, 0x2d
je 0x41c369
dec eax
je 0x41c130
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 4
push eax
push 4
push str.UpdateState
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b600
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41c071
cmp esi, 2
je 0x41c071
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov edi, eax
push 0
push edi
call fcn.00537300
push esi
push str.HandleInstallerExitCode
push 0x6e6
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 edi
call fcn.00406430
add esp, 0x30
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push 0x6e6
jmp 0x41c585
push 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], 0
push 0
push eax
call fcn.00537300
mov eax, dword [str.4__STATE_FAILED_INSTALLATION_]
add esp, 0xc
test eax, eax
je 0x41c0ac
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 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
push dword [0x5c11f4]
push 0x95
push str.LogState
call fcn.00404610
add esp, 0x40
jmp 0x41c644
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
push dword [0x5c1208]
push 0x95
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 [0x5c11fc]
push 0x95
push str.LogState
call fcn.00404610
push 0
call fcn.0041b0e0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x34
test eax, eax
je 0x41c219
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push 0
push str.HandleInstallerExitCode
push 0x692
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 0x692
push str.HandleInstallerExitCode
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41c212
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 7
push eax
push 4
push str.UpdateState
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b600
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41c2a6
cmp esi, 2
je 0x41c2a6
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov edi, eax
push 0
push edi
call fcn.00537300
push esi
push str.HandleInstallerExitCode
push 0x6a0
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 edi
call fcn.00406430
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x30
push edi
call eax
push edi
push 0x6a0
jmp 0x41c585
mov eax, dword [ebp - 0x210]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c2b3
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push str.EULA_Modified_Ver
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b600
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41c345
cmp esi, 2
je 0x41c345
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov edi, eax
push 0
push edi
call fcn.00537300
push esi
push str.HandleInstallerExitCode
push 0x6a9
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 edi
call fcn.00406430
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x30
push edi
call eax
push edi
push 0x6a9
jmp 0x41c585
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
mov eax, dword [str.7__STATE_EULA_APPROVAL_]
jmp 0x41c5d8
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
push dword [0x5c1204]
push 0x95
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 [0x5c11fc]
push 0x95
push str.LogState
call fcn.00404610
push 0
call fcn.0041b0e0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x34
test eax, eax
je 0x41c452
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push 0
push str.HandleInstallerExitCode
push 0x6b9
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 0x6b9
push str.HandleInstallerExitCode
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41c44b
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 6
push eax
push 4
push str.UpdateState
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b600
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41c4df
cmp esi, 2
je 0x41c4df
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov edi, eax
push 0
push edi
call fcn.00537300
push esi
push str.HandleInstallerExitCode
push 0x6c7
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 edi
call fcn.00406430
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x30
push edi
call eax
push edi
push 0x6c7
jmp 0x41c585
mov eax, dword [ebp - 0x210]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c4f0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push str.EULA_Modified_Ver
push str.SOFTWAREComodoGroupChromodo
call fcn.0040b600
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41c5b9
cmp esi, 2
je 0x41c5b9
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov edi, eax
push 0
push edi
call fcn.00537300
push esi
push str.HandleInstallerExitCode
push 0x6d0
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 edi
call fcn.00406430
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x30
push edi
call eax
push edi
push 0x6d0
push str.HandleInstallerExitCode
call fcn.00404610
add esp, 0xc
test edi, edi
je 0x41c59f
push edi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536ab6
mov esp, ebp
pop ebp
ret
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
mov eax, dword [str.6__STATE_EULA_CANCELED_]
add esp, 0xc
test eax, eax
je 0x41c5f4
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
add esp, 0x28
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00536ab6
mov esp, ebp
pop ebp
ret