Function at 0x56c270
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 0x56c569
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.0042b0a0
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], 1
mov dword [ebp - 0x50], 1
mov edx, dword [0x5dc9c4]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x56c588
call fcn.00407404
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00406a1c
cmp dword [ebp - 0x24], 0
je 0x56c32d
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x22
je 0x56c32d
push 0x56c5a8
push dword [ebp - 0x24]
push 0x56c5a8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040748c
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x56c5b8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.0042ba20
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 0x56c362
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 0x56c3a7
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 0x56c5c8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040748c
inc dword [ebp - 0x34]
dec dword [ebp - 0x38]
jne 0x56c381
push dword [ebp - 0x30]
push 0x56c5d8
push 0x56c600
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
push dword [eax + 0x1fc]
push 0x56c5c8
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040748c
push dword [ebp - 0x30]
push 0x56c610
push 0x56c600
push dword [ebp - 0x2c]
push 0x56c5c8
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040748c
lea eax, [ebp - 0x30]
mov edx, 0x56c5c8
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.0042b0a0
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 0x56c4a3
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, 0x56c640
call fcn.00407404
mov edx, dword [ebp - 0x90]
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fce0
jmp 0x56c53e
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
call fcn.0040726c
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x56c67c
call fcn.00407404
mov edx, dword [ebp - 0x98]
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f710
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.0042f040
test al, al
je 0x56c50c
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x56c6ac
call fcn.0043fce0
jmp 0x56c51f
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x56c6d4
call fcn.0043fce0
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 0x56c570
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.00406670
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00406670
ret