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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push 0x4b52d0
lea ecx, [ebp - 0x28]
call fcn.00403927
test byte [0x4c385c], 1
jne 0x43a3fd
mov eax, dword [0x4b0550]
or byte [0x4c385c], 1
push 0x43aa77
mov dword [0x4c3858], eax
call fcn.0049d371
pop ecx
mov eax, dword [0x4c3858]
push ebx
xor ebx, ebx
push esi
cmp dword [eax - 8], ebx
push edi
mov esi, 0x4c3858
jne 0x43a466
mov eax, dword [0x4bd5dc]
mov ecx, 0x81
mov dword [ebp - 0x244], eax
xor eax, eax
lea edi, [ebp - 0x240]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x244]
test eax, eax
je 0x43a457
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x244]
push ecx
push eax
mov ecx, esi
call fcn.004039ec
push str.___e__L__D__1__S_
lea ecx, [ebp - 0x20]
call fcn.00403927
push 0x4b1254
lea ecx, [ebp - 8]
call fcn.00403927
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403b20
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
mov eax, dword [0x4bd894]
mov dword [ebp - 0x18], ebx
cmp eax, 1
jne 0x43a4ee
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov edi, 0xf003f
push eax
push edi
push ebx
push ebx
push SHChangeNotifyRegister
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x43a556
lea ecx, [ebp - 0x18]
call fcn.00405bf5
mov eax, dword [ebp - 8]
jmp 0x43a553
cmp eax, 2
jne 0x43a524
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov edi, 0xf003f
push eax
push edi
push ebx
push str.SoftwareClasses
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x43a556
lea ecx, [ebp - 0x18]
call fcn.00405bf5
mov eax, dword [ebp - 8]
jmp 0x43a553
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov edi, 0xf003f
push eax
push edi
push ebx
push str.SoftwareClasses
push SHChangeNotifyRegister
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x43a556
lea ecx, [ebp - 0x18]
call fcn.00405bf5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push str._shell_
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x24], ebx
call fcn.0040a915
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push 1
push ebx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x20], ebx
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x43a5af
lea ecx, [ebp - 0x24]
call fcn.00405bf5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
cmp dword [ebp - 4], ebx
jne 0x43a7ca
push str.command
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], 0x400
call fcn.00403927
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push str._shell_
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040a915
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 1
push ebx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 4], ebx
call esi
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jne 0x43a634
lea ecx, [ebp - 0x24]
call fcn.00405bf5
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x34]
call fcn.004038fb
lea ecx, [ebp - 0x38]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
cmp dword [ebp - 0x1c], ebx
jne 0x43a7ca
mov eax, dword [0x4b0550]
push 0x400
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.00403c58
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403cd2
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
jne 0x43a7c2
cmp dword [ebp + 0x10], ebx
jne 0x43a776
lea eax, [ebp + 8]
push str._shell
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.0040a915
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
push 1
push ebx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0xc], ebx
call esi
mov esi, eax
cmp esi, ebx
jne 0x43a6ee
lea ecx, [ebp - 4]
call fcn.00405bf5
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
call fcn.004038fb
cmp esi, ebx
jne 0x43a76c
mov ecx, dword [0x4b0550]
mov eax, 0x400
mov dword [ebp - 0xc], ecx
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], eax
call fcn.00403c58
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.00403cd2
push dword [ebp - 0x28]
push dword [ebp - 0xc]
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
jne 0x43a764
cmp dword [ebp + 0xc], ebx
je 0x43a75d
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.00405bf5
jmp 0x43a77b
mov dword [ebp - 8], 1
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.00405bf5
jmp 0x43a7c2
cmp dword [ebp + 0xc], ebx
je 0x43a7bb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.00405bf5
lea ecx, [ebp - 0x14]
call fcn.00405bf5
lea ecx, [ebp - 0x18]
call fcn.00405bf5
lea ecx, [ebp - 0x2c]
call fcn.004038fb
lea ecx, [ebp - 0x28]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
push 1
pop eax
jmp 0x43aa72
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.00405bf5
cmp dword [ebp + 0xc], ebx
jne 0x43aa48
call fcn.0043318d
call fcn.00433043
test eax, eax
je 0x43a8a5
lea eax, [ebp - 4]
push 0x108
push eax
call fcn.00461770
pop ecx
mov esi, 0x4b0890
pop ecx
push esi
lea ecx, [ebp + 0xc]
call fcn.00403927
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp + 0xc]
call fcn.004038fb
push esi
lea ecx, [ebp + 0xc]
call fcn.00403927
lea eax, [ebp + 0xc]
lea ecx, [ebp - 4]
push eax
call fcn.0040aa07
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea eax, [ebp + 0xc]
push 0x109
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040aa07
lea ecx, [ebp + 0xc]
call fcn.004038fb
push str.CLSID
lea ecx, [ebp - 0x10]
call fcn.00403927
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp + 8]
call fcn.00403d34
test eax, eax
lea ecx, [ebp - 0x10]
setge byte [ebp + 0xf]
call fcn.004038fb
cmp byte [ebp + 0xf], bl
je 0x43a89d
push ebx
push ebx
push dword [ebp - 4]
push dword [0x4c42f0]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 4]
call fcn.004038fb
cmp dword [ebp - 8], ebx
je 0x43a939
lea eax, [ebp + 8]
push str._shell
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp + 0x10], ebx
call fcn.0040a915
mov eax, dword [eax]
push edi
push eax
lea ecx, [ebp + 0x10]
push dword [ebp - 0x30]
call fcn.00405cf0
neg eax
sbb al, al
lea ecx, [ebp - 0x10]
inc al
mov byte [ebp + 0xf], al
call fcn.004038fb
cmp byte [ebp + 0xf], bl
je 0x43a92c
lea ecx, [ebp - 0x14]
call fcn.00405bf5
push 0x4bd5d8
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4b5284
lea ecx, [ebp + 0x10]
call fcn.00405c0c
push edi
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp - 0x30]
call fcn.00405cf0
test eax, eax
jne 0x43a92c
push str.shell
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp + 0x10]
call fcn.00405bf5
jmp 0x43aa48
lea ecx, [ebp - 0x14]
call fcn.00405bf5
push 0x4b1300
lea ecx, [ebp + 0xc]
call fcn.00403927
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
mov eax, dword [eax]
mov esi, dword [ebp - 0x30]
push ebx
push ebx
push edi
push ebx
push ebx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00407b8f
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea eax, [ebp + 8]
push str._shell_
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040a915
mov eax, dword [eax]
push ebx
push ebx
push edi
push ebx
push ebx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00407b8f
lea ecx, [ebp + 0xc]
call fcn.004038fb
cmp dword [ebp + 0x10], ebx
jne 0x43a9c1
push ebx
push 0x4b5284
lea ecx, [ebp - 0x14]
call fcn.00407c00
lea eax, [ebp + 8]
push str._shellQ_Dir
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040a915
mov eax, dword [eax]
push ebx
push ebx
push edi
push ebx
push ebx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00407b8f
lea ecx, [ebp + 0xc]
call fcn.004038fb
push str.Icon
lea ecx, [ebp + 0xc]
call fcn.00403927
push dword [eax]
lea ecx, [ebp - 0x14]
push dword [0x4c3858]
call fcn.00407c00
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea eax, [ebp + 8]
push str._shellQ_Dircommand
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040a915
mov eax, dword [eax]
push ebx
push ebx
push edi
push ebx
push ebx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00407b8f
lea ecx, [ebp + 0xc]
call fcn.004038fb
push ebx
lea ecx, [ebp - 0x14]
push dword [ebp - 0x2c]
call fcn.00407c00
lea ecx, [ebp - 0x14]
call fcn.00405bf5
lea ecx, [ebp - 0x18]
call fcn.00405bf5
lea ecx, [ebp - 0x2c]
call fcn.004038fb
lea ecx, [ebp - 0x28]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret