Function at 0x10002130
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10028d00
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003230c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov edi, 7
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], ax
mov dword [esp + 0xbc], ebp
xor ecx, ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], cx
xor edx, edx
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], dx
mov byte [esp + 0xbc], 2
push str.CopyMacrosFromHkcuToHklm_custom_action_started
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], 1
xor ebx, ebx
mov dword [esp + 0x20], ebp
call fcn.10001180
add esp, 4
call fcn.10006a70
test eax, eax
je 0x10002275
lea eax, [esp + 0x5c]
push eax
call fcn.100067b0
add esp, 4
test eax, eax
jne 0x1000251e
lea ecx, [esp + 0x5c]
push ecx
or ecx, 0xffffffff
lea edx, [edi - 6]
lea esi, [esp + 0x44]
call fcn.100055d0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 3
call fcn.10005820
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x58], 8
jb 0x10002252
mov edx, dword [esp + 0x44]
push edx
call fcn.10011720
add esp, 4
push 1
mov eax, 0x1002be74
lea ecx, [esp + 0x60]
call fcn.10005c60
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x64]
lea ecx, [esp + 0x80]
call fcn.10005820
push 0x19
mov eax, str.SoftwareAskToolbarPrefs
lea ecx, [esp + 0x7c]
call fcn.10005c60
push 0x19
mov eax, str.SoftwareAskToolbarMacro
lea ecx, [esp + 0x60]
call fcn.10005c60
lea eax, [esp + 0x94]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x5c], esp
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
push 2
mov eax, 0x1002c3d0
mov word [esi + 4], cx
call fcn.10005d40
mov ecx, dword [esp + 0xe4]
call fcn.10006950
mov eax, dword [esp + 0xc8]
add esp, 0x20
push 0x1002c3d8
mov edi, 3
lea ecx, [esp + 0x98]
call fcn.10005960
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 8
test eax, eax
jne 0x1000235c
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x1000230a
lea eax, [esp + 0x7c]
lea edx, [esp + 0x28]
push edx
push 0xf003f
push ebp
push eax
push 0x80000001
call esi
test eax, eax
jne 0x1000234f
mov eax, dword [esp + 0x28]
push str.FirstTimeRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10002342
push str.Failed_to_delete_FirstTimeRun
call fcn.10001180
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000235c
push str.Failed_to_open_HKCU_prefs_key
call fcn.10001180
add esp, 4
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x1000236a
lea eax, [esp + 0x60]
lea edx, [esp + 0x20]
push edx
push 0xf003f
push ebp
push eax
push 0x80000001
call esi
test eax, eax
jne 0x10002519
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x10002393
lea eax, [esp + 0x60]
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push ebp
push eax
push 0x80000001
call esi
test eax, eax
jne 0x10002519
push ebp
push ebp
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10002519
cmp dword [esp + 0x24], ebp
je 0x10002519
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x10002519
add eax, 2
xor ecx, ecx
mov dword [esp + 0x18], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010aec
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
mov dword [esp + 0x1c], eax
call fcn.10010aec
add esp, 8
mov dword [esp + 0x1c], eax
cmp ebx, ebp
je 0x10002519
cmp eax, ebp
je 0x10002519
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push ebp
push ebx
call fcn.10017160
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push edx
push ebp
push eax
call fcn.10017160
add esp, 0x18
lea ecx, [esp + 0x2c]
push ecx
push 0xf003f
push ebp
push str.SOFTWAREAskToolbarMacro
push 0x80000002
call esi
test eax, eax
jne 0x10002519
mov esi, dword [esp + 0x24]
dec esi
cmp esi, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
jl 0x10002519
jmp 0x10002490
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
push ebp
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x10002519
dec esi
cmp eax, ebp
je 0x100024dd
push str.Error_retrieving_value_name
call fcn.10001180
add esp, 4
jmp 0x10002511
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.100027b0
mov edx, dword [esp + 0x24]
lea eax, [edx + edx]
push eax
push ebp
push ebx
call fcn.10017160
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
push edi
call fcn.10017160
add esp, 0x24
cmp esi, ebp
jge 0x10002490
mov edi, 7
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x1000252d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x1000253c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, ebp
je 0x10002549
push ebx
call fcn.10011d08
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x1000255a
push eax
call fcn.10011d08
add esp, 4
push str.CopyMacrosFromHkcuToHklm_custom_action_ended
call fcn.10001180
mov esi, 8
add esp, 4
cmp dword [esp + 0xac], esi
jb 0x10002585
mov edx, dword [esp + 0x98]
push edx
call fcn.10011720
add esp, 4
xor eax, eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], ax
cmp dword [esp + 0x90], esi
jb 0x100025b3
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.10011720
add esp, 4
xor edx, edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], dx
cmp dword [esp + 0x74], esi
jb 0x100025db
mov eax, dword [esp + 0x60]
push eax
call fcn.10011720
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1001172b
add esp, 0xac
ret 4