Function at 0x10023d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f688
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x29], dl
mov ebx, ecx
call fcn.10002de0
movzx esi, byte [ebp - 0x29]
push esi
push str.Inside__pim_postPackageSetInstallOperations__Value_of_parameter_isACCCPackageInstalled:__d
mov edi, dword [eax]
push 0x101a53f8
push eax
mov esi, dword [edi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov esi, dword [ebx + 0x58]
add esp, 0x10
add esi, 4
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x10023d67
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
mov edx, edi
push 3
push 0x101a59c4
call fcn.1000b880
add esp, 8
test eax, eax
jne 0x10023e24
push 0xb
push str._ACC.aamref
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10001c20
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov ecx, 0x1f
call fcn.100239e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.10001bc0
test esi, esi
jne 0x10023e1d
cmp byte [ebp - 0x29], 0
je 0x10023ef2
push 0xb
xor eax, eax
mov dword [ebp - 0x18], esi
push str._ACC.adcref
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10001c20
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.100239e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.10001bc0
test esi, esi
je 0x10023ef2
mov eax, esi
jmp 0x10023f90
cmp dword [esi + 0x14], 8
jb 0x10023e2c
mov esi, dword [esi]
push 5
push str.ACC64
mov edx, edi
mov ecx, esi
call fcn.1000b880
add esp, 8
test eax, eax
jne 0x10023ef2
cmp byte [ebp - 0x29], al
je 0x10023e6d
call fcn.10037a90
test al, al
jne 0x10023e6d
push str.Failed_to_create_Run_entry
push 0x101a53f8
call fcn.10002de0
push eax
call fcn.10003e20
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 0x30], 0
push eax
push 0x10037ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 0x29], 0
je 0x10023ee4
push 0xb
xor eax, eax
mov dword [ebp - 0x18], 0
push str._ACC.adcref
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10001c20
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 2
mov ecx, 0x21
call fcn.100239e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.10001bc0
jmp 0x10023ee7
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x10023ef2
mov eax, esi
jmp 0x10023f90
mov eax, dword [ebx + 0x58]
mov esi, dword [eax + 0xbc]
test esi, esi
je 0x10023f8e
cmp dword [esi + 0x2c], 0
jbe 0x10023f8e
mov esi, dword [esi + 0x28]
mov esi, dword [esi]
cmp byte [esi + 0xd4], 0
je 0x10023f25
lea edx, [esi + 0x2c]
mov ecx, ebx
call fcn.1002eb20
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10023f4b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10023f47
cmp esi, dword [eax + 8]
jne 0x10023f47
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10023f37
mov esi, eax
jmp 0x10023f61
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10023f61
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10023f55
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xbc]
mov edi, dword [eax + 0x28]
cmp esi, edi
jne 0x10023f12
push dword [edi + 4]
lea esi, [eax + 0x28]
push esi
mov ecx, esi
call fcn.10019980
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [esi + 4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret