Function at 0x10016d60
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.10017470
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x10016d84
lock inc dword [esi + 8]
push 0xc
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x10016db9
push 0x1003fff0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x100171a2
jmp 0x10016dbb
xor edi, edi
mov dword [esp + 0x10], edi
test edi, edi
je 0x100171a2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x10016e19
mov eax, dword [edi]
test eax, eax
je 0x10016df7
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10016e0e
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
push 0xc
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x10016e4e
push 0x1003e6b4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x100171a2
jmp 0x10016e50
xor edi, edi
mov dword [esp + 0x10], edi
test edi, edi
je 0x100171a2
push 0xc
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x10016e91
push 0x1003ffe4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x100171a2
jmp 0x10016e93
xor edi, edi
mov dword [esp + 0x1c], edi
test edi, edi
je 0x100171a2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.10003700
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
jne 0x10016ee8
mov eax, dword [edi]
test eax, eax
je 0x10016ec6
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10016edd
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.10003700
push 0xc
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x10016f2b
push 0x1003ffe4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x100171a2
jmp 0x10016f2d
xor edi, edi
mov dword [esp + 0x1c], edi
test edi, edi
je 0x100171a2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.10003700
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
jne 0x10016f82
mov eax, dword [edi]
test eax, eax
je 0x10016f60
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10016f77
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
push 0xc
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x10016fb7
push str.__wait__fix__shortcut__silent
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x100171a2
jmp 0x10016fb9
xor edi, edi
mov dword [esp + 0x1c], edi
test edi, edi
je 0x100171a2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.10003700
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
jne 0x1001700e
mov eax, dword [edi]
test eax, eax
je 0x10016fec
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10017003
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
mov dword [esp + 0x30], 0x44
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movups xmmword [esp + 0x20], xmm0
test esi, esi
je 0x10017056
mov ecx, dword [esi]
jmp 0x10017058
xor ecx, ecx
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10017064
mov edx, dword [edi]
jmp 0x10017066
xor edx, edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10017072
mov eax, dword [eax]
jmp 0x10017074
xor eax, eax
lea esi, [esp + 0x20]
push esi
lea esi, [esp + 0x34]
push esi
push ecx
push 0
push 0x8000000
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x100170db
push 0x2bf20
push dword [esp + 0x24]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100170c3
push 1
push dword [esp + 0x24]
call dword [sym.imp.kernel32.dll_TerminateProcess]
call fcn.1002bb90
push dword [esp + 0x24]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
push dword [esp + 0x20]
call ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x1001711a
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
jne 0x1001711a
mov eax, dword [edi]
test eax, eax
je 0x100170f8
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1001710f
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
mov edi, dword [esp + 0x14]
test edi, edi
je 0x1001715d
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
jne 0x1001715d
mov eax, dword [edi]
test eax, eax
je 0x1001713b
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10017152
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
test esi, esi
je 0x1001719a
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x1001719a
mov eax, dword [esi]
test eax, eax
je 0x10017178
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001718f
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push 0x8007000e
call fcn.10033b30
int3