Function at 0x1004e373
Capabilities:
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e79f9
mov eax, dword fs:[0]
push eax
mov eax, 0x1294
call fcn.100c7ed0
mov eax, dword [0x1012c510]
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
lea eax, [ebp - 0x128c]
push eax
xor ebx, ebx
lea eax, [ebp - 0x1268]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareAskToolbarMacro
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1280], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x1004e52f
push str.defered
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
push 0x1010888c
push str.MacroRSFail
push str.Update
call fcn.10039999
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 0x1258], ecx
mov dword [ebp - 0x1254], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1270], eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1274]
lea esi, [ebp - 0x1258]
mov dword [ebp - 0x1274], eax
call fcn.10056222
test al, al
jne 0x1004e4bd
call fcn.100156f8
cmp dword [eax + 0x18], 8
jb 0x1004e44e
mov eax, dword [eax + 4]
jmp 0x1004e451
add eax, 4
mov edx, eax
lea ecx, [ebp - 0x1234]
call fcn.1004e9ef
mov edi, eax
lea esi, [ebp - 0x1258]
mov byte [ebp - 4], 1
call fcn.100156f8
cmp dword [eax + 0x34], 8
jb 0x1004e47a
mov eax, dword [eax + 0x20]
jmp 0x1004e47d
add eax, 0x20
cmp dword [edi + 0x18], 8
jb 0x1004e488
mov ecx, dword [edi + 4]
jmp 0x1004e48b
lea ecx, [edi + 4]
push 1
push eax
push ecx
push str.Install
call fcn.10039999
add esp, 0x10
push ebx
push 1
lea esi, [ebp - 0x1234]
mov byte [ebp - 4], bl
call fcn.100016e6
lea esi, [ebp - 0x1258]
call fcn.100159f2
jmp 0x1004e417
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.100c29a8
lea eax, [ebp - 0x218]
push str.iexplore.exe
push eax
call fcn.100c19e5
add esp, 0x10
test eax, eax
je 0x1004e506
push 1
push 0xc8
call fcn.1004ee06
pop ecx
pop ecx
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 8]
push eax
call fcn.10014f9f
mov eax, ebx
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.100bfae1
leave
ret
push 1
push str.0_____
push str.MacroRSFail
push str.Update
call fcn.10039999
add esp, 0x10
push str.success_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp + 0x24], ebx
jne 0x1004e762
push 0xf003f
push 1
push str.Install
call fcn.1005e769
add esp, 0xc
mov dword [ebp - 0x126c], eax
cmp eax, ebx
je 0x1004e759
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.100c1480
add esp, 0xc
lea eax, [ebp - 0x12a0]
push eax
lea eax, [ebp - 0x1298]
push eax
lea eax, [ebp - 0x1290]
push eax
lea eax, [ebp - 0x1294]
push eax
lea eax, [ebp - 0x1264]
push eax
lea eax, [ebp - 0x1270]
push eax
lea eax, [ebp - 0x1254]
push eax
lea eax, [ebp - 0x1288]
push eax
push ebx
lea eax, [ebp - 0x1284]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x126c]
mov dword [ebp - 0x1284], 0x104
mov dword [ebp - 0x1288], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x1264], ebx
je 0x1004e74d
push 7
mov edi, 0x400
pop eax
xor ecx, ecx
mov dword [ebp - 0x1278], edi
mov dword [ebp - 0x127c], edi
mov dword [ebp - 0x121c], eax
mov dword [ebp - 0x1220], ebx
mov word [ebp - 0x1230], cx
mov dword [ebp - 0x1238], eax
xor eax, eax
mov dword [ebp - 0x123c], ebx
mov word [ebp - 0x124c], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x125c], ebx
cmp dword [ebp - 0x1264], ebx
jbe 0x1004e72e
xor eax, eax
mov word [ebp - 0xa18], ax
mov word [ebp - 0x1218], ax
lea eax, [ebp - 0x127c]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0x1260]
push eax
push ebx
lea eax, [ebp - 0x1278]
push eax
lea eax, [ebp - 0x1218]
push eax
push dword [ebp - 0x125c]
mov dword [ebp - 0x127c], edi
push dword [ebp - 0x126c]
mov dword [ebp - 0x1278], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x1004e716
cmp dword [ebp - 0x1260], 1
jne 0x1004e716
lea eax, [ebp - 0x1218]
push eax
call fcn.100bfd09
pop ecx
lea ecx, [ebp - 0x1218]
lea esi, [ebp - 0x1234]
call fcn.1000181a
lea eax, [ebp - 0xa18]
push eax
call fcn.100bfd09
pop ecx
lea ecx, [ebp - 0xa18]
lea esi, [ebp - 0x1250]
call fcn.1000181a
lea eax, [ebp - 0x1234]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10014ed6
push 0xffffffffffffffff
push eax
xor ebx, ebx
mov eax, esi
call fcn.1000165f
inc dword [ebp - 0x125c]
mov eax, dword [ebp - 0x125c]
cmp eax, dword [ebp - 0x1264]
jb 0x1004e65f
push ebx
push 1
lea esi, [ebp - 0x1250]
call fcn.100016e6
push ebx
push 1
lea esi, [ebp - 0x1234]
mov byte [ebp - 4], bl
call fcn.100016e6
push dword [ebp - 0x126c]
call fcn.1005e854
pop ecx
cmp dword [ebp + 0x24], ebx
je 0x1004e84a
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1258], ecx
mov dword [ebp - 0x1254], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1270], eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1274]
lea esi, [ebp - 0x1258]
mov dword [ebp - 0x1274], eax
call fcn.10056222
test al, al
jne 0x1004e834
call fcn.100156f8
mov eax, dword [eax + 0x30]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x1260], eax
call fcn.100156f8
cmp dword [eax + 0x18], 8
jb 0x1004e7c3
mov eax, dword [eax + 4]
jmp 0x1004e7c6
add eax, 4
mov edx, eax
lea ecx, [ebp - 0x1234]
call fcn.1004e9ef
lea esi, [ebp - 0x1258]
mov edi, eax
call fcn.100156f8
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1004e7ee
mov eax, dword [eax + 4]
jmp 0x1004e7f1
add eax, 4
cmp dword [edi + 0x18], 8
jb 0x1004e7fc
mov ecx, dword [edi + 4]
jmp 0x1004e7ff
lea ecx, [edi + 4]
push dword [ebp - 0x1260]
push eax
push 1
push ebx
push ecx
push dword [ebp - 0x1268]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 1
lea esi, [ebp - 0x1234]
call fcn.100016e6
lea esi, [ebp - 0x1258]
call fcn.100159f2
jmp 0x1004e776
push dword [ebp - 0x1268]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov dword [ebp - 0x1280], 1
push dword [ebp - 0x1268]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x1280]
jmp 0x1004e506