Function at 0x1055bea
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x84]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x10051e8
push 0x80000002
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x1055c7f
jle 0x1055c3e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x6c], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x1055f75
test byte [eax + 0x1c], 1
je 0x1055f75
cmp byte [eax + 0x19], 3
jb 0x1055f75
push dword [ebp - 0x6c]
push 0x1004a7c
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x1055f75
push ebx
push ebx
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x84]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x94], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x1055cff
jle 0x1055cbe
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x6c], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x1055f69
test byte [eax + 0x1c], 1
je 0x1055f69
cmp byte [eax + 0x19], 3
jb 0x1055f69
push dword [ebp - 0x6c]
push 0x1004a7c
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x1055f69
mov eax, dword [0x111124c]
push esi
push edi
mov edi, 0x111124c
mov esi, 0x1004a7c
cmp eax, edi
je 0x1055d31
test byte [eax + 0x1c], 1
je 0x1055d31
cmp byte [eax + 0x19], 4
jb 0x1055d31
push dword [ebp - 0x74]
push esi
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov dword [ebp - 0x70], ebx
cmp dword [ebp - 0x74], ebx
jbe 0x1055f67
lea ecx, [ebp - 0x64]
call fcn.01054a70
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x78], ebx
cmp dword [ebp - 0x68], ebx
je 0x1055d65
push dword [ebp - 0x68]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x80]
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [ebp - 0x68], eax
cmp eax, ebx
je 0x1055f4a
mov ecx, dword [ebp - 0x80]
inc ecx
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push ebx
lea ecx, [ebp - 0x8c]
push ecx
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 4
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1055df2
mov eax, dword [0x111124c]
cmp eax, edi
je 0x1055f31
test byte [eax + 0x1c], 1
je 0x1055f31
cmp byte [eax + 0x19], 2
jb 0x1055f31
push ebx
push dword [ebp - 0x70]
push esi
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
jmp 0x1055f31
cmp dword [ebp - 0x7c], 4
jne 0x1055f08
cmp dword [ebp - 0x78], 4
jne 0x1055f08
cmp dword [ebp - 0x88], 1
je 0x1055e49
mov eax, dword [0x111124c]
cmp eax, edi
je 0x1055f31
test byte [eax + 0x1c], 1
je 0x1055f31
cmp byte [eax + 0x19], 4
jb 0x1055f31
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push esi
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010194be
jmp 0x1055f31
push ebx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
call fcn.010559ec
test al, al
jne 0x1055eaa
mov eax, dword [0x111124c]
cmp eax, edi
je 0x1055f31
test byte [eax + 0x1c], 1
je 0x1055f31
cmp byte [eax + 0x19], 2
jb 0x1055f31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1055e8e
and eax, 0xffff
or eax, 0x80070000
push eax
push dword [ebp - 0x68]
mov eax, dword [0x111124c]
push esi
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
jmp 0x1055f31
mov ecx, dword [ebp - 0x90]
push ebx
push 1
lea eax, [ebp - 0x64]
push eax
call fcn.01055600
test al, al
jne 0x1055ee5
mov eax, dword [0x111124c]
cmp eax, edi
je 0x1055f31
test byte [eax + 0x1c], 1
je 0x1055f31
cmp byte [eax + 0x19], 2
jb 0x1055f31
push esi
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
jmp 0x1055f31
mov eax, dword [0x111124c]
cmp eax, edi
je 0x1055f31
test byte [eax + 0x1c], 1
je 0x1055f31
cmp byte [eax + 0x19], 4
jb 0x1055f31
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push esi
push 0x1f
jmp 0x1055e39
mov eax, dword [0x111124c]
cmp eax, edi
je 0x1055f31
test byte [eax + 0x1c], 1
je 0x1055f31
cmp byte [eax + 0x19], 3
jb 0x1055f31
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push esi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
lea ecx, [ebp - 0x64]
call fcn.01054aaf
inc dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x74]
jb 0x1055d3d
jmp 0x1055f59
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x6c], 0x8007000e
call fcn.01054aaf
cmp dword [ebp - 0x68], ebx
je 0x1055f67
push dword [ebp - 0x68]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
pop esi
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 4