Function at 0x416100
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x5c2b50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x56fa9c
push dword [esi + 4]
call edi
test eax, eax
jne 0x4161d5
cmp dword [ebp + 8], 3
mov eax, 2
mov dword [ebp - 0x20], eax
jne 0x4161bb
push dword [esi + 8]
lea ecx, [ebp - 0x1c]
call fcn.004115c0
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004114c0
cmp dword [ebp - 8], 8
jb 0x41616e
push dword [ebp - 0x1c]
call fcn.0041e8e8
add esp, 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004116d0
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xcc], 1
je 0x416196
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41619d
mov dword [ebp - 0x20], 2
lea ecx, [ebp - 0x78]
call fcn.00411620
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.std::ios_base.0
push eax
call fcn.0055710f
mov eax, dword [ebp - 0x20]
add esp, 4
push eax
call fcn.00412d60
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536ab6
mov esp, ebp
pop ebp
ret
push 0x56fabc
push dword [esi + 4]
call edi
test eax, eax
jne 0x4161f9
call fcn.00411970
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.start
push dword [esi + 4]
call edi
test eax, eax
jne 0x41621d
call fcn.00411bc0
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.stop
push dword [esi + 4]
call edi
test eax, eax
jne 0x416241
call fcn.00412240
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.enable
push dword [esi + 4]
call edi
test eax, eax
jne 0x41626a
push 1
call fcn.004167f0
add esp, 4
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.disable
push dword [esi + 4]
call edi
test eax, eax
jne 0x416292
push eax
call fcn.004167f0
add esp, 4
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.cmc_disable
push dword [esi + 4]
call edi
test eax, eax
jne 0x4162ba
push eax
call fcn.004168a0
add esp, 4
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.cmc_enable
push dword [esi + 4]
call edi
test eax, eax
jne 0x4162e3
push 1
call fcn.004168a0
add esp, 4
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.autostart_disable
push dword [esi + 4]
call edi
test eax, eax
jne 0x41631a
push eax
sub esp, 0x18
mov ecx, esp
push 0x56df70
call fcn.004115c0
call fcn.00416470
add esp, 0x1c
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.autostart_enable
push dword [esi + 4]
call edi
test eax, eax
jne 0x41641f
call fcn.0041e7b0
mov edx, eax
test edx, edx
je 0x41638b
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416340
sub ecx, esi
lea eax, [ecx + edx]
push eax
push edx
lea ecx, [ebp - 0x1c]
call fcn.004110c0
push 1
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00411590
call fcn.00416470
add esp, 0x1c
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.004116a0
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536ab6
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 0x57
push str._n______________________________________________________________________________________________n
call edi
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push ebx
push str.wmain
push 0x97
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_servicemain.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 0x97
push str.wmain
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x416405
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536ab6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], str.ChromodoUpdater
push eax
mov dword [ebp - 0x2c], 0x4131e0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x416456
push str.StartServiceCtrlDispatcher
call fcn.00413280
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