Function at 0x1016bb2e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x1016b8dc
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x10]
push dword [edi + 0x64]
mov ecx, 0x1025a378
call fcn.10009a80
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x238], eax
cmp ecx, 0xa0000
ja 0x1016b98d
je 0x1016b971
cmp ecx, 0x20000
je 0x1016b954
cmp ecx, 0x70000
je 0x1016b938
cmp ecx, 0x90000
jne 0x1016bc34
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1016b927
mov eax, dword [eax]
push dword [edi + 0x64]
push eax
call fcn.100ea040
add esp, 8
jmp 0x1016bc34
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1016b943
mov eax, dword [eax]
push dword [edi + 0x60]
push eax
call fcn.100e9e20
add esp, 8
jmp 0x1016bc34
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1016b95f
mov eax, dword [eax]
push 1
push 0
push eax
call fcn.100e4770
add esp, 0xc
jmp 0x1016bc34
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1016b97c
mov eax, dword [eax]
push dword [edi + 0x64]
push eax
call fcn.100e99d0
add esp, 8
jmp 0x1016bc34
cmp ecx, 0xb0000
je 0x1016ba61
cmp ecx, 0xc0000
jne 0x1016bc34
lea ecx, [ebp - 0x22c]
call fcn.1006c320
lea ecx, [ebp - 0x280]
call fcn.10033240
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x1016b9c6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1016a780
call fcn.10036e90
mov ecx, eax
call fcn.101cd910
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp - 0x264]
call fcn.10036e90
mov ecx, eax
call fcn.101cd6c0
test eax, eax
je 0x1016ba34
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x264]
call fcn.10036e90
mov ecx, eax
call fcn.101cda80
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10075550
lea ecx, [ebp - 0x280]
call fcn.1006ca10
lea ecx, [ebp - 0x22c]
call fcn.1006c7b0
jmp 0x1016bc34
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1016bc34
cmp dword [edi + 0x3c], 8
push esi
lea esi, [edi + 0x28]
mov eax, esi
jb 0x1016ba9f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea ecx, [ebp - 0x224]
call fcn.10006aa0
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
jb 0x1016bae1
mov dword [ebp - 0x230], ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x234], eax
jb 0x1016baf5
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x234]
lea eax, [edx + eax*2]
jae 0x1016bb0c
lea ecx, [ebp - 0x224]
push fcn.102135d1
push dword [ebp - 0x230]
push eax
push ecx
lea eax, [ebp - 0x230]
push eax
call fcn.1008fa00
add esp, 0x14
lea ecx, [ebp - 0x224]
push 0
push str.startmenu
call fcn.100509c0
push 0
cmp eax, 0xffffffff
je 0x1016bb53
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.startpin
jmp 0x1016bb7a
push str.taskbar
lea ecx, [ebp - 0x224]
call fcn.100509c0
cmp eax, 0xffffffff
je 0x1016bb82
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1016bb8c
mov eax, dword [esi]
push eax
call fcn.1000bcb0
add esp, 4
test eax, eax
jne 0x1016bbe9
cmp dword [esi + 0x14], 8
jb 0x1016bba1
mov esi, dword [esi]
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1016bbd9
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1016bbc5
mov eax, dword [eax + 0xac]
jmp 0x1016bbc7
xor eax, eax
test eax, eax
je 0x1016bbd9
push 0
push esi
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x1016bbe9
push 0
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.10003ae0
pop esi
cmp dword [eax + 0x140], 2
jne 0x1016bc1c
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1016bc0b
mov eax, dword [eax + 0x50]
jmp 0x1016bc0d
xor eax, eax
test eax, eax
je 0x1016bc1c
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x1016bc29
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x224]
call fcn.1001d6d0
push dword [ebp - 0x238]
mov ecx, 0x1025a378
call fcn.10009a80
test ebx, ebx
je 0x1016bc57
mov eax, dword [ebx]
push 0
push edi
push ebx
call dword [eax + 0x14]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 8