Function at 0x40b7f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x551590
push 0x4ef480
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x55f3a4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2a8], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x27c], esi
xor ebx, ebx
mov dword [ebp - 0x280], ebx
mov dword [esi], ebx
test ecx, ecx
je 0x40bb11
test eax, eax
je 0x40bb11
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x56cfb0]
cmp eax, dword [ecx + 4]
jle 0x40b8a1
push 0x56cfb0
call fcn.004af7b6
add esp, 4
cmp dword [0x56cfb0], 0xffffffff
jne 0x40b8a1
mov dword [0x56cfb4], ebx
push 0x56cfb0
call fcn.004af76c
add esp, 4
mov byte [ebp - 0x275], bl
lea edx, [ebp - 0x275]
call fcn.0040c050
mov dword [ebp - 0x294], 0x56b364
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x290], ebx
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x28c]
call fcn.0040ab40
call fcn.004f82c9
mov dword [ebp - 0x238], eax
mov edi, 5
nop dword [eax]
dec edi
mov dword [ebp - 0x2a0], edi
cmp dword [ebp - 0x28c], 0
je 0x40ba3e
cmp dword [ebp - 0x290], 0
jne 0x40ba3e
xor esi, esi
mov dword [ebp - 0x29c], esi
cmp esi, 1
jae 0x40ba06
test ebx, ebx
jne 0x40ba3e
xor edi, edi
mov dword [ebp - 0x298], edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp + esi*4 - 0x294]
call fcn.0040aa30
cmp eax, 4
jne 0x40b9be
push 0x210
push edi
lea eax, [ebp - 0x234]
push eax
call fcn.004efd80
add esp, 8
lea edx, [ebp - 0x234]
mov ecx, dword [ebp + esi*4 - 0x294]
call fcn.0040a570
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x298], edi
test edi, edi
je 0x40b9be
push 0x5477f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b9be
push dword [ebp - 0x27c]
push dword [ebp - 0x288]
push dword [ebp - 0x284]
call eax
mov ebx, eax
mov dword [ebp - 0x280], ebx
test ebx, ebx
jne 0x40b9be
mov eax, dword [ebp - 0x27c]
mov dword [eax], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0040b9fa
inc esi
jmp 0x40b913
test ebx, ebx
jne 0x40ba3e
cmp dword [ebp + 0x10], ebx
je 0x40ba48
call fcn.004f82c9
sub eax, dword [ebp - 0x238]
cmp eax, 0x1388
jg 0x40ba3e
mov edi, dword [ebp - 0x2a0]
test edi, edi
jle 0x40ba3e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jg 0x40b8f0
cmp dword [ebp + 0x10], 0
je 0x40ba48
test ebx, ebx
je 0x40ba50
test ebx, ebx
jne 0x40bb11
xor esi, esi
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x238], esi
xor edi, edi
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 4], 1
push 0x3c
push edi
lea eax, [ebp - 0x274]
push eax
call fcn.004efd80
add esp, 0xc
mov dword [ebp - 0x274], 0x3c
mov dword [ebp - 0x270], 0xd740
call fcn.0040bb70
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x258], 1
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov dword [ebp - 0x280], ebx
test ebx, ebx
je 0x40bb05
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x27c]
mov dword [ecx], eax
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040bb43
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004af60c
mov esp, ebp
pop ebp
ret 0x14