Function at 0x4b6050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c912
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x254], edi
mov esi, dword [edi + 0x38]
lea edx, [edi + 0x28]
mov eax, 0x7ffffffe
mov dword [ebp - 0x25c], 0
sub eax, esi
cmp eax, 0xd
jb 0x4b665e
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x4b60b0
mov eax, dword [edx]
push 0xd
push str.OpenWithList
push esi
push eax
push edx
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x230]
call fcn.00423560
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae esi, dword [ebp - 0x230]
call fcn.004e7960
lea ecx, [ebp - 0x25c]
push ecx
push 0xf003f
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x21c]
test eax, eax
mov dword [ebp - 4], 0xffffffff
sete bl
cmp edx, 8
jb 0x4b614f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6145
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b6145
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
test bl, bl
je 0x4b663d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], 0x104
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x268], 1
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4b663d
lea esp, [esp]
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x4b65fe
mov esi, 0
shr ecx, 1
mov ebx, esi
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x270], ebx
je 0x4b62a6
lea edi, [ecx + ecx]
cmp edi, 0x1000
jb 0x4b6237
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x4b6663
push eax
call fcn.004c6f3f
add esp, 4
test eax, eax
je 0x4b613f
mov ecx, dword [ebp - 0x250]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4b6250
test edi, edi
je 0x4b624e
push edi
call fcn.004c6f3f
mov ecx, dword [ebp - 0x250]
add esp, 4
mov esi, eax
jmp 0x4b6250
xor esi, esi
lea eax, [ebp - 0x264]
mov dword [ebp - 0x250], 0
mov ax, word [eax]
lea edx, [ebp - 0x250]
lea ebx, [edi + esi]
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x270], ebx
cmp ax, word [edx]
jne 0x4b628b
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x4b6298
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x254]
mov eax, ebx
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 1
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b6598
lea eax, [ebp - 0x218]
push str.MRUList
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4b657b
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b6321
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403a70
mov eax, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 0x234], esi
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ecx + 0x18]
call fcn.00413320
mov ecx, dword [eax]
mov dword [ebp - 0x26c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x284], ecx
cmp byte [eax + 0xd], 0
jne 0x4b6415
mov ecx, dword [ebp - 0x254]
add eax, 0x10
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ecx + 0x18]
call fcn.00424310
test al, al
je 0x4b653b
mov eax, dword [ebp - 0x254]
add eax, 0x18
cmp dword [eax + 4], 0x3ffffff
je 0x4b6659
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x28c], eax
push 0x40
mov byte [ebp - 4], 4
mov dword [ebp - 0x288], 0
call fcn.004c6f3f
add esp, 4
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x288], eax
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0x22c]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x228]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x224]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x264]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x250]
mov dword [ecx + 0x14], eax
mov eax, 7
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
add ecx, 0x18
mov byte [ebp - 4], 6
mov edx, esi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
lea edi, [edx + 2]
mov dword [ecx + 0x14], 7
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4b64e0
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.00403a70
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
push eax
push dword [ebp - 0x284]
mov dword [eax], ecx
push dword [ebp - 0x26c]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x254]
mov word [eax + 0xc], 0
mov dword [ebp - 0x288], 0
lea ecx, [ecx + 0x18]
call fcn.00413fa0
mov edi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4b6598
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4b656f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b613f
push ecx
push edi
call fcn.004c6f6f
add esp, 8
jmp 0x4b6598
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b6580
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00403a70
mov dword [ebp - 0x260], 0x104
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4b65f8
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x4b65d0
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b613f
push ebx
push esi
call fcn.004c6f6f
add esp, 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov edi, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x268]
mov eax, ecx
inc ecx
mov dword [ebp - 0x268], ecx
lea ecx, [ebp - 0x258]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4b61c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret
call fcn.004144e0
call fcn.00403870
call fcn.00403850
int3