Function at 0x10006d60
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x10028971
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003230c]
xor eax, esp
push eax
lea eax, [esp + 0x6a0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6b0]
mov edi, dword [esp + 0x6b4]
xor esi, esi
mov ebx, edx
mov dword [esp + 0x24], eax
mov eax, 7
xor edx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], esi
mov word [esp + 0x6c], dx
mov dword [esp + 0x6a8], esi
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], esi
mov word [esp + 0x34], cx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], esi
mov word [esp + 0x50], dx
push 0x40e
lea ecx, [esp + 0x292]
xor eax, eax
push esi
mov byte [esp + 0x6b0], 2
push ecx
lea ebp, [esi + 0x57]
mov word [esp + 0x298], ax
call fcn.10017160
add esp, 0xc
mov edx, edi
cmp edi, esi
jne 0x10006e35
mov edx, str.NULL
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jne 0x10006e42
mov ecx, str.NULL
mov eax, ebx
cmp ebx, esi
jne 0x10006e4d
mov eax, str.NULL
push edx
push ecx
push eax
push str.HandleCurrentUser_NTUserDatPath:__s__LoadKeyName:__s__Alternate_key:__s
lea edx, [esp + 0x29c]
push 0x208
push edx
call fcn.10011853
lea eax, [esp + 0x2a4]
push eax
call fcn.10001180
mov eax, dword [esp + 0x3c]
add esp, 0x1c
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10006e80
sub eax, edx
sar eax, 1
je 0x100070e5
push ebx
mov ebx, dword [esp + 0x28]
push ebx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebp, eax
cmp ebp, esi
je 0x10006ef2
cmp ebp, 0x20
je 0x10006ec3
push str.RegLoadKey_failure
call fcn.10001180
add esp, 4
jmp 0x100070e5
push str.RegLoad_key_error_sharing_violation
call fcn.10001180
mov eax, edi
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10006ed5
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x34]
call fcn.10005c60
jmp 0x10006f1a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10006ef7
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x34]
call fcn.10005c60
mov dword [esp + 0x28], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x38]
lea ecx, [esp + 0x70]
call fcn.10005820
push 9
mov eax, str.Software
lea ecx, [esp + 0x34]
call fcn.10005c60
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x10006f49
lea eax, [esp + 0x34]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push esi
push eax
push 0x80000003
call ebx
test eax, eax
je 0x10006f78
push str.RegOpenKeyEx_software_key_failure
call fcn.10001180
add esp, 4
jmp 0x100070e5
mov edi, dword [esp + 0x14]
call fcn.10007c00
mov edi, dword [esp + 0x20]
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10006f90
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x6c]
call fcn.10005c60
mov eax, dword [esp + 0x6c]
mov edi, 8
cmp dword [esp + 0x80], edi
jae 0x10006fc1
lea eax, [esp + 0x6c]
lea edx, [esp + 0x1c]
push edx
push 0xf003f
push esi
push eax
push 0x80000003
call ebx
test eax, eax
je 0x10006fea
push str.RegOpenKeyEx_userprofilekey_failure
call fcn.10001180
add esp, 4
jmp 0x100070e5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push 0x20019
push esi
push str.AskToolBarPrefs
push ecx
call ebx
test eax, eax
jne 0x10007032
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.1000f510
add esp, 8
cmp eax, esi
je 0x10007032
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x10007029
lea eax, [esp + 0x50]
push eax
call fcn.1000f900
add esp, 4
mov ecx, dword [esp + 0x1c]
push str.AskToolBar
push ecx
call fcn.1000f7e0
mov edx, dword [esp + 0x1c]
push str.Ask.com
push edx
call fcn.1000f7e0
mov eax, dword [esp + 0x24]
push str.AskToolbar
push eax
call fcn.1000f7e0
mov ecx, dword [esp + 0x2c]
push str.MicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push ecx
call fcn.10007990
mov edx, dword [esp + 0x34]
push 0x1002d898
push edx
call fcn.1000f7e0
add esp, 0x28
test eax, eax
je 0x10007091
push str.RegDeleteKeyRecursive_failed_to_delete_HKCU_APN_root_key
call fcn.10001180
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0xf003f
push esi
push str.AppDataLow
push ecx
call ebx
test eax, eax
je 0x100070bb
push str.RegOpenKeyEx_AppDataLow_failure
call fcn.10001180
add esp, 4
jmp 0x100070e5
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.AskToolbarInfo
push edx
call edi
mov eax, dword [esp + 0x18]
push str.AskBarDis
push eax
call edi
mov ecx, dword [esp + 0x18]
push str.AskHomepage
push ecx
call edi
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x100070f8
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10007105
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x10007123
push eax
call edi
mov ebp, eax
cmp ebp, esi
je 0x10007123
push str.RegCloseKey_failure
call fcn.10001180
add esp, 4
cmp dword [esp + 0x28], esi
je 0x10007187
mov edx, dword [esp + 0x24]
push edx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov ebp, eax
cmp ebp, esi
je 0x10007187
push 0x206
lea ecx, [esp + 0x8a]
xor eax, eax
push esi
push ecx
mov word [esp + 0x90], ax
call fcn.10017160
add esp, 0xc
push ebp
push str.RegUnLoadKey_Failure__return_value__d
lea edx, [esp + 0x8c]
push 0x104
push edx
call fcn.10011853
lea eax, [esp + 0x94]
push eax
call fcn.10001180
add esp, 0x14
mov edi, 8
cmp dword [esp + 0x64], edi
jb 0x1000719f
mov ecx, dword [esp + 0x50]
push ecx
call fcn.10011720
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov word [esp + 0x50], dx
cmp dword [esp + 0x48], edi
jb 0x100071c6
mov eax, dword [esp + 0x34]
push eax
call fcn.10011720
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov word [esp + 0x34], cx
cmp dword [esp + 0x80], edi
jb 0x100071eb
mov edx, dword [esp + 0x6c]
push edx
call fcn.10011720
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x6a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.1001172b
add esp, 0x698
ret