Function at 0x10017159
Capabilities:
Create thread

Disassembly:
push 0xcc
mov eax, 0x1005de86
call fcn.100418da
mov esi, ecx
cmp dword [esi + 0x18], 0x10
lea edi, [esi + 4]
jb 0x10017177
mov eax, dword [edi]
jmp 0x10017179
mov eax, edi
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10006dfc
pop ecx
pop ecx
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x84]
mov dword [ebp - 4], ebx
call fcn.10029909
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.1000257e
push ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x88], 0xf
call fcn.1000257e
mov byte [ebp - 4], 5
cmp dword [esi + 0x18], 0x10
jb 0x100171cc
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.10016dd9
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.10002243
cmp dword [ebp - 0x1c], ebx
je 0x10017307
lea eax, [ebp - 0x84]
mov edi, str.softwareUnique
push eax
mov edx, edi
call fcn.10029ba7
cmp byte [eax + 8], 4
jne 0x10017307
push 0x3c
call fcn.1004071f
mov esi, eax
pop ecx
cmp esi, ebx
je 0x10017242
mov ecx, esi
call fcn.10001f92
lea ecx, [esi + 0x1c]
call fcn.10001f92
jmp 0x10017244
xor esi, esi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.10002143
lea eax, [ebp - 0x84]
push eax
mov edx, edi
call fcn.10029ba7
push eax
lea ecx, [ebp - 0x68]
call fcn.10028dda
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0xb
call fcn.10002143
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.10002243
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.10003271
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x68]
mov dword [esi + 0x38], eax
call fcn.10002243
push ebx
push ebx
push esi
push 0x100173c6
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.10002243
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.10002243
lea esi, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10028bec
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xbc]
call fcn.10028bec
mov al, 1
jmp 0x100173c0
push esi
lea ecx, [ebp - 0x68]
call fcn.100011df
pop ecx
mov byte [ebp - 4], 8
cmp dword [eax + 0x18], 8
jb 0x10017320
mov eax, dword [eax + 4]
jmp 0x10017323
add eax, 4
push eax
push str.invalid_install_task:__s
call fcn.10021d01
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.1000233f
cmp dword [ebp - 0x1c], ebx
je 0x1001738d
push 0x10065edc
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.10016d0f
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0xd8]
call fcn.10002243
push ebx
push edi
call fcn.1000233f
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.10002243
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.10002243
lea esi, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10028bec
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xbc]
call fcn.10028bec
xor al, al
call fcn.1004195d
ret