Function at 0x4073ea
Capabilities:
Create process on windows

Disassembly:
push 0xd0
mov eax, 0x470342
call fcn.0045d4e7
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], ecx
cmp eax, ebx
jne 0x407414
mov eax, 0x80070057
jmp 0x4077c5
push 0x40
lea eax, [ebp - 0xd8]
push ebx
push eax
call fcn.0045b990
mov dword [ebp - 0x80], ebx
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov edi, 0x497a28
push edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0xdc], 0x44
call fcn.004037fc
lea eax, [ebp - 0x3c]
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.0042df63
pop ecx
pop ecx
test al, al
jne 0x407471
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00403af7
mov eax, 0x8007000e
jmp 0x4077c5
push edi
lea ecx, [ebp - 0x40]
call fcn.004037fc
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x4076a6
lea ecx, [ebp - 0x70]
call fcn.0042a635
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax - 0xc]
add eax, 5
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403a70
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040a796
mov dword [ebp - 4], 2
jmp 0x4075ae
lea ecx, [ebp - 0x70]
call fcn.0042a5f3
test al, al
je 0x4075d2
lea ecx, [ebp - 0x70]
call fcn.0042a615
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00403af7
jmp 0x40745c
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push dword [ebp - 0x3c]
push str._s__s
push eax
call fcn.0042dc91
add esp, 0x10
lea ecx, [ebp - 0x70]
test al, al
je 0x4075bd
mov byte [ebp - 4], 1
call fcn.0042a615
push dword [ebp - 0x40]
push str.Launching:__s
call fcn.00416edc
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xdc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea esi, [ebp - 0x40]
call fcn.00409edf
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0040a796
cmp esi, ebx
je 0x407788
lea ecx, [ebp - 0x88]
call fcn.0042a49a
push dword [ebp - 0x80]
lea ecx, [ebp - 0x88]
call fcn.0042a52a
lea ecx, [ebp - 0x48]
call fcn.0042a49a
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x48]
call fcn.0042a52a
push str.Create_process_succeeded
call fcn.00416edc
mov esi, dword [ebp - 0x4c]
pop ecx
cmp esi, ebx
je 0x40775b
push 0x64
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4076fe
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], ebx
rep stosd dword es:[edi], eax
jmp 0x4076da
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
call fcn.0042df63
pop ecx
pop ecx
test al, al
jne 0x4075f9
mov esi, 0x8007000e
jmp 0x4077ad
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x4076c6
push 0x64
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x407697
mov esi, dword [ebp - 0x4c]
push esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esi]
push str.Process_returned:_0x_08x
test eax, eax
jne 0x407754
call fcn.00416edc
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DING::CUtils::ExecuteProgramEx_302__:_GetExitCodeProcess_failed:_0x_08x
call fcn.00416f04
cmp esi, ebx
pop ecx
pop ecx
jle 0x40773f
and esi, 0xffff
or esi, 0x80070000
lea ecx, [ebp - 0x48]
call fcn.0042a51f
lea ecx, [ebp - 0x88]
call fcn.0042a51f
jmp 0x4077ad
call fcn.00416edc
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
call fcn.0042a51f
lea ecx, [ebp - 0x88]
call fcn.0042a51f
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00403af7
xor eax, eax
jmp 0x4077c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DING::CUtils::ExecuteProgramEx_312__:_failed_to_launch:_0x_08x
call fcn.00416f04
cmp esi, ebx
pop ecx
pop ecx
jle 0x4077ad
and esi, 0xffff
or esi, 0x80070000
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00403af7
mov eax, esi
call fcn.0045d543
ret