Function at 0x48b460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec3c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x590cc0]
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 dword [ebp - 0x284], ecx
push str.OpenWithList
add ecx, 0x3c
push ecx
lea eax, [ebp - 0x234]
xor ebx, ebx
push eax
mov dword [ebp - 0x278], ebx
call fcn.0040d560
add esp, 0xc
mov edi, 8
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], edi
jb 0x48b4c3
mov eax, dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push 0xf003f
push ebx
push eax
call fcn.00521ab0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete byte [ebp - 0x271]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], edi
jb 0x48b504
mov edx, dword [ebp - 0x234]
push edx
call fcn.004b9008
add esp, 4
cmp byte [ebp - 0x271], bl
je 0x48b78a
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.004ba010
add esp, 0xc
lea edx, [ebp - 0x27c]
push edx
mov edx, dword [ebp - 0x278]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x218]
push ecx
push ebx
push edx
xor esi, esi
mov dword [ebp - 0x280], 0x104
mov dword [ebp - 0x27c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x48b78a
mov dword [ebp - 0x28c], ebx
jmp 0x48b580
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28c]
push ecx
shr eax, 1
inc esi
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call fcn.0048aeb0
mov edi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x278]
lea edx, [ebp - 0x27c]
push edx
push edi
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
push ecx
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48b72c
lea edx, [ebp - 0x218]
push 0x55abbc
push edx
call fcn.004bb2ef
add esp, 8
test eax, eax
je 0x48b704
xor eax, eax
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
lea edx, [eax + 2]
jmp 0x48b630
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48b630
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x250]
call fcn.00402460
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov byte [ebp - 4], 2
call fcn.0048b120
add esp, 0xc
mov esi, dword [ebp - 0x284]
push ebx
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
call fcn.0048b280
push eax
lea edx, [ebp - 0x298]
push edx
lea ecx, [esi + 0x1c]
call fcn.00408d20
mov esi, 8
cmp dword [ebp - 0x25c], esi
jb 0x48b6b3
mov eax, dword [ebp - 0x270]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], cx
cmp dword [ebp - 0x23c], esi
jb 0x48b6e3
mov edx, dword [ebp - 0x250]
push edx
call fcn.004b9008
add esp, 4
mov esi, dword [ebp - 0x290]
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
jmp 0x48b72c
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48b710
mov ecx, dword [ebp - 0x284]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.00402460
mov dword [ebp - 0x280], 0x104
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x48b74a
push edi
call fcn.004b9008
add esp, 4
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, dword [ebp - 0x278]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x218]
push eax
push esi
push ecx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x48b580
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.004b9ff3
mov esp, ebp
pop ebp
ret