Function at 0x4b7be0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa4
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4c0290
mov edx, dword [ebp + 0x28]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
test esi, esi
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
je 0x4b7c20
mov dword [esi], 0
mov edi, dword [ebp + 0x10]
test edx, edx
je 0x4b7c2d
mov dword [edx], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test edi, edi
je 0x4b7c93
mov ecx, dword [ebp + 0x20]
xor ebx, ebx
test ecx, ecx
je 0x4b7c95
cmp word [edi], 0
je 0x4b7c95
cmp word [ecx], 0
je 0x4b7c93
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x4b7cbc
sub esp, 0xc
mov al, byte [ebp - 0xb0]
lea ecx, [ebp - 0x60]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
jmp 0x4b7cd8
xor ebx, ebx
test eax, eax
js 0x4b7ca6
mov dword [ebp - 0x10], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, esi
mov dword [ebp - 0x50], esi
lea ecx, [ebp - 0x60]
add eax, esi
push eax
push edi
push ecx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x60], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x94]
push eax
push ecx
call fcn.004b7520
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x4b7d2d
mov eax, dword [ebp - 0x60]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b7d23
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b7f8b
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x10], 5
call fcn.004a1d40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x10], 6
push eax
call fcn.004a1b10
add esp, 4
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x10], 7
call fcn.004a1d60
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x10]
test al, al
je 0x4b7e4a
cmp dword [ebp - 0x6c], 0
je 0x4b7e4a
cmp dword [ebp - 0x84], 0
je 0x4b7e4a
xor eax, eax
or ecx, edx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x20], 0
setne al
shl eax, 6
or eax, ecx
mov cl, byte [ebp + 0x2c]
or eax, 0x101
mov dword [ebp - 0x5c], eax
test cl, cl
je 0x4b7ee0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], 8
push 0
push 0
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
js 0x4b7f56
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b7e4a
mov dword [ebp - 0x3c], eax
or byte [ebp - 0x5c], 0xc
jmp 0x4b7ef5
xor ebx, ebx
mov ecx, dword [ebp - 0x68]
cmp ecx, 8
jb 0x4b7e87
mov eax, dword [ebp - 0x7c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b7e7d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b7f97
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.004a1e70
mov ecx, dword [ebp - 0x80]
cmp ecx, 8
jb 0x4b7ed0
mov eax, dword [ebp - 0x94]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b7ec6
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b7fa3
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x64]
test eax, eax
jns 0x4b7c99
jmp 0x4b7ca6
cmp dword [ebp - 0x80], 7
lea eax, [ebp - 0x94]
jbe 0x4b7ef2
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0x68], 7
mov dword [ebp - 0x58], esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x7c]
jbe 0x4b7f1f
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x10], 8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 0x24]
test eax, eax
setne bl
test ecx, ecx
je 0x4b7f44
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x28]
test eax, eax
je 0x4b7f67
test ecx, ecx
je 0x4b7f5a
mov dword [ecx], eax
jmp 0x4b7f67
xor ebx, ebx
jmp 0x4b7f67
push eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b7e4c
mov dword [ebp - 0x10], 2
push eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ebx, dword [ebp - 0x24]
jmp 0x4b7e4c
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 3
call fcn.006207e0
mov dword [ebp - 0x10], 4
call fcn.006207e0
nop
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b8005
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
add esp, 0x14
pop ebp
ret