Function at 0x4be888
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4be891
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405948
mov eax, dword [ebp + 8]
call fcn.00405948
xor eax, eax
push ebp
push 0x4beed5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4be8e5
mov eax, ebx
dec eax
sub al, 2
jb case.0x4be8f2.0
sub al, 3
je case.0x4be8f2.0
sub al, 4
je case.0x4be8f2.0
xor eax, eax
mov al, bl
cmp eax, 0xf
ja case.0x4be8f2.0
jmp dword [eax*4 + 0x4be8f9]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0048982c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00405520
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.0048982c
mov edx, dword [ebp - 0x14]
lea eax, [ebp + 8]
call fcn.00405520
push 1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040cd1c
mov eax, dword [ebp - 0x18]
call fcn.00405958
push eax
mov eax, dword [ebp + 8]
call fcn.00405958
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
push 0x4beee8
mov eax, dword [0x4fc404]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4be8f2.0
push 0x4beef8
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
push 0x4bef08
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00405818
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040c284
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x4fc47c]
call fcn.00407618
mov eax, dword [ebp - 0x30]
xor ecx, ecx
pop edx
call fcn.0040d604
mov ecx, dword [ebp - 0x1c]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004be888
jmp case.0x4be8f2.0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0048982c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.00405520
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
push 0
mov eax, dword [0x4fc404]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4be8f2.0
push 0x4beef8
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x4fc05c]
call fcn.00407618
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040d604
mov ecx, dword [ebp - 0x38]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004be888
jmp case.0x4be8f2.0
cmp dword [ebp - 8], 0
jne 0x4beaa8
lea eax, [ebp - 8]
mov edx, 0x4bef14
call fcn.00405520
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0048982c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.00405520
xor eax, eax
push ebp
push 0x4beae0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040c6b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4beaec
dec bl
je 0x4beafa
dec bl
je 0x4beb0e
dec bl
je 0x4beb22
jmp 0x4beb36
lea eax, [ebp - 0xc]
mov edx, 0x4bef28
call fcn.00405520
mov ebx, 3
jmp 0x4beb48
lea eax, [ebp - 0xc]
mov edx, 0x4bef38
call fcn.00405520
mov ebx, 9
jmp 0x4beb48
lea eax, [ebp - 0xc]
mov edx, 0x4bef38
call fcn.00405520
mov ebx, 3
jmp 0x4beb48
lea eax, [ebp - 0xc]
mov edx, 0x4bef28
call fcn.00405520
mov ebx, 9
push ebx
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405958
push eax
mov eax, dword [0x4fc404]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4be8f2.0
push 0x4beef8
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [0x4fc498]
call fcn.00407618
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040d604
mov ecx, dword [ebp - 0x44]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004be888
jmp case.0x4be8f2.0
cmp dword [ebp - 8], 0
jne 0x4bebce
lea eax, [ebp - 8]
mov edx, 0x4bef48
call fcn.00405520
jmp 0x4bebef
mov edx, dword [ebp - 8]
mov eax, 0x4bef5c
call fcn.00405a9c
test eax, eax
jne 0x4bebef
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x4bef68
call fcn.004057a4
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
push 0x4beee8
mov eax, dword [0x4fc404]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp case.0x4be8f2.0
mov al, byte [0x4bef70]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x4bef7c
mov edx, 0x4bef08
mov eax, dword [ebp + 8]
call fcn.004114e4
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.00405520
push 1
push 0
push 0
push 0x4bef88
push dword [ebp - 8]
push 0x4bef98
push dword [ebp + 8]
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00405818
mov eax, dword [ebp - 0x50]
call fcn.00405958
push eax
push 0x4beee8
mov eax, dword [0x4fc404]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp case.0x4be8f2.0
mov eax, dword [ebp - 4]
mov edx, dword [0x4d940c]
call fcn.004047d0
test al, al
je 0x4bed45
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3cc], 0
je 0x4bed45
mov al, byte [0x4bef70]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x4befac
mov edx, 0x4befb8
mov eax, dword [ebp - 8]
call fcn.004114e4
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 8]
call fcn.00405520
mov eax, dword [ebp + 8]
mov edx, 0x4beef8
call fcn.004058a4
jne 0x4bed13
push 0x30
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00448e30
mov eax, dword [ebp - 0x58]
call fcn.00405958
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
mov edx, eax
mov eax, dword [0x4fc404]
mov eax, dword [eax]
pop ecx
call fcn.00469044
jmp case.0x4be8f2.0
push 0x40
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00448e30
mov eax, dword [ebp - 0x5c]
call fcn.00405958
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
mov edx, eax
mov eax, dword [0x4fc404]
mov eax, dword [eax]
pop ecx
call fcn.00469044
jmp case.0x4be8f2.0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x240]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004be308
jmp case.0x4be8f2.0
mov eax, dword [ebp - 4]
mov edx, dword [0x4d940c]
call fcn.004047d0
test al, al
je case.0x4be8f2.0
xor edx, edx
push ebp
push 0x4bedf7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov edx, 0x4befc4
call fcn.004058a4
jne 0x4bedae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
dec eax
mov edx, dword [ebp - 4]
cmp byte [edx + 0x300], 0
je 0x4bedd1
test eax, eax
jne 0x4bedd1
inc eax
jmp 0x4bedd1
mov eax, dword [ebp - 8]
mov edx, 0x4befd4
call fcn.004058a4
jne 0x4bedc9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
inc eax
jmp 0x4bedd1
mov eax, dword [ebp - 8]
call fcn.0040c6b8
test eax, eax
jl 0x4bedea
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x364]
jg 0x4bedea
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004dbc24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4be8f2.0
push 0
push 0xf020
push 0x112
mov eax, dword [ebp - 4]
call fcn.0044f650
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4be8f2.0
mov eax, dword [ebp - 8]
mov edx, 0x4befe4
call fcn.004058a4
sete dl
mov eax, dword [ebp - 4]
call fcn.004dcae0
jmp case.0x4be8f2.0
mov eax, dword [ebp - 8]
mov edx, 0x4befe4
call fcn.004058a4
sete dl
mov eax, dword [ebp - 4]
call fcn.004dcaf4
jmp case.0x4be8f2.0
mov eax, dword [ebp - 4]
call fcn.00465674
jmp case.0x4be8f2.0
mov eax, dword [ebp - 4]
call fcn.00465674
xor eax, eax
push ebp
push 0x4bee8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fc168]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.004be648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4be8f2.0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4beedc
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004054ac
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.004054ac
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004054ac
lea eax, [ebp + 8]
call fcn.00405488
ret