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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190400
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.1004c140
push edi
push str.Inside__pimPostPackageSetUninstallOperations__PathType:__d
push 0x101b03e4
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 0x1003810e
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.10107c30
test al, al
je 0x1003805e
cmp dword [ebp - 0x3c], 2
je 0x100380a1
call fcn.1004c140
push str.Inside__pimPostPackageSetUninstallOperations__Removing_ARPEntry
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10003550
test al, al
jne 0x100380a1
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_ARPEntry
push 0x101b03e4
call fcn.1004c140
push eax
call fcn.1004d180
add esp, 0xc
call fcn.1004c140
push str.Inside__pimPostPackageSetUninstallOperations__Removing_AAMRefs__ADCRefs
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10033690
test al, al
jne 0x100380e4
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_the_AAMRef_folder_created_by_ACCC
push 0x101b03e4
call fcn.1004c140
push eax
call fcn.1004d180
add esp, 0xc
call fcn.10033ac0
test al, al
jne 0x10038452
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_the_ADCRef_folder_created_by_ACCC
push 0x101b03e4
call fcn.1004c140
push eax
call fcn.1004d180
add esp, 0xc
jmp 0x10038452
cmp edi, 4
jne 0x10038286
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.10107c30
test al, al
je 0x1003816f
cmp dword [ebp - 0x3c], 2
jne 0x1003816f
call fcn.1004c140
push str.Inside__pimPostPackageSetUninstallOperations__Removing_ARPEntry
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10003550
test al, al
jne 0x1003816f
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_ARPEntry
push 0x101b03e4
call fcn.1004c140
push eax
call fcn.1004d180
add esp, 0xc
call fcn.1004c140
push str.Inside__pimPostPackageSetUninstallOperations__Removing_RunEntry
push 0x101b03e4
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 0x100381c2
push 0x101af40c
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 0x100381e7
push str.Inside__pimPostPackageSetUninstallOperations__Failed_to_remove_the_RunEntry
push 0x101b03e4
call fcn.1004c140
push eax
call fcn.1004d180
add esp, 0xc
call fcn.1004c140
push str.Inside__pimPostPackageSetUninstallOperations__Removing_TaskScheduler_entry
push 0x101b03e4
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 0x10004a80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.1004c140
push str.Inside__pimPostPackageSetUninstallOperations__Removing_ADC64Refs
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
call fcn.10033ce0
test al, al
jne 0x10038452
call fcn.1004c140
push str.Failed_to_remove_the_ADC64Ref_folder_created_by_ACCC
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
jmp 0x10038452
cmp edi, 2
jne 0x10038384
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.100456b0
call fcn.1004c140
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 0x101b03e4
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.100fdea0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.1000aca0
test bl, bl
jne 0x10038347
push str.Failed_to_remove_ADCRefs_folder
push 0x101b03e4
call fcn.1004c140
push eax
call fcn.1004d180
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x10038452
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038448
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038470
jmp 0x10038448
cmp edi, 5
jne 0x10038452
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.100fc150
test al, al
je 0x100383c1
push str.ADCRefs
lea ecx, [ebp - 0x38]
call fcn.10001d40
call fcn.1004c140
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 0x101b03e4
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.100fdea0
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.1000aca0
test bl, bl
jne 0x10038347
jmp 0x1003832f
push edx
push ecx
call fcn.1015cb05
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.1015c7a5
mov esp, ebp
pop ebp
ret
call fcn.10168635
int3