Function at 0x4adb80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8d84
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x53d9f8]
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 eax, ecx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x258], 0
lea esi, [eax + 0x28]
mov dword [ebp - 0x260], 0
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x230], ax
lea edi, [esi + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x230]
add eax, 0xd
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x258], 1
call fcn.004034c0
cmp dword [esi + 0x14], 8
jb 0x4adc17
mov esi, dword [esi]
push dword [edi]
lea ecx, [ebp - 0x230]
push esi
call fcn.00403230
push 0xd
push str.OpenWithList
lea ecx, [ebp - 0x230]
call fcn.00403230
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x260]
push ecx
push 0xf003f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call fcn.004db6c0
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 0x4adcb4
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4adcaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4adcaa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
test bl, bl
je 0x4ae132
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x258], 0x104
xor ebx, ebx
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], ebx
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x260]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4ae132
mov edi, dword [ebp - 0x25c]
inc ebx
mov esi, 0
mov dword [ebp - 0x284], ebx
shr edi, 1
mov ebx, esi
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], ebx
je 0x4addad
add edi, edi
cmp edi, 0x1000
jb 0x4add72
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x4ae153
push eax
call fcn.004bedfd
add esp, 4
test eax, eax
je 0x4adca4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4add85
test edi, edi
je 0x4add83
push edi
call fcn.004bedfd
add esp, 4
mov esi, eax
jmp 0x4add85
xor esi, esi
mov ecx, dword [ebp - 0x254]
lea ebx, [edi + esi]
xor eax, eax
mov dword [ebp - 0x26c], esi
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
mov dword [ebp - 0x264], ebx
rep stosw word es:[edi], ax
mov dword [ebp - 0x268], ebx
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 1
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ae09c
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 0x4ae07b
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ade20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004033b0
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 - 0x270], eax
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x254], 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 eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 3
push ecx
lea ecx, [eax + 0x18]
call fcn.00413750
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x27c], ecx
cmp byte [eax + 0xd], 0
jne 0x4adf14
mov ecx, dword [ebp - 0x250]
add eax, 0x10
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ecx + 0x18]
call fcn.00413980
test al, al
je 0x4ae03b
mov eax, dword [ebp - 0x250]
add eax, 0x18
cmp dword [eax + 4], 0x3ffffff
je 0x4ae14e
mov ecx, dword [eax]
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x28c], eax
push 0x40
mov byte [ebp - 4], 4
mov dword [ebp - 0x288], 0
call fcn.004bedfd
add esp, 4
mov dword [ebp - 0x274], 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 - 0x270]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x254]
mov dword [ecx + 0x14], eax
mov eax, 7
mov dword [ebp - 0x254], 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 + 0x10], eax
mov dword [ecx + 0x14], 7
lea edi, [edx + 2]
mov word [ecx], ax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4adfe0
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.004033b0
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x278]
push eax
push dword [ebp - 0x27c]
mov dword [eax], ecx
push dword [ebp - 0x280]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x250]
mov word [eax + 0xc], 0
mov dword [ebp - 0x288], 0
lea ecx, [ecx + 0x18]
call fcn.00414380
mov edi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4ae09c
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4ae06f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4adca4
push ecx
push edi
call fcn.004bee2d
add esp, 8
jmp 0x4ae09c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ae080
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x250]
push esi
call fcn.004033b0
mov dword [ebp - 0x258], 0x104
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4ae0fc
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x4ae0d4
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4adca4
push ebx
push esi
call fcn.004bee2d
add esp, 8
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov ebx, dword [ebp - 0x284]
lea eax, [ebp - 0x25c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x260]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4add11
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.004bee49
mov esp, ebp
pop ebp
ret
call fcn.00414890
call fcn.00403190
int3