Function at 0x10017104
Capabilities:
Create thread

Disassembly:
push 0xcc
mov eax, 0x1005e9a7
call fcn.100422ea
mov esi, ecx
cmp dword [esi + 0x18], 0x10
lea edi, [esi + 4]
jb 0x10017122
mov eax, dword [edi]
jmp 0x10017124
mov eax, edi
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10006dc8
pop ecx
pop ecx
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x84]
mov dword [ebp - 4], ebx
call fcn.10029f1e
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.100025a6
push ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x88], 0xf
call fcn.100025a6
mov byte [ebp - 4], 5
cmp dword [esi + 0x18], 0x10
jb 0x10017177
mov edi, dword [edi]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.10016d84
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.10002274
cmp dword [ebp - 0x1c], ebx
je 0x100172b2
lea eax, [ebp - 0x84]
mov edi, str.softwareUnique
push eax
mov edx, edi
call fcn.1002a1bc
cmp byte [eax + 8], 4
jne 0x100172b2
push 0x3c
call fcn.10041127
mov esi, eax
pop ecx
cmp esi, ebx
je 0x100171ed
mov ecx, esi
call fcn.10001f92
lea ecx, [esi + 0x1c]
call fcn.10001f92
jmp 0x100171ef
xor esi, esi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.10002174
lea eax, [ebp - 0x84]
push eax
mov edx, edi
call fcn.1002a1bc
push eax
lea ecx, [ebp - 0x68]
call fcn.100293ef
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0xb
call fcn.10002174
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.10002274
push str.silent
lea ecx, [ebp - 0x68]
call fcn.10001fa7
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xc
call fcn.1000324f
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x68]
mov dword [esi + 0x38], eax
call fcn.10002274
push ebx
push ebx
push esi
push 0x10017371
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.10002274
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.10002274
lea esi, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10029201
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xbc]
call fcn.10029201
mov al, 1
jmp 0x1001736b
push esi
lea ecx, [ebp - 0x68]
call fcn.100011df
pop ecx
mov byte [ebp - 4], 8
cmp dword [eax + 0x18], 8
jb 0x100172cb
mov eax, dword [eax + 4]
jmp 0x100172ce
add eax, 4
push eax
push str.invalid_install_task:__s
call fcn.10022364
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.10002370
cmp dword [ebp - 0x1c], ebx
je 0x10017338
push 0x10066f44
lea esi, [ebp - 0x68]
call fcn.10002030
mov eax, esi
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 9
call fcn.1000121f
push eax
lea eax, [ebp - 0x30]
push 4
push eax
mov byte [ebp - 4], 0xa
call fcn.10016cba
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0xd8]
call fcn.10002274
push ebx
push edi
call fcn.10002370
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.10002274
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.10002274
lea esi, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10029201
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xbc]
call fcn.10029201
xor al, al
call fcn.1004236d
ret