Function at 0x56f590
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
xor ebx, ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56f889
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x7c]
mov edx, 0x44
call fcn.0042b000
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], 1
mov dword [ebp - 0x50], 1
mov edx, dword [0x5df8e4]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x56f8a8
call fcn.00407404
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00406a1c
cmp dword [ebp - 0x24], 0
je 0x56f64d
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x22
je 0x56f64d
push 0x56f8c8
push dword [ebp - 0x24]
push 0x56f8c8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040748c
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x56f8d8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.0042b980
mov eax, dword [ebp - 0x28]
call fcn.00407214
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
je 0x56f682
mov eax, dword [ebp - 0xc]
call fcn.00407214
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
call fcn.00406610
mov eax, dword [ebp + 0xc]
call fcn.00408318
test eax, eax
jl 0x56f6c7
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
push dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
push dword [eax + edx*4]
push 0x56f8e8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040748c
inc dword [ebp - 0x34]
dec dword [ebp - 0x38]
jne 0x56f6a1
push dword [ebp - 0x30]
push 0x56f8f8
push 0x56f920
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
push dword [eax + 0x1fc]
push 0x56f8e8
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040748c
push dword [ebp - 0x30]
push 0x56f930
push 0x56f920
push dword [ebp - 0x2c]
push 0x56f8e8
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040748c
lea eax, [ebp - 0x30]
mov edx, 0x56f8e8
call fcn.004073ac
mov eax, dword [ebp - 0x30]
call fcn.00407214
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x8c]
mov edx, 0x10
call fcn.0042b000
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x404
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x56f7c3
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetLastError
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x18]
call fcn.0040726c
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x56f960
call fcn.00407404
mov edx, dword [ebp - 0x90]
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f8a0
jmp 0x56f85e
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
call fcn.0040726c
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x56f99c
call fcn.00407404
mov edx, dword [ebp - 0x98]
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f2d0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x8c]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
call fcn.0042efa0
test al, al
je 0x56f82c
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x56f9cc
call fcn.0043f8a0
jmp 0x56f83f
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x56f9f4
call fcn.0043f8a0
push 0x6f
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 0x88]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 0x88]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56f890
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.00406670
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00406670
ret