Function at 0x42d2ab
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c26a4
mov eax, dword fs:[0]
push eax
mov eax, 0x20f0
call fcn.004aa4c0
mov eax, dword [0x4efc64]
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.00425647
mov dword [ebp - 4], ebx
call fcn.0049673f
push eax
lea ecx, [ebp - 0x2070]
call fcn.004249c2
push 0x2024
lea eax, [ebp - 0x2038]
push ebx
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x203c], ebx
call fcn.004a5560
add esp, 0xc
push 0x4cd12c
mov eax, esi
mov dword [ebp - 0x209c], ebx
call fcn.00478fe0
lea ecx, [ebp - 0x2060]
mov dword [esp], str.MachineSoftwareClasses
call fcn.00423416
lea eax, [ebp - 0x2060]
push eax
lea eax, [ebp - 0x20f4]
mov byte [ebp - 4], 2
call fcn.00428b7a
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.00423416
lea eax, [ebp - 0x2060]
push eax
lea eax, [ebp - 0x20f4]
mov byte [ebp - 4], 3
call fcn.00428b7a
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 0x42d3c9
call fcn.004a4f01
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 0x42d3ee
call fcn.004a4f01
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.00423944
test al, al
je 0x42df86
call fcn.00472430
mov dword [ebp - 0x2050], eax
cmp dword [ebp + 8], ebx
jne 0x42d432
call fcn.00468270
test eax, eax
je 0x42d43c
mov dword [ebp - 0x2050], SysReAllocStringLen
push dword [0x4f4ad0]
lea eax, [ebp - 0x20d4]
push str.SoftwareVOS_s
push eax
call fcn.00462050
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x20dc]
push eax
mov byte [ebp - 4], 4
call fcn.00423665
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x20a4]
mov byte [ebp - 4], 5
call fcn.0043bff4
push eax
lea eax, [ebp - 0x20c4]
push edi
push eax
call fcn.004296a6
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.00472430
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 0x42df76
call fcn.0049673f
push eax
lea ecx, [ebp - 0x2058]
call fcn.004249c2
mov byte [ebp - 4], 7
mov dword [ebp - 0x2060], ebx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x2058]
call fcn.0042149b
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.00423724
cmp esi, ebx
jne 0x42df58
push 1
lea eax, [ebp - 0x20b4]
push eax
lea ecx, [ebp - 0x2058]
call fcn.00423605
push 0x4ce40c
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.004239bd
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 0x42df4b
mov esi, 0x4cd12c
push esi
lea ecx, [ebp - 0x2064]
call fcn.00423416
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.00423416
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2058]
mov dword [ebp - 0x2054], esp
mov ecx, esp
push eax
call fcn.00423a92
push dword [ebp - 0x207c]
mov byte [ebp - 4], 9
call fcn.00462f40
xor esi, esi
add esp, 0x18
cmp eax, esi
je 0x42df39
push dword [ebp - 0x2064]
lea eax, [ebp - 0x2068]
push dword [0x4f4ad0]
push dword [0x4f492c]
push str._s_s._s
push eax
call fcn.00462050
add esp, 0x14
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2068]
lea eax, [ebp - 0x204c]
push str.SoftwareClasses_s
push eax
call fcn.00462050
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.00423a92
push ecx
mov byte [ebp - 4], 0xd
mov eax, ebx
mov dword [ebp - 0x2048], esp
mov ecx, esp
push eax
call fcn.00423a92
push dword [ebp - 0x207c]
mov ecx, dword [ebp - 0x2050]
mov byte [ebp - 4], 0xc
call fcn.00463d50
add esp, 0x10
cmp eax, esi
je 0x42df1d
push esi
push esi
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2054], esp
mov edi, 0x4cd12c
push edi
mov dword [ebp - 0x2048], esi
lea ebx, [ebp - 0x2070]
call fcn.00423416
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.00423665
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0xc
call fcn.00462f40
add esp, 0x18
test eax, eax
je 0x42d9a3
mov eax, dword [ebp - 0x2070]
cmp dword [eax - 0xc], 0
je 0x42d9a3
call fcn.0049673f
push eax
lea ecx, [ebp - 0x208c]
call fcn.004249c2
mov byte [ebp - 4], 0xf
call fcn.0049673f
push eax
lea ecx, [ebp - 0x2090]
call fcn.004249c2
push 0x2c
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.004305de
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d79f
push ebx
push 0
lea eax, [ebp - 0x20bc]
push eax
lea ecx, [ebp - 0x2070]
call fcn.00427bcb
push 0x4cffa8
mov byte [ebp - 4], 0x11
call fcn.00430603
push eax
lea ecx, [ebp - 0x208c]
call fcn.00423ab3
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.00430667
push eax
lea ecx, [ebp - 0x2090]
mov byte [ebp - 4], 0x12
call fcn.00423ab3
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x20cc]
add ecx, 0xfffffff0
call fcn.0042101a
jmp 0x42d7cb
push 0x4cffa8
lea eax, [ebp - 0x2070]
call fcn.00430603
push eax
lea ecx, [ebp - 0x208c]
call fcn.00423ab3
push 0x4cddf0
lea ecx, [ebp - 0x2090]
call fcn.00423ebc
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x2088]
call fcn.00423a92
push 1
mov ecx, edi
lea ebx, [ebp - 0x2088]
mov byte [ebp - 4], 0x13
call fcn.0047c080
mov eax, ebx
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423a92
lea eax, [ebp - 0x2078]
push 0x4f4ac8
push eax
call fcn.0047c3d0
add esp, 8
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x2078]
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423a92
call fcn.00464ac0
xor ebx, ebx
pop ecx
cmp eax, ebx
jne 0x42d8d7
push ecx
lea eax, [ebp - 0x2088]
mov dword [ebp - 0x2044], esp
mov ecx, esp
push eax
call fcn.00423a92
lea esi, [ebp - 0x2094]
call fcn.004627c0
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.00478f20
pop ecx
pop ecx
test eax, eax
jne 0x42d8c0
push ebx
push ebx
push ebx
push dword [ebp - 0x2078]
push dword [ebp - 0x209c]
push dword [ebp - 0x2098]
call fcn.00426156
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.00462050
add esp, 0xc
call fcn.0042a10d
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.00423a92
call fcn.00464ac0
cmp eax, ebx
mov ebx, dword [ebp - 0x2090]
pop ecx
je 0x42d964
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.00462050
add esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x2054], esp
push edi
call fcn.00423416
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.00423665
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x14
call fcn.00463330
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 0x42da04
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x2044], esp
push dword [0x4f4b10]
push str.__s__0
push eax
call fcn.00462050
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0x2054], esp
push edi
call fcn.00423416
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.00423665
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0xc
call fcn.00463330
add esp, 0x14
call fcn.0049673f
push eax
lea ecx, [ebp - 0x2040]
call fcn.004249c2
mov byte [ebp - 4], 0x1a
call fcn.0049673f
push eax
lea ecx, [ebp - 0x205c]
call fcn.004249c2
mov byte [ebp - 4], 0x1b
and dword [ebp - 0x2048], 0
xor esi, esi
cmp dword [ebp - 0x2048], esi
jne 0x42da76
push str._shellopencommand
lea eax, [ebp - 0x204c]
push eax
lea eax, [ebp - 0x20b0]
push eax
call fcn.00423665
add esp, 0xc
push eax
lea ecx, [ebp - 0x205c]
mov byte [ebp - 4], 0x1c
call fcn.00423ab3
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x20b0]
jmp 0x42dab4
cmp dword [ebp - 0x2048], 1
jne 0x42dabc
push str._shellplaycommand
lea eax, [ebp - 0x204c]
push eax
lea eax, [ebp - 0x20d8]
push eax
call fcn.00423665
add esp, 0xc
push eax
lea ecx, [ebp - 0x205c]
mov byte [ebp - 4], 0x1d
call fcn.00423ab3
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.00423416
push ecx
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x205c]
mov dword [ebp - 0x2054], esp
mov ecx, esp
push eax
call fcn.00423a92
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x1b
call fcn.00462f40
add esp, 0x18
test eax, eax
je 0x42dca1
push 1
lea eax, [ebp - 0x20b8]
push eax
mov ecx, ebx
call fcn.00423605
push 0x4d008c
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.004239bd
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 0x42dbbf
push dword [0x4f4b10]
lea eax, [ebp - 0x20d0]
push 0x4d0090
push eax
call fcn.00462050
add esp, 0xc
mov byte [ebp - 4], 0x20
push dword [eax]
lea eax, [ebp - 0x2040]
push eax
xor eax, eax
call fcn.004303de
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.00423a92
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x2054], esp
push edi
call fcn.00423416
push ecx
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x2080], esp
jmp 0x42dc81
push 0x4d00a8
xor ecx, ecx
lea esi, [ebp - 0x2040]
call fcn.00423529
cmp eax, 0xffffffff
jne 0x42dbe2
push str.___1_
xor ecx, ecx
call fcn.00423529
cmp eax, 3
jle 0x42dca1
mov esi, 0x4d008c
push esi
lea ecx, [ebp - 0x2040]
push ecx
call fcn.004303de
push esi
lea eax, [ebp - 0x2040]
push eax
xor eax, eax
call fcn.004303de
push dword [0x4f4b10]
lea eax, [ebp - 0x20c0]
push 0x4d0090
push eax
call fcn.00462050
add esp, 0xc
mov byte [ebp - 4], 0x23
push dword [eax]
lea eax, [ebp - 0x2040]
push eax
xor eax, eax
call fcn.004303de
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.00423a92
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x2044], esp
push edi
call fcn.00423416
push ecx
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x2054], esp
lea eax, [ebp - 0x205c]
mov ecx, esp
push eax
call fcn.00423a92
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x1b
call fcn.00463330
add esp, 0x14
inc dword [ebp - 0x2048]
cmp dword [ebp - 0x2048], 2
jl 0x42da35
xor ebx, ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x2080], esp
push edi
call fcn.00423416
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x2044], esp
push edi
call fcn.00423416
mov byte [ebp - 4], 0x27
push dword [0x4f4ad0]
lea eax, [ebp - 0x20c8]
push str.SoftwareVOS_s
push eax
call fcn.00462050
add esp, 0xc
push str.IntegratedExt_
push eax
lea eax, [ebp - 0x20a8]
push eax
mov byte [ebp - 4], 0x28
call fcn.00423665
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.004296a6
add esp, 0xc
mov byte [ebp - 4], 0x2a
call fcn.00472430
push eax
mov byte [ebp - 4], 0x2c
call fcn.00463330
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 0x42df01
push edi
lea ecx, [ebp - 0x2074]
call fcn.00423416
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.00423416
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.00462050
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x2d
call fcn.00462f40
add esp, 0x18
test eax, eax
je 0x42de0d
mov eax, dword [0x4f492c]
push dword [eax - 0xc]
lea eax, [ebp - 0x20ac]
push eax
mov ecx, ebx
call fcn.00423605
push dword [0x4f492c]
mov eax, dword [eax]
or dword [ebp - 0x2084], 1
push eax
call fcn.004a4b43
pop ecx
pop ecx
test eax, eax
je 0x42de0d
mov bl, 1
jmp 0x42de0f
xor bl, bl
test byte [ebp - 0x2084], 1
je 0x42de2d
mov ecx, dword [ebp - 0x20ac]
and dword [ebp - 0x2084], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0042101a
test bl, bl
je 0x42de9a
push 0
push ecx
lea eax, [ebp - 0x2074]
mov dword [ebp - 0x2080], esp
mov ecx, esp
push eax
call fcn.00423a92
push ecx
mov eax, esp
mov byte [ebp - 4], 0x2f
mov dword [ebp - 0x2044], esp
push str.Backup
push 0x4f492c
push eax
call fcn.00423665
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.00462050
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x2d
call fcn.00463330
add esp, 0x14
test eax, eax
je 0x42def3
push 0
push ecx
lea eax, [ebp - 0x2068]
mov dword [ebp - 0x2080], esp
mov ecx, esp
push eax
call fcn.00423a92
push ecx
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0x2044], esp
push edi
call fcn.00423416
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.00462050
add esp, 0xc
push dword [ebp - 0x2050]
mov byte [ebp - 4], 0x2d
call fcn.00463330
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 0x42d501
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.00423919
jmp 0x42d3db
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.004238ed
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.004a4491
leave
ret