Function at 0x40bc57
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0040dd4f
or esi, 0xffffffff
test eax, eax
jne 0x40bce8
push esi
push dword [ebp + 0xc]
call fcn.0040d376
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
call fcn.0040d376
push esi
push dword [ebp + 0x14]
mov ebx, eax
call fcn.0040d376
push esi
push dword [ebp + 0x18]
mov edi, eax
call fcn.0040d376
add esp, 0x20
mov esi, eax
push dword [ebp + 0x1c]
push esi
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40bcbf
push eax
call fcn.00451c94
pop ecx
test ebx, ebx
je 0x40bcca
push ebx
call fcn.00451c94
pop ecx
test edi, edi
je 0x40bcd5
push edi
call fcn.00451c94
pop ecx
test esi, esi
je 0x40bce0
push esi
call fcn.00451c94
pop ecx
mov eax, dword [ebp - 8]
jmp 0x40be71
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov edi, eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], eax
je 0x40bd41
push eax
push eax
push esi
push dword [ebp + 0xc]
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451c8b
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x40bd3f
push dword [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
cmp dword [ebp + 0x10], ebx
je 0x40bd8d
push eax
push eax
push esi
push dword [ebp + 0x10]
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451c8b
mov dword [ebp - 8], eax
pop ecx
test eax, eax
je 0x40bd8d
push dword [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x10]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp + 0x14], ebx
je 0x40bdda
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 0x14]
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451c8b
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40bdda
push dword [ebp - 0xc]
push ebx
push esi
push dword [ebp + 0x14]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp + 0x18], edi
je 0x40be27
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 0x18]
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451c8b
mov edi, eax
pop ecx
test edi, edi
je 0x40be27
push dword [ebp - 0xc]
push edi
push esi
push dword [ebp + 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp + 0x1c]
mov esi, dword [ebp - 8]
push edi
push ebx
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40be4d
push eax
call fcn.00451c94
pop ecx
test esi, esi
je 0x40be58
push esi
call fcn.00451c94
pop ecx
test ebx, ebx
je 0x40be63
push ebx
call fcn.00451c94
pop ecx
test edi, edi
je 0x40be6e
push edi
call fcn.00451c94
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret