Function at 0x100381d0
Capabilities:
Create thread
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190510
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101f62b4]
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 edi, ecx
call fcn.1004cb70
push edi
push str.Inside__pimPostPackageSetUninstallOperations__PathType:__d
push 0x101b0364
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x10
cmp edi, 1
jne 0x100382ee
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.101081c0
test al, al
je 0x1003823e
cmp dword [ebp - 0x3c], 2
je 0x10038281
call fcn.1004cb70
push str.Inside__pimPostPackageSetUninstallOperations__Removing_ARPEntry
push 0x101b0364
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10003430
test al, al
jne 0x10038281
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_ARPEntry
push 0x101b0364
call fcn.1004cb70
push eax
call fcn.1004dbb0
add esp, 0xc
call fcn.1004cb70
push str.Inside__pimPostPackageSetUninstallOperations__Removing_AAMRefs__ADCRefs
push 0x101b0364
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10033870
test al, al
jne 0x100382c4
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_the_AAMRef_folder_created_by_ACCC
push 0x101b0364
call fcn.1004cb70
push eax
call fcn.1004dbb0
add esp, 0xc
call fcn.10033ca0
test al, al
jne 0x10038632
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_the_ADCRef_folder_created_by_ACCC
push 0x101b0364
call fcn.1004cb70
push eax
call fcn.1004dbb0
add esp, 0xc
jmp 0x10038632
cmp edi, 4
jne 0x10038466
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.101081c0
test al, al
je 0x1003834f
cmp dword [ebp - 0x3c], 2
jne 0x1003834f
call fcn.1004cb70
push str.Inside__pimPostPackageSetUninstallOperations__Removing_ARPEntry
push 0x101b0364
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10003430
test al, al
jne 0x1003834f
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_ARPEntry
push 0x101b0364
call fcn.1004cb70
push eax
call fcn.1004dbb0
add esp, 0xc
call fcn.1004cb70
push str.Inside__pimPostPackageSetUninstallOperations__Removing_RunEntry
push 0x101b0364
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push 0x20206
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100383a2
push 0x101af38c
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x100383c7
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_the_RunEntry
push 0x101b0364
call fcn.1004cb70
push eax
call fcn.1004dbb0
add esp, 0xc
call fcn.1004cb70
push str.Inside__pimPostPackageSetUninstallOperations__Removing_TaskScheduler_entry
push 0x101b0364
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push 0
push eax
push 0x10004960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.1004cb70
push str.Inside__pimPostPackageSetUninstallOperations__Removing_ADC64Refs
push 0x101b0364
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10033ec0
test al, al
jne 0x10038632
call fcn.1004cb70
push str.Failed_to_remove_the_ADC64Ref_folder_created_by_ACCC
push 0x101b0364
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
jmp 0x10038632
cmp edi, 2
jne 0x10038564
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea edx, [ebp - 0x38]
mov dword [ebp - 4], eax
lea ecx, [edi + 0x1f]
call fcn.100460e0
call fcn.1004cb70
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
mov esi, dword [eax]
push ecx
push str.Inside__pimPostPackageSetUninstallOperations__Deleting_ADCRefs_folder_at__s
push 0x101b0364
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
push 1
push 0
push 1
push 1
call fcn.100fe710
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.1000ad70
test bl, bl
jne 0x10038527
push str.Failed_to_remove_ADCRefs_folder
push 0x101b0364
call fcn.1004cb70
push eax
call fcn.1004dbb0
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x10038632
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038650
jmp 0x10038628
cmp edi, 5
jne 0x10038632
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 2
call fcn.100fc9b0
test al, al
je 0x100385a1
push str.ADCRefs
lea ecx, [ebp - 0x38]
call fcn.10001c20
call fcn.1004cb70
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
mov esi, dword [eax]
push ecx
push str.Inside__pimPostPackageSetUninstallOperations__Deleting_ADC64Refs_folder_at__s
push 0x101b0364
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
add esp, 0xc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
push 1
push 0
push 1
push 1
call fcn.100fe710
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.1000ad70
test bl, bl
jne 0x10038527
jmp 0x1003850f
push edx
push ecx
call fcn.1015cbd5
add esp, 8
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.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
int3