Function at 0x40f810
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x5c2b50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x158]
push edi
mov edi, dword [ebp + 0xc]
push 0x40
push 0
push eax
mov dword [ebp - 0x15c], 0
call fcn.00537300
add esp, 0xc
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x118], xmm0
test esi, esi
jne 0x40f8ed
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.RunInstaller
push 0x189
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_systemservices.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 0x189
push str.RunInstaller
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x40f8d1
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
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00537300
push dword [0x5c10e8]
push 0x95
push str.LogState
call fcn.00404610
add esp, 0x18
mov dword [ebp - 0x15c], 0x44
xor eax, eax
mov dword [ebp - 0x130], 1
mov word [ebp - 0x12c], ax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40fa98
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edi, eax
push str._n______________________________________________________________________________________________n
test edi, edi
je 0x40fa09
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push edi
push str.RunInstaller
push 0x19d
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_systemservices.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 0x19d
push str.RunInstaller
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x40f9ef
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
pop ebx
mov eax, edi
pop edi
pop esi
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]
call edi
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
add esp, 0x10
call ebx
push eax
push str.RunInstaller
push 0x19d
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_systemservices.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x19d
push str.RunInstaller
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x40fa7e
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
call ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536ab6
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40fb40
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
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RunInstaller
push 0x1a3
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_systemservices.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x1a3
push str.RunInstaller
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x40fb39
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
mov eax, dword [ebp - 0x118]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x40fb5e
push eax
call esi
mov dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x114]
cmp eax, 0xffffffff
je 0x40fb6c
push eax
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00536ab6
mov esp, ebp
pop ebp
ret