Function at 0x56c800
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 0x56caf9
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.0042b030
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], 1
mov dword [ebp - 0x50], 1
mov edx, dword [0x5dd9e4]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x56cb18
call fcn.00407404
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00406a1c
cmp dword [ebp - 0x24], 0
je 0x56c8bd
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x22
je 0x56c8bd
push 0x56cb38
push dword [ebp - 0x24]
push 0x56cb38
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040748c
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x56cb48
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.0042b9b0
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 0x56c8f2
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.00408364
test eax, eax
jl 0x56c937
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 0x56cb58
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040748c
inc dword [ebp - 0x34]
dec dword [ebp - 0x38]
jne 0x56c911
push dword [ebp - 0x30]
push 0x56cb68
push 0x56cb90
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
push dword [eax + 0x1fc]
push 0x56cb58
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040748c
push dword [ebp - 0x30]
push 0x56cba0
push 0x56cb90
push dword [ebp - 0x2c]
push 0x56cb58
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040748c
lea eax, [ebp - 0x30]
mov edx, 0x56cb58
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.0042b030
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 0x56ca33
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, 0x56cbd0
call fcn.00407404
mov edx, dword [ebp - 0x90]
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fc70
jmp 0x56cace
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
call fcn.0040726c
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x56cc0c
call fcn.00407404
mov edx, dword [ebp - 0x98]
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f6a0
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.0042efd0
test al, al
je 0x56ca9c
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x56cc3c
call fcn.0043fc70
jmp 0x56caaf
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x56cc64
call fcn.0043fc70
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 0x56cb00
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.00406670
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00406670
ret