Function at 0x4311c5
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xc0
mov eax, 0x4d36c2
call fcn.004b44ab
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xc4]
xor ebx, ebx
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
call fcn.00425c8e
mov dword [ebp - 4], ebx
call fcn.0049ff8a
push eax
lea ecx, [ebp - 0x30]
call fcn.00425004
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x68], esp
push str.Loader_RegisterApp_Associations:_in
push eax
call fcn.00468700
pop ecx
pop ecx
call fcn.0042d0ea
lea ecx, [ebp - 0x20]
mov dword [esp], str.MachineSoftwareClasses
call fcn.004235bf
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00423959
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
push str._CurrentUser_SoftwareClasses
lea ecx, [ebp - 0x20]
call fcn.004235bf
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
call fcn.00423959
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
push str._CurrentUser__Classes
lea ecx, [ebp - 0x20]
call fcn.004235bf
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 4
call fcn.00423959
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0xb8]
cmp esi, dword [ebp - 0xb4]
jbe 0x4312c9
call fcn.004ae7f1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], esi
mov esi, dword [ebp - 0xb4]
cmp dword [ebp - 0xb8], esi
jbe 0x4312e8
call fcn.004ae7f1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], esi
lea edi, [ebp - 0xcc]
lea esi, [ebp - 0x70]
mov dword [ebp - 0xcc], eax
call fcn.00423b74
test al, al
je 0x431cb3
call fcn.0047b220
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x10], ebx
jne 0x431326
call fcn.0046ee80
test eax, eax
je 0x43132d
mov dword [ebp - 0x24], SysReAllocStringLen
lea esi, [ebp - 0x70]
call fcn.00423af6
push eax
lea eax, [ebp - 0x74]
push 0x4e5748
push eax
call fcn.00423863
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
push 9
push ebx
push eax
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
cmp esi, ebx
jne 0x431ca6
call fcn.0049ff8a
push eax
lea ecx, [ebp - 0x38]
call fcn.00425004
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], ebx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x38]
call fcn.0042149e
push esi
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004238cd
cmp esi, ebx
jne 0x431c8e
push 1
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x38]
call fcn.004237ae
push 0x4e1e5c
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00423be4
mov ebx, eax
neg ebx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x8c]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042101a
test bl, bl
je 0x431c84
mov edi, 0x4df5f8
push edi
lea ecx, [ebp - 0x3c]
call fcn.004235bf
xor eax, eax
push eax
push eax
push eax
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
lea ebx, [ebp - 0x3c]
call fcn.004235bf
push ecx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423cb9
push dword [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.004694d0
xor esi, esi
add esp, 0x18
cmp eax, esi
je 0x431c75
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push dword [0x51019c]
push dword [0x50ffb4]
push str._s_s._s
push eax
call fcn.00468700
add esp, 0x14
mov byte [ebp - 4], 9
push dword [ebp - 0x40]
lea eax, [ebp - 0x28]
push str.SoftwareClasses_s
push eax
call fcn.00468700
add esp, 0xc
push 1
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423cb9
push ecx
mov byte [ebp - 4], 0xb
mov eax, ebx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00423cb9
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0046a2e0
add esp, 0x10
cmp eax, esi
je 0x431c5f
push esi
push esi
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edi
mov dword [ebp - 0x1c], esi
lea ebx, [ebp - 0x30]
call fcn.004235bf
push ecx
mov eax, esp
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x14], esp
mov esi, str.DefaultIcon
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0042380e
add esp, 0xc
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004694d0
add esp, 0x18
test eax, eax
je 0x431789
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x431789
push ecx
mov eax, ebx
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423cb9
lea eax, [ebp - 0x94]
push eax
call fcn.00476e60
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.00423cda
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.0049ff8a
push eax
lea ecx, [ebp - 0x5c]
call fcn.00425004
mov byte [ebp - 4], 0xe
call fcn.0049ff8a
push eax
lea ecx, [ebp - 0x60]
call fcn.00425004
push 0x2c
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.00433c32
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4315f7
push ebx
push 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00429558
push 0x4e57b0
mov byte [ebp - 4], 0x10
call fcn.00433c57
push eax
lea ecx, [ebp - 0x5c]
call fcn.00423cda
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.0042101a
inc ebx
push ebx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00429322
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x11
call fcn.00423cda
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.0042101a
jmp 0x43161a
push 0x4e57b0
lea eax, [ebp - 0x30]
call fcn.00433c57
push eax
lea ecx, [ebp - 0x5c]
call fcn.00423cda
push 0x4e12bc
lea ecx, [ebp - 0x60]
call fcn.004241b0
push ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423cb9
lea eax, [ebp - 0x58]
push eax
call fcn.0047b560
mov byte [ebp - 4], 0x12
push 1
push dword [ebp - 0x58]
call fcn.00475240
mov ebx, eax
xor eax, eax
add esp, 0x10
cmp ebx, eax
je 0x43175e
push eax
push eax
push eax
push ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423cb9
push dword [ebx + 0x64]
lea ecx, [ebp - 0x64]
call fcn.0047bc30
add esp, 0x10
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x64]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423cb9
call fcn.0046b080
pop ecx
test eax, eax
jne 0x4316e5
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423cb9
push dword [ebp - 0x98]
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.004266ea
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push ebx
push dword [ebp - 0x58]
push str.RegisterApp_Associations__s_:_successfully_extracted_IconFile:_bRet_d__LE_d
push ecx
call fcn.00468700
add esp, 0x14
call fcn.0042d0ea
pop ecx
push ecx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423cb9
call fcn.0046b080
pop ecx
test eax, eax
je 0x431753
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push str.__s___s
push eax
call fcn.00468700
add esp, 0xc
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edi
call fcn.004235bf
push ecx
mov eax, esp
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x1c], esp
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0042380e
add esp, 0xc
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.004698c0
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.0042101a
cmp dword [ebp - 0x1c], 0
jne 0x4317db
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [0x5101f4]
push str.__s__0
push eax
call fcn.00468700
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edi
call fcn.004235bf
push ecx
mov eax, esp
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x1c], esp
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0042380e
add esp, 0xc
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004698c0
add esp, 0x14
call fcn.0049ff8a
push eax
lea ecx, [ebp - 0x18]
call fcn.00425004
mov byte [ebp - 4], 0x19
call fcn.0049ff8a
push eax
lea ecx, [ebp - 0x34]
call fcn.00425004
mov byte [ebp - 4], 0x1a
and dword [ebp - 0x1c], 0
xor esi, esi
cmp dword [ebp - 0x1c], esi
jne 0x431835
push str._shellopencommand
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0042380e
add esp, 0xc
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
call fcn.00423cda
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x80]
jmp 0x43186a
cmp dword [ebp - 0x1c], 1
jne 0x431872
push str._shellplaycommand
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0042380e
add esp, 0xc
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1c
call fcn.00423cda
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.0042101a
push esi
push esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
lea ebx, [ebp - 0x18]
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423cb9
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x1a
call fcn.004694d0
add esp, 0x18
test eax, eax
je 0x431a55
push ecx
mov eax, ebx
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423cb9
lea eax, [ebp - 0x88]
push eax
call fcn.00476e60
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1e
call fcn.00423cda
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
call fcn.0042101a
push 1
lea eax, [ebp - 0xa0]
push eax
mov ecx, ebx
call fcn.004237ae
push 0x4e58c4
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00423be4
mov ebx, eax
neg ebx
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0xa0]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042101a
test bl, bl
je 0x431991
push dword [0x5101f4]
lea eax, [ebp - 0x90]
push 0x4e58c8
push eax
call fcn.00468700
add esp, 0xc
mov byte [ebp - 4], 0x20
push dword [eax]
lea eax, [ebp - 0x18]
push eax
xor eax, eax
call fcn.00433a32
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
call fcn.0042101a
push 0
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423cb9
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edi
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x48], esp
jmp 0x431a3b
push 0x4e58e0
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.004236d2
cmp eax, 0xffffffff
jne 0x4319b1
push str.___1_
xor ecx, ecx
call fcn.004236d2
cmp eax, 3
jle 0x431a55
mov esi, 0x4e58c4
push esi
lea ecx, [ebp - 0x18]
push ecx
call fcn.00433a32
push esi
lea eax, [ebp - 0x18]
push eax
xor eax, eax
call fcn.00433a32
push dword [0x5101f4]
lea eax, [ebp - 0xac]
push 0x4e58c8
push eax
call fcn.00468700
add esp, 0xc
mov byte [ebp - 4], 0x23
push dword [eax]
lea eax, [ebp - 0x18]
push eax
xor eax, eax
call fcn.00433a32
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff0
call fcn.0042101a
push 0
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423cb9
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00423cb9
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x1a
call fcn.004698c0
add esp, 0x14
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x431803
xor ebx, ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push edi
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.004235bf
mov byte [ebp - 4], 0x27
push dword [0x51019c]
lea eax, [ebp - 0x7c]
push str.SoftwareVOS_s
push eax
call fcn.00468700
add esp, 0xc
push str.IntegratedExt_
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x28
call fcn.0042380e
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x29
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x38]
push edx
push eax
push ecx
call fcn.00429a41
add esp, 0xc
mov byte [ebp - 4], 0x2a
call fcn.0047b220
push eax
mov byte [ebp - 4], 0x2c
call fcn.004698c0
mov ecx, dword [ebp - 0x78]
add esp, 0x14
cmp eax, ebx
sete byte [ebp - 0x41]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.0042101a
cmp byte [ebp - 0x41], bl
jne 0x431c49
push edi
lea ecx, [ebp - 0x4c]
call fcn.004235bf
push ebx
push ebx
push ebx
push ecx
mov byte [ebp - 4], 0x2d
mov ecx, esp
mov dword [ebp - 0x48], esp
push edi
lea ebx, [ebp - 0x4c]
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x2e
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp - 0x38]
mov esi, str.SoftwareClasses_s
push esi
push eax
call fcn.00468700
add esp, 0xc
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x2d
call fcn.004694d0
add esp, 0x18
test eax, eax
je 0x431b85
mov eax, dword [0x50ffb4]
push dword [eax - 0xc]
lea eax, [ebp - 0x68]
push eax
mov ecx, ebx
call fcn.004237ae
push dword [0x50ffb4]
mov eax, dword [eax]
or dword [ebp - 0x50], 1
push eax
call fcn.004ae3c3
pop ecx
pop ecx
test eax, eax
je 0x431b85
mov bl, 1
jmp 0x431b87
xor bl, bl
test byte [ebp - 0x50], 1
je 0x431b9c
mov ecx, dword [ebp - 0x68]
and dword [ebp - 0x50], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0042101a
test bl, bl
je 0x431bf7
push 0
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423cb9
push ecx
mov eax, esp
mov byte [ebp - 4], 0x2f
mov dword [ebp - 0x14], esp
push str.Backup
push 0x50ffb4
push eax
call fcn.0042380e
add esp, 8
mov byte [ebp - 4], 0x30
mov eax, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x38]
push esi
push eax
call fcn.00468700
add esp, 0xc
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x2d
call fcn.004698c0
add esp, 0x14
test eax, eax
je 0x431c3e
push 0
push ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423cb9
push ecx
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x32
mov eax, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x38]
push esi
push eax
call fcn.00468700
add esp, 0xc
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x2d
call fcn.004698c0
add esp, 0x14
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0042101a
inc dword [ebp - 0x20]
xor ebx, ebx
jmp 0x431387
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0042101a
lea esi, [ebp - 0x70]
call fcn.00423b49
jmp 0x4312d5
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push str.Loader_RegisterApp_Associations:_out
push eax
call fcn.00468700
pop ecx
pop ecx
call fcn.0042d0ea
pop ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0042101a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc4]
push eax
call fcn.0042392d
xor eax, eax
inc eax
call fcn.004b452e
ret