Function at 0x459910
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463d49
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x49], 1
call fcn.00457620
call fcn.00457590
call fcn.00453710
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x2c]
call fcn.00401d20
mov dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0x10
je 0x459987
cmp dword [ebp - 0x50], 4
je 0x459987
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov al, byte [ebp - 0x51]
jmp 0x45a15d
cmp dword [ebp - 0x50], 0x10
jne 0x4599d5
mov eax, dword [ebp + 8]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
lea ecx, [ebp - 0x70]
push ecx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x338], eax
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004026a0
jmp 0x459a21
mov ecx, dword [ebp + 8]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_s
lea edx, [ebp - 0x8c]
push edx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.004026a0
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xac]
call fcn.004024b0
mov byte [ebp - 4], 3
mov eax, dword [0x48a7e8]
push eax
lea ecx, [ebp - 0xc8]
call fcn.004024b0
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x2c]
push eax
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x8d], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
call fcn.004026a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.004026a0
movzx edx, byte [ebp - 0x8d]
test edx, edx
je 0x459abb
mov byte [ebp - 0x49], 0
mov eax, dword [ebp + 0x10]
push eax
push 0x47a8a8
lea ecx, [ebp - 0xe4]
push ecx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x34c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.004026a0
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x104]
call fcn.004024b0
mov byte [ebp - 4], 6
push 0x47a824
lea ecx, [ebp - 0x120]
call fcn.004024b0
mov byte [ebp - 4], 7
push 1
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0xe5], dl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x120]
call fcn.004026a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104]
call fcn.004026a0
movzx eax, byte [ebp - 0xe5]
test eax, eax
je 0x459ba0
mov byte [ebp - 0x49], 0
mov ecx, dword [ebp + 0x10]
push ecx
push 0x47a8f8
lea edx, [ebp - 0x13c]
push edx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x354], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x354]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.004026a0
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x15c]
call fcn.004024b0
mov byte [ebp - 4], 9
push 0x47a924
lea ecx, [ebp - 0x178]
call fcn.004024b0
mov byte [ebp - 4], 0xa
push 1
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x178]
push ecx
lea edx, [ebp - 0x2c]
push edx
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x13d], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x178]
call fcn.004026a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15c]
call fcn.004026a0
movzx ecx, byte [ebp - 0x13d]
test ecx, ecx
je 0x459c85
mov byte [ebp - 0x49], 0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x48]
call fcn.004024b0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 0x10
jne 0x459ce9
mov eax, dword [ebp + 8]
push eax
push str.SoftwareMicrosoftWindowsCurrentversionExplorerFileExts_sUserChoice
lea ecx, [ebp - 0x194]
push ecx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x358], eax
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x35c], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x194]
call fcn.004026a0
jmp 0x459d35
mov ecx, dword [ebp + 8]
push ecx
push str.SoftwareMicrosoftWindowsCurrentversionExplorerFileExts_s
lea edx, [ebp - 0x1b0]
push edx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x364]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b0]
call fcn.004026a0
push str.Application
lea ecx, [ebp - 0x1d0]
call fcn.004024b0
mov byte [ebp - 4], 0xe
push 1
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x1b1], dl
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1d0]
call fcn.004026a0
movzx eax, byte [ebp - 0x1b1]
test eax, eax
je 0x459d95
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x48]
call fcn.00401d50
push eax
push str.SoftwareClassesApplications_sShellopencommand
lea ecx, [ebp - 0x1ec]
push ecx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x368], eax
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x36c], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1ec]
call fcn.004026a0
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.004024b0
mov byte [ebp - 4], 0x10
push 0x47a9bc
lea ecx, [ebp - 0x228]
call fcn.004024b0
mov byte [ebp - 4], 0x11
push 1
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x1ed], dl
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x228]
call fcn.004026a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20c]
call fcn.004026a0
movzx eax, byte [ebp - 0x1ed]
test eax, eax
je 0x459e7f
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x48]
call fcn.00401d50
push eax
push str.Applications_sShellopencommand
lea ecx, [ebp - 0x244]
push ecx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x374], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x374]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x244]
call fcn.004026a0
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x264]
call fcn.004024b0
mov byte [ebp - 4], 0x13
push 0x47ab08
lea ecx, [ebp - 0x280]
call fcn.004024b0
mov byte [ebp - 4], 0x14
push 1
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x245], dl
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x280]
call fcn.004026a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x264]
call fcn.004026a0
movzx eax, byte [ebp - 0x245]
test eax, eax
je 0x459f69
mov byte [ebp - 0x49], 0
mov ecx, dword [ebp + 8]
push ecx
push str.SoftwareClasses_s
lea edx, [ebp - 0x29c]
push edx
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x37c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x29c]
call fcn.004026a0
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2bc]
call fcn.004024b0
mov byte [ebp - 4], 0x16
push 0x47ab34
lea ecx, [ebp - 0x2d8]
call fcn.004024b0
mov byte [ebp - 4], 0x17
push 1
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
lea edx, [ebp - 0x2c]
push edx
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x29d], al
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2d8]
call fcn.004026a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2bc]
call fcn.004026a0
movzx ecx, byte [ebp - 0x29d]
test ecx, ecx
je 0x45a04e
mov byte [ebp - 0x49], 0
mov edx, dword [ebp + 8]
push edx
push 0x47ab38
lea eax, [ebp - 0x2f4]
push eax
call fcn.00458010
add esp, 0xc
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x384], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x384]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2f4]
call fcn.004026a0
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x314]
call fcn.004024b0
mov byte [ebp - 4], 0x19
push 0x47ab40
lea ecx, [ebp - 0x330]
call fcn.004024b0
mov byte [ebp - 4], 0x1a
push 1
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x2c]
push eax
push closesocket
call fcn.00458bc0
add esp, 0x14
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x2f5], cl
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x330]
call fcn.004026a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x314]
call fcn.004026a0
movzx edx, byte [ebp - 0x2f5]
test edx, edx
je 0x45a133
mov byte [ebp - 0x49], 0
mov al, byte [ebp - 0x49]
mov byte [ebp - 0x331], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004026a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov al, byte [ebp - 0x331]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret