Function at 0x4b0a40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov eax, dword [ebp - 4]
call fcn.00408b50
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
push fcn.004b0a00
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4b0aa0
jmp 0x4b0aa8
jmp 0x4b0cbd
lea ebx, [ebp - 0x10]
mov eax, ebx
call fcn.0040a350
lea esi, [ebp - 0x14]
mov eax, esi
call fcn.0040a350
mov edx, esi
mov eax, ebx
call fcn.004b05a0
test al, al
jne 0x4b0ace
jmp 0x4b0c6d
mov edx, dword [ebp - 0x14]
mov ecx, 1
mov eax, 0x5b5d8c
call fcn.0040ac80
cmp eax, 0
jg 0x4b0aea
jmp 0x4b0bcd
mov edx, dword [ebp - 0x14]
mov ecx, 1
mov eax, 0x5b5c3c
call fcn.0040ac80
test eax, 0xffffffff
je 0x4b0b05
jmp 0x4b0b44
cmp byte [ebp - 8], 0
jne 0x4b0b0d
jmp 0x4b0b44
mov eax, dword [ebp - 0x10]
call fcn.004b01a0
test al, al
je 0x4b0b1b
jmp 0x4b0b44
push 0
mov eax, 0x5b5bf4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, 0x5b5bf4
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408f10
nop
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
call fcn.0040b340
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4b0b62
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4b0b6e
mov eax, 0x5ef2f0
call fcn.0042fa00
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0xb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, 0
call fcn.0044add0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
call fcn.00408b80
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x4b0ba9
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4b0bb5
mov eax, 0x5ef2f0
lea ecx, [ebp - 0x34]
call fcn.0042f950
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x14]
call fcn.0040b310
jmp 0x4b0c3d
cmp byte [ebp - 8], 0
jne 0x4b0bd5
jmp 0x4b0c14
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x20
call fcn.00409b00
cmp eax, 0
jg 0x4b0beb
jmp 0x4b0c14
push 0
mov eax, 0x5b5bf4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, 0x5b5bf4
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408f10
nop
mov edx, dword [ebp - 4]
test edx, edx
je 0x4b0c1e
mov edx, dword [edx - 4]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b0c2a
mov eax, 0x5ef2f0
lea ecx, [ebp - 0x34]
call fcn.0042f950
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x14]
call fcn.0040b310
push 1
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4b0c4d
mov eax, 0x5ef2f0
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4b0c5a
mov eax, 0x5ef2f0
push eax
mov eax, str.open
push eax
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x18], eax
jmp 0x4b0cb5
mov edx, dword [ebp - 4]
test edx, edx
je 0x4b0c77
mov edx, dword [edx - 4]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b0c83
mov eax, 0x5ef2f0
lea ecx, [ebp - 0x34]
call fcn.0042f950
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x14]
call fcn.0040b310
push 1
push 0
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4b0ca8
mov eax, 0x5ef2f0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
seta byte [ebp - 0xc]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004b0a00
mov al, byte [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret