Function at 0x1027189
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x23c
mov eax, 0x103ecfb
call fcn.01002a3a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x234], ebx
push esi
lea ecx, [ebp - 0x234]
push ecx
push eax
mov dword [ebp - 4], ebx
call fcn.01026fbc
mov dword [ebp - 0x224], eax
cmp eax, 0x80040d61
jne 0x10274c6
mov dword [ebp - 0x228], ebx
lea eax, [ebp - 0x228]
push eax
push 0x1002154
push 0x15
push ebx
push 0x10223ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [ebp - 0x224], eax
jl 0x1027474
mov dword [ebp - 0x22c], ebx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x1c]
cmp eax, ebx
mov dword [ebp - 0x224], eax
jl 0x102741f
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x230]
push eax
push 1
push ebx
push 0x100a758
push 0x80000002
mov dword [ebp - 0x244], 0x206
mov dword [ebp - 0x240], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
cmp eax, ebx
mov dword [ebp - 0x224], eax
jl 0x10273f0
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
mov edi, 0x1027518
push edi
push 0x10223fc
push dword [ebp - 0x230]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
call fcn.0100a7a1
cmp eax, ebx
mov dword [ebp - 0x224], eax
jl 0x10273a7
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp eax, ebx
je 0x102731d
cmp eax, 0x50
je 0x102731d
cmp eax, 0xb7
je 0x102731d
push ebx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0x80070003
call fcn.01026f3f
push 0x7d4
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0102629d
push 0xffffffffffffffff
push dword [esi + 0xc]
lea ecx, [ebp - 0x218]
push ecx
jmp 0x10273d0
mov dword [ebp - 0x23c], ebx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
lea edx, [ebp - 0x23c]
push edx
push dword [ebp - 0x248]
mov byte [ebp - 4], 3
push dword [ebp - 0x21c]
push dword [ebp - 0x238]
push eax
call dword [ecx + 0x28]
cmp eax, ebx
mov dword [ebp - 0x224], eax
jge 0x1027391
push ebx
lea ecx, [ebp - 0x220]
call fcn.01026f3f
push 0x7d3
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0102629d
push dword [ebp - 0x238]
mov ecx, esi
call fcn.01026c01
lea ecx, [ebp - 0x220]
call fcn.010261ea
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x10273e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10273e2
push ebx
lea ecx, [ebp - 0x220]
call fcn.01026f3f
push 0x7d5
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0102629d
push 0xffffffffffffffff
push dword [esi + 0xc]
push edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x220]
call fcn.010261ea
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102745e
push ebx
lea ecx, [ebp - 0x220]
call fcn.01026f3f
push 0x7d7
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0102629d
push 0xffffffffffffffff
push dword [esi + 0xc]
push 0x10274f8
jmp 0x102744c
push ebx
lea ecx, [ebp - 0x220]
call fcn.01026f3f
push 0x7d0
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0102629d
push 0xffffffffffffffff
push dword [esi + 0xc]
push 0x10274f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x220]
call fcn.010261ea
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x10274b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10274b3
push ebx
lea ecx, [ebp - 0x220]
call fcn.01026f3f
push 0x7d0
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0102629d
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, esi
push 0x10274e8
call dword [eax + 0x10]
lea ecx, [ebp - 0x220]
call fcn.010261ea
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x10274c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10274da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
call fcn.01002a77
ret 0x10