Function at 0x4a30d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [0x4fd110]
push edi
push 1
push 0
push 0xffffffffffffffff
mov dword [esp + 0x30], ecx
mov ecx, esi
push 0
mov dword [esp + 0x30], esi
call fcn.004b01a0
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x4a3104
lea ebx, [edx + 0x57]
jmp 0x4a33d8
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x4f898c]
mov eax, dword [eax + 0xb0]
or eax, 0x20019
push eax
push 0
push dword [esp + 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x4a33d8
mov ebp, dword [esp + 0x48]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push dword [esp + 0x24]
call edi
mov ebx, eax
test ebx, ebx
jne 0x4a3193
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 6
ja case.0x4a315e.5
jmp dword [eax*4 + 0x4a33f8]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ebp
push dword [esp + 0x24]
call edi
mov ebx, eax
test ebx, ebx
jne 0x4a3193
push dword [esp + 0x1c]
mov ecx, esi
call fcn.004015e0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a33d8
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push 0
push 0
push ebp
push dword [esp + 0x24]
call edi
mov ebx, eax
test ebx, ebx
jne 0x4a3193
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a3193
push 1
push ebx
add eax, 2
mov ecx, esi
push eax
push ebx
call fcn.004b01a0
cmp eax, 1
je 0x4a31f4
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0xc
push 0
push 1
mov ecx, esi
call fcn.00401670
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
push 0
push 0
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x10]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x4a3251
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a3251
mov word [edi + eax], bx
cmp dword [esp + 0x18], 7
jne 0x4a3254
mov eax, edi
nop dword [eax + eax]
cmp byte [eax], 0
jne 0x4a324e
cmp byte [eax + 1], 0
mov byte [eax], 0xa
je 0x4a3254
inc eax
jmp 0x4a3240
mov byte [edi], 0
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4a3257
sub edi, ecx
cmp byte [esi + 0x17], al
jne 0x4a326a
mov ebp, dword [esi + 0xc]
jmp 0x4a326c
mov ebp, esi
cmp byte [ebp + 0x17], 1
jne 0x4a3284
test byte [ebp + 0x15], 8
je 0x4a327f
mov ecx, ebp
call fcn.004014d0
add ebp, 0xc
jmp 0x4a3289
mov ebp, 0x4ff514
mov dword [ebp], edi
cmp byte [esi + 0x17], 0
jne 0x4a3295
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4a32a8
cmp dword [0x4fda78], 0
jne 0x4a33af
and byte [esi + 0x15], 0x86
jmp 0x4a33d8
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push 0
push 0
push ebp
push dword [esp + 0x24]
call edi
mov ebx, eax
test ebx, ebx
jne 0x4a3193
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a3193
push 1
push ebx
add eax, eax
mov ecx, esi
push eax
push ebx
call fcn.004b01a0
cmp eax, 1
jne 0x4a31de
push ebx
push eax
mov ecx, esi
call fcn.00401670
mov ebp, eax
lea ecx, [esp + 0x14]
push ecx
mov byte [ebp], bl
mov eax, dword [esp + 0x18]
add eax, ebp
push eax
push ebx
push ebx
push dword [esp + 0x58]
mov dword [esp + 0x54], eax
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x4a33d8
movups xmm0, xmmword [str.0123456789ABCDEF]
mov al, byte [0x4f039c]
xor edx, edx
xor edi, edi
mov byte [esp + 0x38], al
movups xmmword [esp + 0x28], xmm0
cmp dword [esp + 0x14], edx
jbe 0x4a338b
mov esi, dword [esp + 0x40]
nop dword [eax]
movzx ecx, byte [edi + esi]
inc edi
mov eax, ecx
shr ecx, 4
and eax, 0xf
movzx eax, byte [esp + eax + 0x28]
mov byte [edx + ebp + 1], al
movzx eax, byte [esp + ecx + 0x28]
mov byte [edx + ebp], al
add edx, 2
cmp edi, dword [esp + 0x14]
jb 0x4a3360
mov esi, dword [esp + 0x20]
mov byte [edx + ebp], 0
cmp byte [esi + 0x17], 0
jne 0x4a3398
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4a32a8
cmp dword [0x4fda78], 0
je 0x4a32a8
push 1
mov ecx, 0x4fda6c
call fcn.00406230
test eax, eax
jne 0x4a33d8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0x65e
mov ecx, dword [esp + 0x24]
test ebx, ebx
push ebx
setne al
movzx eax, al
push eax
call fcn.0044d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc