Function at 0x1015af90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x1015afce
pop edi
pop esi
mov eax, 0x80004003
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
push esi
call dword [eax + 4]
test ebx, ebx
je 0x1015afde
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x10]
cmp dword [edi + 0x20], 0
lea edx, [edi + 0x10]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x28], 0
jbe 0x1015b245
cmp dword [edx + 0x14], 8
jb 0x1015b004
mov edx, dword [edx]
mov ecx, dword [esi]
lea ebx, [ebp - 0x28]
push ebx
lea eax, [eax*2 + 2]
push eax
push edx
push esi
call dword [ecx + 0x10]
push dword [edi + 0x64]
mov ecx, 0x1025b450
mov dword [ebp - 0x30], eax
call fcn.10008cd0
mov ecx, dword [edi + 0x58]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
cmp ecx, 0xa0000
ja 0x1015b0c3
je 0x1015b0a7
cmp ecx, 0x70000
je 0x1015b06e
cmp ecx, 0x90000
jne 0x1015b208
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1015b05d
mov eax, dword [eax]
push dword [edi + 0x64]
push eax
call fcn.100de5a0
add esp, 8
jmp 0x1015b208
cmp dword [edi + 0x3c], 8
lea esi, [edi + 0x28]
mov eax, esi
jb 0x1015b07b
mov eax, dword [esi]
push dword [edi + 0x60]
push eax
call fcn.100de920
add esp, 8
cmp dword [edi + 0x5c], 0
je 0x1015b208
cmp dword [esi + 0x14], 8
jb 0x1015b099
mov esi, dword [esi]
push esi
call fcn.100d9640
add esp, 4
jmp 0x1015b208
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1015b0b2
mov eax, dword [eax]
push dword [edi + 0x64]
push eax
call fcn.100deb00
add esp, 8
jmp 0x1015b208
cmp ecx, 0xb0000
je 0x1015b142
cmp ecx, 0xd0000
jne 0x1015b208
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1015b0e2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20]
call fcn.10002490
mov esi, dword [ebp - 0x20]
cmp dword [esi - 4], 1
jle 0x1015b102
push dword [esi - 0xc]
lea ecx, [ebp - 0x20]
call fcn.10002c20
mov esi, dword [ebp - 0x20]
push 5
push esi
push 0
call fcn.10174ae0
push dword [esi - 8]
push esi
call fcn.101e6fd0
mov dword [esi - 0xc], eax
xor ecx, ecx
add esp, 0x14
mov word [esi + eax*2], cx
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1015b208
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1015b208
lea ebx, [edi + 0x28]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.10005170
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jb 0x1015b160
mov dword [ebp - 0x24], ecx
lea esi, [ebp - 0x1c]
jb 0x1015b167
mov esi, ecx
mov eax, dword [ebp - 0xc]
lea eax, [esi + eax*2]
lea esi, [ebp - 0x1c]
jb 0x1015b174
mov esi, ecx
push sub.msvcrt.dll_towlower
push dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.1008e040
add esp, 0x14
lea ecx, [ebp - 0x1c]
lea esi, [edi + 0x28]
push 0
push str.startmenu
call fcn.1004e700
cmp eax, 0xffffffff
je 0x1015b1b7
cmp dword [esi + 0x14], 8
jb 0x1015b1a9
mov esi, dword [esi]
push 0
push 0
push 0
push esi
push str.startunpin
jmp 0x1015b1cb
cmp dword [esi + 0x14], 8
jb 0x1015b1bf
mov esi, dword [esi]
push 0
push 0
push 0
push esi
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.10005250
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1015b1e5
mov eax, dword [ebx]
push eax
call fcn.1000aa00
add esp, 4
test eax, eax
je 0x1015b205
cmp dword [ebx + 0x14], 8
jb 0x1015b1fa
mov ebx, dword [ebx]
push 1
push ebx
call fcn.100d9c10
add esp, 8
mov ebx, dword [ebp - 0x20]
push dword [ebp - 0x2c]
mov ecx, 0x1025b450
call fcn.10008cd0
push dword [ebp - 0x30]
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x14]
mov ecx, dword [ebx]
mov esi, eax
push ebx
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0xc
call fcn.10006b50
int3