Function at 0x4d2730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6da408
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x806f14]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x60], eax
call fcn.004d2500
add esp, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
push 0x728b70
call fcn.0049f560
push 0x104
mov dword [ebp - 4], 0
call fcn.0066c4fe
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x58]
push eax
push esi
mov dword [ebp - 0x6c], 0x104
call fcn.004d29d0
mov ebx, dword [ebp - 0x48]
lea edx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x44], 0x10
lea edi, [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
cmovae edx, dword [ebp - 0x58]
add ebx, edx
cmp dword [ebp - 0x44], 0x10
cmovae edi, dword [ebp - 0x58]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, ebx
sub eax, edi
push eax
call fcn.00491fd0
push dword [ebp - 0x60]
lea ecx, [ebp - 0x40]
push ebx
push edi
call fcn.0049e500
mov esi, dword [ebp + 0xc]
lea ebx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov ecx, esi
mov byte [ebp - 4], 1
cmovae ebx, dword [ebp - 0x40]
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x4d2820
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
add edi, ecx
cmp edx, 0x10
jb 0x4d282c
mov esi, dword [esi]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov eax, edi
mov dword [ebp - 0x14], 7
sub eax, esi
push eax
call fcn.00491fd0
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
push edi
push esi
call fcn.0049e500
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x5c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x64]
mov byte [ebp - 4], 2
call edi
test eax, eax
je 0x4d2899
lea eax, [ebp - 0x5c]
push eax
push 0x20219
push 0
push ebx
push dword [ebp - 0x64]
call edi
test eax, eax
jne 0x4d28cd
mov ebx, dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0
push 0
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d28d0
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4d28b8
mov ecx, dword [ebp - 0x60]
sub edx, esi
push edx
push ebx
call fcn.0049f560
jmp 0x4d28d0
mov ebx, dword [ebp - 0x68]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0066c507
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4d291c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d2912
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d29c6
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4d2966
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d295c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d29c6
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x4d29aa
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d29a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d29c6
push edx
push ecx
call fcn.0066c54d
add esp, 8
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.0066c50c
mov esp, ebp
pop ebp
ret
call fcn.0068bce4
int3