Function at 0x3e76aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.03cb7f34
xor eax, eax
push ebp
push 0x3e76e3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.03cb7e50
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x3e76e54
call fcn.03cb936c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.03cb915c
mov eax, dword [ebp - 0x40]
call fcn.03e76900
mov esi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x3e76b23
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
push 1
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x3e76e64
call fcn.03cb936c
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.03cb915c
mov eax, dword [ebp - 0x44]
call fcn.03cb8d98
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x3e76e12
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, 0x3fff
call fcn.03cb504c
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push edi
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 0x38]
call fcn.03cb504c
mov ebx, eax
mov dword [ebp - 0x20], 0x3fff
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push edi
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegEnumValueW
mov esi, eax
test esi, esi
jne 0x3e76df3
lea eax, [ebp - 0xc]
call fcn.03cb7e50
cmp dword [ebp - 0x24], 4
jne 0x3e76c2b
mov dword [ebp - 0x2c], ebx
push 0x3e76e74
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x48]
mov eax, 8
call fcn.03cd25e4
push dword [ebp - 0x48]
push 0x3e76e88
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.03cd23bc
push dword [ebp - 0x4c]
push 0x3e76e9c
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.03cb9074
jmp 0x3e76ce6
cmp dword [ebp - 0x24], 3
jne 0x3e76c9c
cmp dword [ebp - 0x34], 0
jne 0x3e76c4f
cmp dword [ebp - 0x38], 0
jne 0x3e76c4f
lea eax, [ebp - 0xc]
mov edx, 0x3e76eac
call fcn.03cb8278
jmp 0x3e76ce6
mov eax, dword [ebp - 0x38]
dec eax
test eax, eax
jl 0x3e76ce6
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x28]
movzx eax, word [ebx + eax*2]
mov edx, 2
call fcn.03cd25c8
push dword [ebp - 0x50]
push 0x3e76ed0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.03cb9074
inc dword [ebp - 0x28]
dec dword [ebp - 0x3c]
jne 0x3e76c66
jmp 0x3e76ce6
cmp dword [ebp - 0x24], 7
jne 0x3e76cdc
mov eax, dword [ebp - 0x38]
dec eax
test eax, eax
jl 0x3e76cd0
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
cmp word [ebx + eax*2], 0
jne 0x3e76cc8
mov eax, dword [ebp - 0x28]
mov word [ebx + eax*2], 0x20
inc dword [ebp - 0x28]
dec dword [ebp - 0x3c]
jne 0x3e76cb5
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.03cb8e00
jmp 0x3e76ce6
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.03cb8e00
cmp word [edi], 0
jne 0x3e76cfb
lea eax, [ebp - 0x10]
mov edx, 0x3e76ee0
call fcn.03cb8278
jmp 0x3e76d05
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.03cb8e00
mov eax, dword [ebp - 0x24]
cmp eax, 7
ja case.default.0x3e76d11
jmp dword [eax*4 + 0x3e76d18]
lea eax, [ebp - 8]
mov edx, 0x3e76ef8
call fcn.03cb8278
jmp case.default.0x3e76d11
lea eax, [ebp - 8]
mov edx, 0x3e76f1c
call fcn.03cb8278
jmp case.default.0x3e76d11
lea eax, [ebp - 8]
mov edx, 0x3e76f3c
call fcn.03cb8278
jmp case.default.0x3e76d11
lea eax, [ebp - 8]
mov edx, 0x3e76f74
call fcn.03cb8278
jmp case.default.0x3e76d11
lea eax, [ebp - 8]
mov edx, 0x3e76f9c
call fcn.03cb8278
jmp case.default.0x3e76d11
lea eax, [ebp - 8]
mov edx, 0x3e76fbc
call fcn.03cb8278
jmp case.default.0x3e76d11
lea eax, [ebp - 8]
mov edx, 0x3e76fe4
call fcn.03cb8278
jmp case.default.0x3e76d11
lea eax, [ebp - 8]
mov edx, 0x3e77004
call fcn.03cb8278
cmp dword [ebp - 0xc], 0
jne 0x3e76dc1
lea eax, [ebp - 0xc]
mov edx, 0x3e77020
call fcn.03cb8278
mov eax, dword [ebp - 0x14]
push dword [eax]
push dword [ebp - 0x10]
push 0x3e77044
push dword [ebp - 8]
push 0x3e77054
push dword [ebp - 0xc]
push 0x3e77064
push 0x3e77074
mov eax, dword [ebp - 0x14]
mov edx, 8
call fcn.03cb9074
inc dword [ebp - 0x1c]
mov eax, ebx
call fcn.03cb5068
test esi, esi
je 0x3e76b76
mov eax, edi
call fcn.03cb5068
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3e76e41
lea eax, [ebp - 0x50]
mov edx, 5
call fcn.03cb7eb0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.03cb7eb0
ret