Function at 0x40c660
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b360
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5c2b50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea edi, [ebx + 1]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40c738
push str._n______________________________________________________________________________________________n
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call edi
push 0x800
call fcn.005369fe
mov esi, eax
push 0x800
push ebx
push esi
call fcn.00537300
push 0x57
push str.DownloadFileFunction
push 0x146
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 0x146
push str.DownloadFileFunction
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x40c71d
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], ebx
jne 0x40c79e
push str._n______________________________________________________________________________________________n
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call edi
push 0x800
call fcn.005369fe
mov esi, eax
push 0x800
push 0
push esi
call fcn.00537300
push 0x57
push str.DownloadFileFunction
push 0x14c
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 0x14c
jmp 0x40c703
cmp dword [ebp + 0x10], ebx
jne 0x40c804
push str._n______________________________________________________________________________________________n
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call edi
push 0x800
call fcn.005369fe
mov esi, eax
push 0x800
push 0
push esi
call fcn.00537300
push 0x57
push str.DownloadFileFunction
push 0x152
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 0x152
jmp 0x40c703
push eax
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push dword [ebp + 0xc]
call esi
call fcn.00420a69
mov dword [eax + 0x10], str.ChromodoUpdater
mov dword [ebp - 4], 0
push 0x14
call fcn.0041e8bb
add esp, 4
test eax, eax
je 0x40c848
push 0
push 0
push 0
push 0
push 1
push 0
mov ecx, eax
call fcn.00420d24
jmp 0x40c84a
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x40c8df
xor edi, edi
mov dword [ebp - 0x14], edi
push str._n______________________________________________________________________________________________n
call esi
push 0x800
call fcn.005369fe
mov ebx, eax
push 0x800
push edi
push ebx
call fcn.00537300
push 0x57
push str.DownloadFileFunction
push 0x162
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 ebx
call fcn.00406430
add esp, 0x30
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push 0x162
push str.DownloadFileFunction
call fcn.00404610
add esp, 0xc
test ebx, ebx
je 0x40c8cc
push ebx
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call esi
mov dword [ebp - 4], 0xffffffff
jmp 0x40ccba
push eax
call fcn.0040e050
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40c985
xor edi, edi
mov dword [ebp - 0x14], edi
push str._n______________________________________________________________________________________________n
call esi
push 0x800
call fcn.005369fe
mov dword [ebp + 8], eax
push 0x800
push edi
push eax
call fcn.00537300
push dword [ebp - 0x28]
push str.DownloadFileFunction
push 0x169
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 dword [ebp + 8]
call fcn.00406430
add esp, 0x30
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
push 0x169
push str.DownloadFileFunction
call fcn.00404610
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c972
push eax
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call esi
mov dword [ebp - 4], 0xffffffff
jmp 0x40cc90
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.0040d540
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40ca2d
xor edi, edi
mov dword [ebp - 0x14], edi
push str._n______________________________________________________________________________________________n
call esi
push 0x800
call fcn.005369fe
mov ebx, eax
push 0x800
push edi
push ebx
call fcn.00537300
push dword [ebp - 0x28]
push str.DownloadFileFunction
push 0x173
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 ebx
call fcn.00406430
add esp, 0x30
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push 0x173
push str.DownloadFileFunction
call fcn.00404610
add esp, 0xc
test ebx, ebx
je 0x40ca1a
push ebx
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call esi
mov dword [ebp - 4], 0xffffffff
jmp 0x40cc8d
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x18]
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0040c0d0
add esp, 0xc
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40caae
xor edi, edi
mov dword [ebp - 0x14], edi
push str._n______________________________________________________________________________________________n
call esi
push 0x800
call fcn.005369fe
mov dword [ebp + 8], eax
push 0x800
push edi
push eax
call fcn.00537300
push dword [ebp - 0x28]
push str.DownloadFileFunction
push 0x17e
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 dword [ebp + 8]
call fcn.00406430
add esp, 0x30
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
push 0x17e
jmp 0x40c955
cmp dword [ebp - 0x20], 1
jne 0x40cad5
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
push 0
push 0xa
call fcn.0040da80
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x40cc90
push str..inf
push dword [ebp + 8]
call fcn.0040e340
add esp, 8
test eax, eax
je 0x40caf6
cmp dword [ebp + 0x14], 0
jne 0x40caf6
push dword [ebp + 8]
push 8
jmp 0x40cb1b
push str..inf
push dword [ebp + 8]
call fcn.0040e340
add esp, 8
test eax, eax
je 0x40cb17
cmp dword [ebp + 0x14], 0
je 0x40cb17
push dword [ebp + 8]
push 9
jmp 0x40cb1b
push 0
push 0xe
call fcn.0040da80
add esp, 8
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040cd00
add esp, 0xc
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40cba0
xor edi, edi
mov dword [ebp - 0x14], edi
push str._n______________________________________________________________________________________________n
call esi
push 0x800
call fcn.005369fe
mov dword [ebp + 8], eax
push 0x800
push edi
push eax
call fcn.00537300
push dword [ebp - 0x28]
push str.DownloadFileFunction
push 0x195
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 dword [ebp + 8]
call fcn.00406430
add esp, 0x30
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
push 0x195
jmp 0x40c955
push str..inf
push dword [ebp + 8]
call fcn.0040e340
add esp, 8
push 0
test eax, eax
je 0x40cbcc
push 0xb
call fcn.0040da80
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x40cc90
push 0xf
call fcn.0040da80
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x40cc90
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40cca6
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test ebx, ebx
je 0x40ccba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x50]
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
push str._n_Download_Function_Exit__n
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret