Function at 0x478910
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed9d9
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4f4], ecx
push 0
call fcn.00478090
add esp, 4
cmp eax, 7
jge 0x478957
xor al, al
jmp 0x478c7b
lea ecx, [ebp - 0x60]
call fcn.00419540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00419540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x485]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x58]
call fcn.004148f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x486]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x38]
call fcn.004148f0
mov byte [ebp - 4], 3
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push SysReAllocStringLen
lea ecx, [ebp - 0x60]
call fcn.00419460
test eax, eax
jne 0x478c2a
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x484], 0
jmp 0x4789e6
mov eax, dword [ebp - 0x484]
add eax, 1
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x480], 0
jne 0x478b6a
mov dword [ebp - 0x270], 0x104
push 0
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x47c]
push edx
mov eax, dword [ebp - 0x484]
push eax
lea ecx, [ebp - 0x60]
call fcn.004421f0
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x480], 0
jne 0x478b65
lea ecx, [ebp - 0x34]
call fcn.00413930
movzx ecx, al
test ecx, ecx
je 0x478aed
push 0x2001f
lea edx, [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x60]
call fcn.0040ae10
push eax
lea ecx, [ebp - 0x14]
call fcn.00419460
test eax, eax
jne 0x478aed
mov dword [ebp - 0x270], 0x104
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x26c]
push ecx
push 0x5046d4
lea ecx, [ebp - 0x14]
call fcn.004193a0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.0044b3d0
add esp, 8
test eax, eax
jne 0x478aed
lea ecx, [ebp - 0x4a9]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x47c]
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.00414c40
mov byte [ebp - 4], 4
lea edx, [ebp - 0x4a8]
push edx
lea ecx, [ebp - 0x38]
call fcn.00415500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4a8]
call fcn.00414a10
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x54]
call fcn.00413930
movzx eax, al
test eax, eax
je 0x478b45
cmp dword [ebp - 0x270], 0
je 0x478b45
lea ecx, [ebp - 0x4cd]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x47c]
push ecx
lea ecx, [ebp - 0x4cc]
call fcn.00414c40
mov byte [ebp - 4], 5
lea edx, [ebp - 0x4cc]
push edx
lea ecx, [ebp - 0x58]
call fcn.00415500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4cc]
call fcn.00414a10
lea ecx, [ebp - 0x34]
call fcn.00413930
movzx eax, al
test eax, eax
jne 0x478b65
lea ecx, [ebp - 0x54]
call fcn.00413930
movzx ecx, al
test ecx, ecx
jne 0x478b65
jmp 0x478b6a
jmp 0x4789d7
lea ecx, [ebp - 0x34]
call fcn.00413930
movzx edx, al
test edx, edx
jne 0x478bff
lea eax, [ebp - 0x38]
test eax, eax
je 0x478b92
lea ecx, [ebp - 0x38]
add ecx, 4
mov dword [ebp - 0x4f8], ecx
jmp 0x478b9c
mov dword [ebp - 0x4f8], 0
mov edx, dword [ebp - 0x4f8]
push edx
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
lea eax, [ebp - 0x4ec]
push eax
call fcn.00417910
add esp, 0xc
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x500]
push edx
lea ecx, [ebp - 0x38]
call fcn.00407ba0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4ec]
call fcn.00414bf0
lea ecx, [ebp - 0x34]
call fcn.00413e50
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x54]
call fcn.00413930
movzx eax, al
test eax, eax
jne 0x478c2a
lea ecx, [ebp - 0x54]
call fcn.00413e50
push eax
mov ecx, dword [ebp - 0x4f4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4f4]
mov eax, dword [edx + 0x7c]
call eax
lea ecx, [ebp - 0x34]
call fcn.00413930
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x4ed], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00419520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00419520
mov al, byte [ebp - 0x4ed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 4