Function at 0x417930
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, dword [esi]
test ebx, ebx
jne 0x4179c9
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 ebx
push esi
call fcn.00537300
push 0x57
push str.AddParamToString
push 0x179
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 0x179
push str.AddParamToString
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x4179b8
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
pop edi
pop esi
mov eax, 0x57
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
test edx, edx
jne 0x417a31
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.AddParamToString
push 0x17c
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 0x17c
jmp 0x41799e
mov ecx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417a36
sub ecx, edi
lea edi, [edx + 2]
sar ecx, 1
jmp 0x417a50
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x417a50
sub edx, edi
lea eax, [ecx + 0x104]
sar edx, 1
add eax, edx
push 2
push eax
mov dword [ebp + 0xc], eax
call fcn.00536986
mov edi, eax
add esp, 8
test edi, edi
jne 0x417b06
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 8
push str.AddParamToString
push 0x184
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 0x184
push str.AddParamToString
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x417af5
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
pop edi
pop esi
mov eax, 8
pop ebx
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push edi
call fcn.00538094
push dword [ebp + 8]
push ebx
push edi
call fcn.00538782
mov eax, dword [esi]
add esp, 0x18
test eax, eax
je 0x417b33
push eax
call fcn.005369c6
add esp, 4
mov dword [esi], 0
mov dword [esi], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret