Function at 0x402290
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 4]
push eax
push 0x1000a
xor ebx, ebx
push ebx
push str.SoftwareAppDataLow
mov edi, 0x80000001
push edi
mov dword [ebp - 4], ebx
call esi
cmp dword [ebp - 4], ebx
je 0x4022df
push str.FreeWorkzSettings
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
cmp dword [ebp - 4], ebx
je 0x4022df
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x1000a
push ebx
push str.Software
push edi
call esi
cmp dword [ebp - 4], ebx
je 0x402304
push str.FreeWorkzSettings
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea eax, [ebp - 0x10]
push eax
push 0x1000b
push ebx
push str.SOFTWAREClassesTypeLib
push 0x80000002
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
jne 0x40242a
cmp dword [ebp - 0x10], ebx
je 0x402438
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x40242a
add dword [ebp - 0x40], 2
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x402364
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
push eax
push 0x1000b
push ebx
push str.SOFTWAREClassesCLSID
push 0x80000002
call esi
test eax, eax
jne 0x4023a7
cmp dword [ebp - 4], ebx
je 0x4023a7
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x4023c4
cmp dword [ebp - 0x10], ebx
je 0x4023b1
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 4], ebx
je 0x402446
push dword [ebp - 4]
call edi
jmp 0x402446
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x40], eax
jbe 0x4023d9
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp eax, eax
jae 0x4023de
mov dword [ebp - 0x40], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x4c], eax
add eax, 0x10
push eax
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 8]
call fcn.00403155
cmp dword [eax], ebx
jne 0x40244d
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x14], ebx
je 0x40241c
push dword [ebp - 0x14]
push ebx
call edi
push eax
call esi
cmp dword [ebp - 8], ebx
je 0x40242a
push dword [ebp - 8]
push ebx
call edi
push eax
call esi
cmp dword [ebp - 0x10], ebx
je 0x402438
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x402446
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x28
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 0x14]
call fcn.00403155
cmp dword [eax], ebx
je 0x402408
mov ecx, dword [ebp - 0x14]
mov esi, str.D1ECD019_8423_43de_98D1_7892AF2DA309
mov eax, esi
call fcn.004057e2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
add ecx, eax
mov eax, esi
call fcn.004057e2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
lea ecx, [eax + ecx*2]
mov eax, str.88E69D5B_DC58_42aa_8E30_03942D5C762E
call fcn.004057e2
mov ecx, dword [str.FreeWorkz]
mov dword [ebp - 0x1c], 3
call fcn.004057cb
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x24], ebx
jbe 0x402604
mov eax, dword [ebp - 8]
mov byte [eax], bl
push dword [ebp - 0x18]
push dword [ebp - 8]
push dword [ebp - 0x28]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x4025ef
cmp eax, ebx
jne 0x4025ef
mov ecx, dword [ebp - 8]
call fcn.004057cb
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x4025ef
lea edi, [eax + ecx]
mov esi, str.InprocServer32
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc]
push eax
push 1
movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4025e1
cmp dword [ebp - 0xc], ebx
je 0x4025ef
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
mov byte [ebp - 0x154], bl
mov dword [ebp - 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4025e1
xor esi, esi
push dword [esi + 0x415034]
lea eax, [ebp - 0x154]
push eax
call fcn.0040582a
pop ecx
pop ecx
cmp eax, ebx
je 0x402583
cmp byte [eax - 1], 0x5c
jne 0x402583
mov ecx, dword [ebp + esi - 0x48]
cmp byte [eax + ecx], 0x5c
je 0x40258d
add esi, 4
cmp esi, 4
jb 0x40255b
jmp 0x4025e1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
xor esi, esi
mov byte [ecx + eax], bl
cmp dword [ebp - 0x1c], ebx
jbe 0x4025bf
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
push 0x7fffffff
push edi
call fcn.004056fc
pop ecx
pop ecx
test eax, eax
je 0x4025df
add edi, dword [ebp - 0x4c]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x4025a0
xor ebx, ebx
mov eax, dword [ebp - 0x34]
inc eax
push eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x18]
push dword [ebp - 8]
add eax, dword [ebp - 0x14]
push eax
call fcn.0040be90
add esp, 0xc
inc dword [ebp - 0x1c]
jmp 0x4025e1
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x4025ef
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jb 0x4024bd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [ebp - 4], ebx
je 0x402612
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x1000b
push ebx
push str.SOFTWAREClasses
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402408
cmp dword [ebp - 4], ebx
je 0x402408
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x402408
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x18]
add eax, 7
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 8]
call fcn.00403155
cmp dword [eax], ebx
je 0x402408
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x24], ebx
jbe 0x4027a5
mov eax, dword [ebp - 8]
mov byte [eax], bl
push dword [ebp - 0x18]
push dword [ebp - 8]
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x402796
cmp eax, ebx
jne 0x402796
mov ecx, dword [ebp - 8]
call fcn.004057cb
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x402796
lea edi, [eax + ecx]
mov esi, str.CLSID
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0xc]
push eax
push 1
movsb byte es:[edi], byte [esi]
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402788
cmp dword [ebp - 0xc], ebx
je 0x402796
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
mov byte [ebp - 0x154], bl
mov dword [ebp - 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402788
xor edi, edi
cmp dword [ebp - 0x1c], ebx
jbe 0x402788
mov esi, dword [ebp - 0x14]
push 0x7fffffff
push esi
lea ebx, [ebp - 0x154]
call fcn.004056fc
pop ecx
pop ecx
test eax, eax
je 0x40275b
add esi, dword [ebp - 0x30]
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x402739
jmp 0x402786
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
xor ebx, ebx
mov byte [ecx + eax], bl
cmp dword [ebp - 0xc], ebx
je 0x402774
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
dec dword [ebp - 0x20]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x402796
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jb 0x402697
cmp dword [ebp - 4], ebx
je 0x4027b3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x1000b
push ebx
push str.SoftwareClassesMIMEDatabaseContent_Type
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402800
cmp dword [ebp - 4], ebx
je 0x402800
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x402833
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x14], ebx
je 0x402818
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
cmp dword [ebp - 8], ebx
je 0x4023a7
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
jmp 0x4023a7
add dword [ebp - 0x18], 2
push dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 8]
call fcn.00403155
cmp dword [eax], ebx
je 0x402408
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x24], ebx
jbe 0x402965
mov eax, dword [ebp - 8]
mov byte [eax], bl
push dword [ebp - 0x18]
push dword [ebp - 8]
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x402956
cmp eax, ebx
jne 0x402956
mov ecx, dword [ebp - 8]
call fcn.004057cb
test eax, eax
je 0x402956
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
push ecx
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402948
cmp dword [ebp - 0xc], ebx
je 0x402956
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push ebx
push 0x410cb0
push dword [ebp - 0xc]
mov byte [ebp - 0x154], bl
mov dword [ebp - 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402948
xor esi, esi
cmp dword [ebp - 0x1c], ebx
jbe 0x402948
mov edi, dword [ebp - 0x14]
push 0x7fffffff
push edi
lea ebx, [ebp - 0x154]
call fcn.004056fc
pop ecx
pop ecx
test eax, eax
je 0x40291e
add edi, dword [ebp - 0x30]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x4028fc
jmp 0x402940
cmp dword [ebp - 0xc], 0
je 0x40292d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
and dword [ebp - 0xc], 0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
dec dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x402956
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jb 0x402867
cmp dword [ebp - 4], ebx
je 0x402973
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x1000b
push ebx
push str.SoftwareMicrosoftInternet_ExplorerExtensions
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402408
cmp dword [ebp - 4], ebx
je 0x402408
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x402408
add dword [ebp - 0x18], 2
push dword [ebp - 0x18]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 8]
call fcn.00403155
cmp dword [eax], ebx
je 0x402408
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x24], ebx
jbe 0x402bc4
mov eax, dword [ebp - 8]
mov byte [eax], bl
push dword [ebp - 0x18]
push dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x402bb5
cmp eax, ebx
jne 0x402bb5
cmp dword [ebp - 8], ebx
je 0x402bb5
lea eax, [ebp - 0xc]
push eax
push 0x10009
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x48], ebx
push dword [ebp - 4]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ba7
cmp dword [ebp - 0xc], ebx
je 0x402bb5
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x402ba7
add dword [ebp - 0x44], 2
push dword [ebp - 0x44]
add dword [ebp - 0x28], 2
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 0x20]
call fcn.00403155
cmp dword [eax], ebx
je 0x402b83
push dword [ebp - 0x28]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 0x3c]
call fcn.00403155
cmp dword [eax], ebx
je 0x402b83
mov dword [ebp - 0x30], ebx
jmp 0x402b7a
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x48]
jae 0x402b83
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
push ecx
push ebx
lea ecx, [ebp - 0x50]
push ecx
push dword [ebp - 0x20]
mov dword [ebp - 0x34], ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x402b77
cmp dword [ebp - 0x38], ebx
je 0x402b77
cmp dword [ebp - 0x34], 2
je 0x402b24
cmp dword [ebp - 0x34], 7
je 0x402b24
cmp dword [ebp - 0x34], 1
jne 0x402b77
xor esi, esi
cmp dword [ebp - 0x1c], ebx
jbe 0x402b77
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x3c]
push 0x7fffffff
push edi
call fcn.004056fc
pop ecx
pop ecx
test eax, eax
je 0x402b4d
add edi, dword [ebp - 0x4c]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x402b2e
jmp 0x402b6f
cmp dword [ebp - 0xc], 0
je 0x402b5c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
and dword [ebp - 0xc], 0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
dec dword [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ebx, ebx
inc dword [ebp - 0x30]
cmp dword [ebp - 0xc], ebx
jne 0x402ad1
cmp dword [ebp - 0x3c], ebx
je 0x402b95
push dword [ebp - 0x3c]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x20], ebx
je 0x402ba7
push dword [ebp - 0x20]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], ebx
je 0x402bb5
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jb 0x4029f4
cmp dword [ebp - 4], ebx
je 0x402bd2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x1000b
push ebx
push str.SOFTWAREClassesCLSID
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402c13
cmp dword [ebp - 4], ebx
je 0x402c13
mov eax, dword [ebp - 0x18]
add eax, 9
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea esi, [ebp - 8]
call fcn.00403155
cmp dword [eax], ebx
jne 0x402c40
cmp dword [ebp - 0x14], ebx
je 0x402c25
push dword [ebp - 0x14]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 8], ebx
je 0x40242a
push dword [ebp - 8]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40242a
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jbe 0x402d98
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add eax, ecx
mov ecx, dword [ebp - 0x18]
add ecx, 9
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], ecx
cmp ecx, ebx
je 0x402ca1
mov dword [ebp - 0x50], ecx
cmp eax, ebx
je 0x402ca1
push dword [ebp - 0x38]
call fcn.004057fe
mov ecx, dword [ebp - 0x50]
add ecx, eax
mov eax, dword [ebp - 0x44]
sub eax, ecx
add eax, dword [ebp - 0x38]
push eax
mov eax, str.TypeLib
call fcn.004057fe
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x34]
push eax
push 0x10009
push ebx
push ecx
push dword [ebp - 4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
call esi
push dword [ebp - 0x2c]
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea eax, [ebp - 0x1c]
push eax
push 0x1000a
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
mov dword [ebp - 0x1c], ebx
call esi
test eax, eax
je 0x402ce8
cmp dword [ebp - 0x1c], ebx
jne 0x402d05
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x1c], ebx
je 0x402d0e
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1c]
push eax
push 0x1000a
push ebx
push str.SoftwareClassesAppID
push 0x80000002
call esi
test eax, eax
je 0x402d2d
cmp dword [ebp - 0x1c], ebx
jne 0x402d45
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x30]
call fcn.004057cb
test eax, eax
je 0x402d5b
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
cmp dword [ebp - 0x1c], ebx
je 0x402d69
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], ebx
je 0x402d7b
push dword [ebp - 0x30]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x34], ebx
je 0x402d89
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x28], eax
dec dword [ebp - 0x48]
jne 0x402c57
cmp dword [ebp - 4], ebx
je 0x402da6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x1000a
push ebx
push str.Software
push 0x80000002
call esi
cmp dword [ebp - 4], ebx
je 0x402de5
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.MozillaPlugins_npDisplayEngine
push dword [ebp - 4]
call esi
push 0x410cf8
push dword [ebp - 4]
call esi
push str.295296CF_D474_4b2d_A3BB_9D75CC81BA06
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x14], ebx
je 0x402df7
push dword [ebp - 0x14]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 8], ebx
je 0x402e09
push dword [ebp - 8]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x10], ebx
je 0x402e17
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x402e25
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x402448