Function at 0x42d2c4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c23e4
mov eax, dword fs:[0]
push eax
mov eax, 0x20f0
call fcn.004aa250
mov eax, dword [0x4eec64]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x20f4]
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x2098], esi
mov dword [ebp - 0x2084], ebx
mov dword [ebp - 0x207c], ebx
call fcn.00425631
mov dword [ebp - 4], ebx
call fcn.004964ca
push eax
lea ecx, [ebp - 0x2070]
call fcn.004214a8
push 0x2024
lea eax, [ebp - 0x2038]
push ebx
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x203c], ebx
call fcn.004a52f0
add esp, 0xc
push 0x4cc12c
mov eax, esi
mov dword [ebp - 0x209c], ebx
call fcn.00478ec0
lea ecx, [ebp - 0x2060]
mov dword [esp], str.MachineSoftwareClasses
call fcn.00423456
lea eax, [ebp - 0x2060]
push eax
lea eax, [ebp - 0x20f4]
mov byte [ebp - 4], 2
call fcn.00428b9c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2060]
add ecx, 0xfffffff0
call fcn.0042101a
push str._CurrentUser_SoftwareClasses
lea ecx, [ebp - 0x2060]
call fcn.00423456
lea eax, [ebp - 0x2060]
push eax
lea eax, [ebp - 0x20f4]
mov byte [ebp - 4], 3
call fcn.00428b9c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2060]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0x20e8]
cmp esi, dword [ebp - 0x20e4]
jbe 0x42d3e2
call fcn.004a4c91
mov eax, dword [ebp - 0x20f4]
mov dword [ebp - 0x20a4], eax
mov dword [ebp - 0x20a0], esi
mov esi, dword [ebp - 0x20e4]
cmp dword [ebp - 0x20e8], esi
jbe 0x42d407
call fcn.004a4c91
mov eax, dword [ebp - 0x20f4]
mov dword [ebp - 0x20f8], esi
lea edi, [ebp - 0x20fc]
lea esi, [ebp - 0x20a4]
mov dword [ebp - 0x20fc], eax
call fcn.004239ac
test al, al
je 0x42df9f
call fcn.00472310
mov dword [ebp - 0x2050], eax
cmp dword [ebp + 8], ebx
jne 0x42d44b
call fcn.00468320
test eax, eax
je 0x42d455
mov dword [ebp - 0x2050], SysReAllocStringLen
push dword [0x4f3ad0]
lea eax, [ebp - 0x20d4]
push str.SoftwareVOS_s
push eax
call fcn.00462190
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x20dc]
push eax
mov byte [ebp - 4], 4
call fcn.004236a5
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x20a4]
mov byte [ebp - 4], 5
call fcn.00423902
push eax
lea eax, [ebp - 0x20c4]
push edi
push eax
call fcn.004296bf
add esp, 0xc
lea ecx, [ebp - 0x207c]
push ecx
push 9
mov byte [ebp - 4], 6
mov eax, dword [eax]
push ebx
push eax
call fcn.00472310
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20c4]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
mov ecx, dword [ebp - 0x20dc]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20d4]
add ecx, 0xfffffff0
call fcn.0042101a
cmp esi, ebx
jne 0x42df8f
call fcn.004964ca
push eax
lea ecx, [ebp - 0x2058]
call fcn.004214a8
mov byte [ebp - 4], 7
mov dword [ebp - 0x2060], ebx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x2058]
call fcn.004214d0
push esi
push eax
push dword [ebp - 0x2060]
push dword [ebp - 0x207c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2058]
mov esi, eax
call fcn.00423764
cmp esi, ebx
jne 0x42df71
push 1
lea eax, [ebp - 0x20b4]
push eax
lea ecx, [ebp - 0x2058]
call fcn.00423645
push 0x4cd40c
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00423a1c
mov ebx, eax
neg ebx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20b4]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042101a
test bl, bl
je 0x42df64
mov esi, 0x4cc12c
push esi
lea ecx, [ebp - 0x2064]
call fcn.00423456
xor eax, eax
push eax
push eax
push eax
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x2048], esp
push esi
lea ebx, [ebp - 0x2064]
call fcn.00423456
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2058]
mov dword [ebp - 0x2054], esp
mov ecx, esp
push eax
call fcn.00423af1
push dword [ebp - 0x207c]
mov byte [ebp - 4], 9
call fcn.00462ff0
xor esi, esi
add esp, 0x18
cmp eax, esi
je 0x42df52
push dword [ebp - 0x2064]
lea eax, [ebp - 0x2068]
push dword [0x4f3ad0]
push dword [0x4f392c]
push str._s_s._s
push eax
call fcn.00462190
add esp, 0x14
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2068]
lea eax, [ebp - 0x204c]
push str.SoftwareClasses_s
push eax
call fcn.00462190
add esp, 0xc
push 1
push ecx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x204c]
mov dword [ebp - 0x2054], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 0xd
mov eax, ebx
mov dword [ebp - 0x2048], esp
mov ecx, esp
push eax
call fcn.00423af1
push dword [ebp - 0x207c]
mov ecx, dword [ebp - 0x2050]
mov byte [ebp - 4], 0xc
call fcn.00463e00
add esp, 0x10
cmp eax, esi
je 0x42df36
push esi
push esi
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2054], esp
mov edi, 0x4cc12c
push edi
mov dword [ebp - 0x2048], esi
lea ebx, [ebp - 0x2070]
call fcn.00423456
push ecx
mov eax, esp
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x2044], esp
mov esi, str.DefaultIcon
push esi
lea ecx, [ebp - 0x204c]
push ecx
push eax
call fcn.004236a5
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0xc
call fcn.00462ff0
add esp, 0x18
test eax, eax
je 0x42d9bc
mov eax, dword [ebp - 0x2070]
cmp dword [eax - 0xc], 0
je 0x42d9bc
call fcn.004964ca
push eax
lea ecx, [ebp - 0x208c]
call fcn.004214a8
mov byte [ebp - 4], 0xf
call fcn.004964ca
push eax
lea ecx, [ebp - 0x2090]
call fcn.004214a8
push 0x2c
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.004305fb
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d7b8
push ebx
push 0
lea eax, [ebp - 0x20bc]
push eax
lea ecx, [ebp - 0x2070]
call fcn.00427bed
push 0x4cefa8
mov byte [ebp - 4], 0x11
call fcn.00430620
push eax
lea ecx, [ebp - 0x208c]
call fcn.00423b12
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x20bc]
add ecx, 0xfffffff0
call fcn.0042101a
inc ebx
push ebx
lea eax, [ebp - 0x20cc]
push eax
lea ecx, [ebp - 0x2070]
call fcn.00430684
push eax
lea ecx, [ebp - 0x2090]
mov byte [ebp - 4], 0x12
call fcn.00423b12
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x20cc]
add ecx, 0xfffffff0
call fcn.0042101a
jmp 0x42d7e4
push 0x4cefa8
lea eax, [ebp - 0x2070]
call fcn.00430620
push eax
lea ecx, [ebp - 0x208c]
call fcn.00423b12
push 0x4ccdf0
lea ecx, [ebp - 0x2090]
call fcn.00423f1b
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x2088]
call fcn.00423af1
push 1
mov ecx, edi
lea ebx, [ebp - 0x2088]
mov byte [ebp - 4], 0x13
call fcn.0047bff0
mov eax, ebx
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423af1
lea eax, [ebp - 0x2078]
push 0x4f3ac8
push eax
call fcn.0047c340
add esp, 8
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x2078]
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423af1
call fcn.00464b70
xor ebx, ebx
pop ecx
cmp eax, ebx
jne 0x42d8f0
push ecx
lea eax, [ebp - 0x2088]
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423af1
lea esi, [ebp - 0x2094]
call fcn.0047bf60
pop ecx
lea eax, [ebp - 0x203c]
push eax
lea eax, [ebp - 0x209c]
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x2094]
push eax
mov eax, dword [ebp - 0x2098]
call fcn.00478e00
pop ecx
pop ecx
test eax, eax
jne 0x42d8d9
push ebx
push ebx
push ebx
push dword [ebp - 0x2078]
push dword [ebp - 0x209c]
push dword [ebp - 0x2098]
call fcn.00426178
add esp, 0x14
mov ecx, esp
mov dword [ebp - 0x2044], esp
push eax
push str.RegisterApp_Associations:_extracting_IconFile:_ZR_d
push ecx
call fcn.00462190
add esp, 0xc
call fcn.0042a126
pop ecx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2094]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, str.DefaultIcon
push ecx
lea eax, [ebp - 0x2078]
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423af1
call fcn.00464b70
cmp eax, ebx
mov ebx, dword [ebp - 0x2090]
pop ecx
je 0x42d97d
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x2044], esp
push ebx
push dword [ebp - 0x2078]
push str.__s___s
push eax
call fcn.00462190
add esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x2054], esp
push edi
call fcn.00423456
push ecx
mov eax, esp
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x2048], esp
push esi
lea ecx, [ebp - 0x204c]
push ecx
push eax
call fcn.004236a5
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x14
call fcn.004633e0
add esp, 0x14
mov dword [ebp - 0x2048], eax
mov ecx, dword [ebp - 0x2078]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x2088]
add ecx, 0xfffffff0
call fcn.0042101a
lea ecx, [ebx - 0x10]
call fcn.0042101a
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x208c]
add ecx, 0xfffffff0
call fcn.0042101a
cmp dword [ebp - 0x2048], 0
jne 0x42da1d
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x2044], esp
push dword [0x4f3b10]
push str.__s__0
push eax
call fcn.00462190
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0x2054], esp
push edi
call fcn.00423456
push ecx
mov eax, esp
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x2048], esp
push esi
lea ecx, [ebp - 0x204c]
push ecx
push eax
call fcn.004236a5
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0xc
call fcn.004633e0
add esp, 0x14
call fcn.004964ca
push eax
lea ecx, [ebp - 0x2040]
call fcn.004214a8
mov byte [ebp - 4], 0x1a
call fcn.004964ca
push eax
lea ecx, [ebp - 0x205c]
call fcn.004214a8
mov byte [ebp - 4], 0x1b
and dword [ebp - 0x2048], 0
xor esi, esi
cmp dword [ebp - 0x2048], esi
jne 0x42da8f
push str._shellopencommand
lea eax, [ebp - 0x204c]
push eax
lea eax, [ebp - 0x20b0]
push eax
call fcn.004236a5
add esp, 0xc
push eax
lea ecx, [ebp - 0x205c]
mov byte [ebp - 4], 0x1c
call fcn.00423b12
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x20b0]
jmp 0x42dacd
cmp dword [ebp - 0x2048], 1
jne 0x42dad5
push str._shellplaycommand
lea eax, [ebp - 0x204c]
push eax
lea eax, [ebp - 0x20d8]
push eax
call fcn.004236a5
add esp, 0xc
push eax
lea ecx, [ebp - 0x205c]
mov byte [ebp - 4], 0x1d
call fcn.00423b12
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x20d8]
add ecx, 0xfffffff0
call fcn.0042101a
push esi
push esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x2044], esp
push edi
lea ebx, [ebp - 0x2040]
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x205c]
mov dword [ebp - 0x2054], esp
mov ecx, esp
push eax
call fcn.00423af1
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x1b
call fcn.00462ff0
add esp, 0x18
test eax, eax
je 0x42dcba
push 1
lea eax, [ebp - 0x20b8]
push eax
mov ecx, ebx
call fcn.00423645
push 0x4cf08c
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00423a1c
mov ebx, eax
neg ebx
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x20b8]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042101a
test bl, bl
je 0x42dbd8
push dword [0x4f3b10]
lea eax, [ebp - 0x20d0]
push 0x4cf090
push eax
call fcn.00462190
add esp, 0xc
mov byte [ebp - 4], 0x20
push dword [eax]
lea eax, [ebp - 0x2040]
push eax
xor eax, eax
call fcn.004303fb
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x20d0]
add ecx, 0xfffffff0
call fcn.0042101a
push 0
push ecx
lea eax, [ebp - 0x2040]
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x2054], esp
push edi
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x2080], esp
jmp 0x42dc9a
push 0x4cf0a8
xor ecx, ecx
lea esi, [ebp - 0x2040]
call fcn.00423569
cmp eax, 0xffffffff
jne 0x42dbfb
push str.___1_
xor ecx, ecx
call fcn.00423569
cmp eax, 3
jle 0x42dcba
mov esi, 0x4cf08c
push esi
lea ecx, [ebp - 0x2040]
push ecx
call fcn.004303fb
push esi
lea eax, [ebp - 0x2040]
push eax
xor eax, eax
call fcn.004303fb
push dword [0x4f3b10]
lea eax, [ebp - 0x20c0]
push 0x4cf090
push eax
call fcn.00462190
add esp, 0xc
mov byte [ebp - 4], 0x23
push dword [eax]
lea eax, [ebp - 0x2040]
push eax
xor eax, eax
call fcn.004303fb
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x20c0]
add ecx, 0xfffffff0
call fcn.0042101a
push 0
push ecx
lea eax, [ebp - 0x2040]
mov dword [ebp - 0x2080], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x2044], esp
push edi
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x2054], esp
lea eax, [ebp - 0x205c]
mov ecx, esp
push eax
call fcn.00423af1
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x1b
call fcn.004633e0
add esp, 0x14
inc dword [ebp - 0x2048]
cmp dword [ebp - 0x2048], 2
jl 0x42da4e
xor ebx, ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x2080], esp
push edi
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x2044], esp
push edi
call fcn.00423456
mov byte [ebp - 4], 0x27
push dword [0x4f3ad0]
lea eax, [ebp - 0x20c8]
push str.SoftwareVOS_s
push eax
call fcn.00462190
add esp, 0xc
push str.IntegratedExt_
push eax
lea eax, [ebp - 0x20a8]
push eax
mov byte [ebp - 4], 0x28
call fcn.004236a5
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x29
mov dword [ebp - 0x2054], esp
lea edx, [ebp - 0x2058]
push edx
push eax
push ecx
call fcn.004296bf
add esp, 0xc
mov byte [ebp - 4], 0x2a
call fcn.00472310
push eax
mov byte [ebp - 4], 0x2c
call fcn.004633e0
mov ecx, dword [ebp - 0x20a8]
add esp, 0x14
cmp eax, ebx
sete byte [ebp - 0x2069]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x20c8]
add ecx, 0xfffffff0
call fcn.0042101a
cmp byte [ebp - 0x2069], bl
jne 0x42df1a
push edi
lea ecx, [ebp - 0x2074]
call fcn.00423456
push ebx
push ebx
push ebx
push ecx
mov byte [ebp - 4], 0x2d
mov ecx, esp
mov dword [ebp - 0x2080], esp
push edi
lea ebx, [ebp - 0x2074]
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x2e
mov eax, esp
mov dword [ebp - 0x2044], esp
push dword [ebp - 0x2058]
mov esi, str.SoftwareClasses_s
push esi
push eax
call fcn.00462190
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x2d
call fcn.00462ff0
add esp, 0x18
test eax, eax
je 0x42de26
mov eax, dword [0x4f392c]
push dword [eax - 0xc]
lea eax, [ebp - 0x20ac]
push eax
mov ecx, ebx
call fcn.00423645
push dword [0x4f392c]
mov eax, dword [eax]
or dword [ebp - 0x2084], 1
push eax
call fcn.004a48d2
pop ecx
pop ecx
test eax, eax
je 0x42de26
mov bl, 1
jmp 0x42de28
xor bl, bl
test byte [ebp - 0x2084], 1
je 0x42de46
mov ecx, dword [ebp - 0x20ac]
and dword [ebp - 0x2084], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0042101a
test bl, bl
je 0x42deb3
push 0
push ecx
lea eax, [ebp - 0x2074]
mov dword [ebp - 0x2080], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov eax, esp
mov byte [ebp - 4], 0x2f
mov dword [ebp - 0x2044], esp
push str.Backup
push 0x4f392c
push eax
call fcn.004236a5
add esp, 8
mov byte [ebp - 4], 0x30
mov eax, esp
mov dword [ebp - 0x2054], esp
push dword [ebp - 0x2058]
push esi
push eax
call fcn.00462190
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x2d
call fcn.004633e0
add esp, 0x14
test eax, eax
je 0x42df0c
push 0
push ecx
lea eax, [ebp - 0x2068]
mov dword [ebp - 0x2080], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0x2044], esp
push edi
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x32
mov eax, esp
mov dword [ebp - 0x2054], esp
push dword [ebp - 0x2058]
push esi
push eax
call fcn.00462190
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x2d
call fcn.004633e0
add esp, 0x14
mov ecx, dword [ebp - 0x2074]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x205c]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x2040]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x204c]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x2068]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2064]
add ecx, 0xfffffff0
call fcn.0042101a
inc dword [ebp - 0x2060]
xor ebx, ebx
jmp 0x42d51a
push dword [ebp - 0x207c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2058]
add ecx, 0xfffffff0
call fcn.0042101a
lea esi, [ebp - 0x20a4]
call fcn.00423981
jmp 0x42d3f4
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 0x2070]
add ecx, 0xfffffff0
call fcn.0042101a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20f4]
push eax
call fcn.00423955
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4220
leave
ret