Function at 0x41f33e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x488b6c]
push esi
push edi
mov dword [ebp - 0x844], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x840]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x844]
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.___1_
lea ecx, [ebp - 8]
mov dword [ebp - 4], edi
call fcn.004013c8
lea eax, [ebp - 8]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.0040811c
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004015b6
lea ecx, [ebp - 0x10]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
mov esi, str.Folder
lea ecx, [ebp - 0x34]
push esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
call fcn.004013c8
cmp dword [ebp + 8], 2
jne 0x41f521
push str.command
lea ecx, [ebp - 0x14]
call fcn.004013c8
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xc]
push eax
push 0x491c14
push 0x480268
call fcn.004013c8
push eax
lea eax, [ebp - 0x34]
push eax
push 0x47f070
lea ecx, [ebp - 0x24]
call fcn.004013c8
push eax
lea eax, [ebp - 0x20]
push str.SoftwareClasses
push eax
call fcn.004085b5
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004015b6
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push edi
push eax
push SHChangeNotifyDeregister
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f46c
lea ecx, [ebp - 4]
call fcn.0040372e
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040139c
lea ecx, [ebp - 0x30]
call fcn.0040139c
lea ecx, [ebp - 0x1c]
call fcn.0040139c
lea ecx, [ebp - 0x18]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp - 0x24]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 0x14]
call fcn.0040139c
mov eax, dword [0x47e520]
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
mov eax, 0x400
push eax
mov dword [ebp - 0x28], eax
call fcn.004016d4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc], edi
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0040173c
push dword [ebp + 8]
push dword [ebp - 0x2c]
call fcn.0046b615
pop ecx
test eax, eax
pop ecx
jne 0x41f4fa
push 1
pop edi
lea ecx, [ebp + 8]
call fcn.0040139c
lea ecx, [ebp - 0x34]
call fcn.0040139c
lea ecx, [ebp - 0x2c]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040372e
mov eax, edi
jmp 0x41f793
cmp dword [ebp + 8], edi
push ebx
jne 0x41f5eb
mov eax, esi
test eax, eax
je 0x41f5e3
lea ebx, [ebp - 0x40]
mov esi, 0x480268
push eax
lea ecx, [ebp + 8]
call fcn.004013c8
push esi
lea ecx, [ebp - 0x18]
call fcn.004013c8
push eax
lea eax, [ebp + 8]
push eax
push 0x47f070
lea ecx, [ebp - 0x20]
call fcn.004013c8
push eax
lea eax, [ebp - 0x24]
push str.SoftwareClasses
push eax
call fcn.004085b5
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004015b6
push 0xf003f
lea ecx, [ebp - 4]
push dword [eax]
push SHChangeNotifyDeregister
call fcn.00403829
lea ecx, [ebp - 0x28]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 0x24]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp - 0x18]
call fcn.0040139c
push dword [0x491c14]
lea ecx, [ebp - 4]
call fcn.00403745
lea ecx, [ebp + 8]
add ebx, 4
call fcn.0040139c
mov eax, dword [ebx]
cmp eax, edi
jne 0x41f53d
push 1
pop edi
jmp 0x41f778
cmp dword [ebp + 8], 1
jne 0x41f778
push 0xf003f
push str.SoftwareClasses
push SHChangeNotifyDeregister
lea ecx, [ebp - 4]
call fcn.00403829
mov eax, esi
test eax, eax
je 0x41f778
lea ecx, [ebp - 0x40]
mov ebx, 0x491c14
mov dword [ebp - 8], ecx
mov esi, 0x480268
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], edi
call fcn.004013c8
push str.command
lea ecx, [ebp - 0x30]
call fcn.004013c8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x20]
push eax
push ebx
push esi
call fcn.004013c8
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004015b6
push edi
push edi
push 2
push edi
push edi
lea ecx, [ebp + 8]
push dword [eax]
push dword [ebp - 4]
call fcn.004057ce
lea ecx, [ebp - 0x28]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 0x24]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp - 0x30]
call fcn.0040139c
push edi
lea ecx, [ebp + 8]
push dword [ebp - 0x2c]
call fcn.00405825
lea ecx, [ebp + 8]
call fcn.0040372e
lea eax, [ebp - 0x844]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040811c
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.004013c8
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004015b6
push edi
push edi
push 2
push edi
push edi
lea ecx, [ebp + 8]
push dword [eax]
push dword [ebp - 4]
call fcn.004057ce
lea ecx, [ebp - 0x18]
call fcn.0040139c
lea ecx, [ebp - 0x44]
call fcn.0040139c
lea ecx, [ebp - 0x38]
call fcn.0040139c
mov eax, dword [0x47e520]
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push str._s__d
push eax
call fcn.004017cc
add esp, 0x10
lea ecx, [ebp + 8]
push 0x48022c
push dword [ebp - 0x1c]
call fcn.00405825
add dword [ebp - 8], 4
lea ecx, [ebp - 0x1c]
call fcn.0040139c
lea ecx, [ebp - 0x10]
call fcn.0040139c
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp + 8]
call fcn.0040372e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, edi
jne 0x41f626
lea ecx, [ebp - 0x34]
call fcn.0040139c
lea ecx, [ebp - 0x2c]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040372e
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret