Function at 0x407ab0
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c1d3
mov eax, dword fs:[0]
push eax
mov eax, 0x10298
call fcn.005315c0
mov eax, dword [0x5c41c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x10245], cl
xor eax, eax
mov dword [ebp - 4], 0
push 0xfffe
push eax
mov word [ebp - 0x10010], ax
lea eax, [ebp - 0x1000e]
push eax
call fcn.0052f810
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10010]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea eax, [ebp - 0x102a0]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x10258], xmm0
call fcn.0052f810
add esp, 0x20
mov dword [ebp - 0x102a0], 0x44
cmp byte [ebp - 0x10245], 0
jne 0x407b66
xor eax, eax
mov dword [ebp - 0x10274], 1
mov word [ebp - 0x10270], ax
xor edi, edi
jmp 0x407b70
lea eax, [ebp - 0x10258]
push eax
lea eax, [ebp - 0x102a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x407c86
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 5
jne 0x407c6a
lea eax, [ebp - 0x10010]
push eax
push str._inst.exe__ERROR_:_Fail_to_create_a_process_with_commnad___s._n
call fcn.00406e60
add esp, 8
call fcn.004081fd
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x407c7c
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10244], eax
push 0x17
push str.Error_:_CreatePrecess_r_n
lea ecx, [ebp - 0x10244]
mov byte [ebp - 4], 1
call fcn.00406ca0
cmp dword [ebp + 0x1c], 8
jb 0x407c18
mov edx, dword [ebp + 8]
test edx, edx
jne 0x407c1b
xor ecx, ecx
jmp 0x407c2f
lea edx, [ebp + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407c20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10244]
call fcn.00407df0
mov esi, dword [ebp - 0x10244]
push 0
push 0
push esi
call fcn.0040d84a
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407c6a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, 5
jl 0x407b70
mov esi, dword [ebp - 0x10244]
jmp 0x407cb0
push 0x80004005
call fcn.00404dc0
mov esi, dword [ebp - 0x10250]
push 0xffffffffffffffff
push dword [ebp - 0x10258]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10258]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x10254]
call edi
push 0x228
xor edi, edi
mov dword [ebp - 0x10240], 0x22c
lea eax, [ebp - 0x1023c]
push edi
push eax
call fcn.0052f810
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x10240]
mov dword [ebp - 0x10244], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x407d19
cmp dword [ebp - 0x10228], esi
je 0x407d13
lea eax, [ebp - 0x10240]
push eax
push dword [ebp - 0x10244]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x407cf2
jmp 0x407d19
mov edi, dword [ebp - 0x10238]
push dword [ebp - 0x10244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x407d78
push edi
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x3c
jg 0x407d64
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x407d38
jmp 0x407d78
lea eax, [ebp - 0x10010]
push eax
push str._inst.exe__WARNING_:_Stop_waiting_for_the_child_process_termination_because_of_the_time_out._command___s_n
call fcn.00406e60
add esp, 8
cmp dword [ebp + 0x1c], 8
jb 0x407d89
push dword [ebp + 8]
call fcn.00407eec
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d978
mov esp, ebp
pop ebp
ret