Function at 0x101acde
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8ac
mov eax, dword [0x101f104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x898], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x880]
push eax
push 0x20019
push esi
push 0x1002b38
mov edi, 0x104
push SysReAllocStringLen
mov dword [ebp - 0x878], 1
mov dword [ebp - 0x880], esi
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x890], esi
mov dword [ebp - 0x884], edi
mov dword [ebp - 0x8a8], esi
mov dword [ebp - 0x89c], esi
mov dword [ebp - 0x8a0], esi
mov dword [ebp - 0x894], esi
mov dword [ebp - 0x888], esi
mov dword [ebp - 0x8ac], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, esi
je 0x101adbf
mov eax, dword [section..data]
cmp eax, section..data
je 0x101ada2
test byte [eax + 0x1c], 4
je 0x101ada2
push ebx
push 0x10019bc
push 0x1005730
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005dcd
cmp ebx, esi
jg 0x101adb1
mov dword [ebp - 0x878], ebx
jmp 0x101b290
and ebx, 0xffff
or ebx, 0x80070000
jmp 0x101ada6
mov eax, dword [ebp - 0x898]
push esi
push esi
push esi
mov dword [ebp - 0x894], eax
push esi
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x464]
push eax
push esi
jmp 0x101b044
push 0x1002b38
push edi
lea eax, [ebp - 0x25c]
push eax
call fcn.0100701c
cmp eax, esi
mov dword [ebp - 0x878], eax
jl 0x101b082
mov eax, edi
sub eax, dword [ebp - 0x884]
push 0x1002e8c
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0100fba5
cmp eax, esi
mov dword [ebp - 0x878], eax
jl 0x101b0be
lea eax, [ebp - 0x464]
push eax
mov eax, 0x103
sub eax, dword [ebp - 0x884]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0100fba5
cmp eax, esi
mov dword [ebp - 0x878], eax
jl 0x101b0ec
lea eax, [ebp - 0x87c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x25c]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, esi
jne 0x101b11a
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x10057c0
push dword [ebp - 0x87c]
mov dword [ebp - 0x89c], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, esi
jne 0x101b152
cmp dword [ebp - 0x888], esi
je 0x101aec7
push dword [ebp - 0x888]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x888], eax
cmp eax, esi
je 0x101b182
push eax
push dword [ebp - 0x898]
call fcn.0101acac
test eax, eax
je 0x101b00e
cmp dword [ebp - 0x8ac], esi
jne 0x101b1bf
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x874]
push eax
push esi
push esi
push 0x10057ac
push dword [ebp - 0x87c]
mov dword [ebp - 0x8ac], 1
mov dword [ebp - 0x8a8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, esi
jne 0x101b1d4
lea eax, [ebp - 0x8a0]
push eax
lea eax, [ebp - 0x8a4]
push eax
push esi
push esi
push 0x1005784
push dword [ebp - 0x87c]
mov dword [ebp - 0x8a0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, esi
jne 0x101b1f8
lea eax, [ebp - 0x874]
cmp dword [ebp - 0x8a4], esi
jbe 0x101afd8
push dword [ebp - 0x8a4]
push eax
push 0x1005774
lea eax, [ebp - 0x66c]
push edi
push eax
call fcn.0100fdf5
add esp, 0x14
cmp eax, esi
mov dword [ebp - 0x878], eax
jge 0x101affc
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b26e
test byte [eax + 0x1c], 4
je 0x101b26e
push dword [ebp - 0x878]
push 0x1002af0
push 0x1005730
push 0x13
jmp 0x101b0ae
push eax
push 0x100576c
lea eax, [ebp - 0x66c]
push edi
push eax
call fcn.0100fdf5
add esp, 0x10
cmp eax, esi
mov dword [ebp - 0x878], eax
jl 0x101b224
mov ecx, dword [ebp - 0x88c]
lea eax, [ebp - 0x66c]
push eax
call fcn.01007662
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x890]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 0x890]
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x884], edi
push dword [ebp - 0x880]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
je 0x101ade3
cmp eax, 0x103
je 0x101b24d
cmp eax, esi
je 0x101b24d
jle 0x101b077
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x878], eax
jmp 0x101b26e
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b26e
test byte [eax + 0x1c], 4
je 0x101b26e
push dword [ebp - 0x878]
push 0x10029e4
push 0x1005730
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005dcd
jmp 0x101b26e
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b26e
test byte [eax + 0x1c], 4
je 0x101b26e
push dword [ebp - 0x878]
push 0x1005740
push 0x1005730
push 0xc
jmp 0x101b0ae
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b26e
test byte [eax + 0x1c], 4
je 0x101b26e
push dword [ebp - 0x878]
push 0x1005740
push 0x1005730
push 0xd
jmp 0x101b0ae
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b17c
test byte [eax + 0x1c], 4
je 0x101b17c
push ebx
push 0x10019bc
push 0x1005730
push 0xe
jmp 0x101b171
and ebx, 0xffff
or ebx, 0x80070000
mov dword [ebp - 0x878], ebx
jmp 0x101b26e
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b17c
test byte [eax + 0x1c], 4
je 0x101b17c
push ebx
push 0x1001960
push 0x1005730
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005dcd
cmp ebx, esi
jg 0x101b13b
jmp 0x101b147
mov ecx, 0x8007000e
mov dword [ebp - 0x878], ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b26e
test byte [eax + 0x1c], 4
je 0x101b26e
push ecx
push 0x1005730
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101a3af
jmp 0x101b26e
mov edi, dword [ebp - 0x88c]
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], esi
jmp 0x101b264
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b17c
test byte [eax + 0x1c], 4
je 0x101b17c
push ebx
push 0x1001960
push 0x1005730
push 0x11
jmp 0x101b171
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b17c
test byte [eax + 0x1c], 4
je 0x101b17c
push ebx
push 0x1001960
push 0x1005730
push 0x12
jmp 0x101b171
mov eax, dword [section..data]
cmp eax, section..data
je 0x101b26e
test byte [eax + 0x1c], 4
je 0x101b26e
push dword [ebp - 0x878]
push 0x1002af0
push 0x1005730
push 0x14
jmp 0x101b0ae
mov eax, dword [ebp - 0x88c]
mov eax, dword [eax]
cmp eax, esi
je 0x101b264
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, esi
jne 0x101b26e
mov dword [ebp - 0x878], 1
cmp dword [ebp - 0x898], esi
je 0x101b27c
mov dword [ebp - 0x894], esi
cmp dword [ebp - 0x888], esi
je 0x101b290
push dword [ebp - 0x888]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x87c], esi
je 0x101b2a4
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x880], esi
pop edi
pop esi
pop ebx
je 0x101b2bb
push dword [ebp - 0x880]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x894]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x878]
xor ecx, ebp
call fcn.01011e21
leave
ret 8