Function at 0x1025c81
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x23c
mov eax, 0x103e86f
call fcn.01002325
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.01025ab4
mov dword [ebp - 0x224], eax
cmp eax, 0x80040d61
jne 0x1025fbe
mov dword [ebp - 0x228], ebx
lea eax, [ebp - 0x228]
push eax
push 0x1002134
push 0x15
push ebx
push 0x1020d7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [ebp - 0x224], eax
jl 0x1025f6c
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 0x1025f17
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x230]
push eax
push 1
push ebx
push 0x100a1b0
push 0x80000002
mov dword [ebp - 0x244], 0x206
mov dword [ebp - 0x240], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a2af
cmp eax, ebx
mov dword [ebp - 0x224], eax
jl 0x1025ee8
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
mov edi, 0x1026010
push edi
push 0x1020d8c
push dword [ebp - 0x230]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
call fcn.0100a2af
cmp eax, ebx
mov dword [ebp - 0x224], eax
jl 0x1025e9f
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp eax, ebx
je 0x1025e15
cmp eax, 0x50
je 0x1025e15
cmp eax, 0xb7
je 0x1025e15
push ebx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0x80070003
call fcn.01025a37
push 0x7d4
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.01024d65
push 0xffffffffffffffff
push dword [esi + 0xc]
lea ecx, [ebp - 0x218]
push ecx
jmp 0x1025ec8
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 0x1025e89
push ebx
lea ecx, [ebp - 0x220]
call fcn.01025a37
push 0x7d3
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.01024d65
push dword [ebp - 0x238]
mov ecx, esi
call fcn.010256c9
lea ecx, [ebp - 0x220]
call fcn.01024cb0
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1025eda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1025eda
push ebx
lea ecx, [ebp - 0x220]
call fcn.01025a37
push 0x7d5
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.01024d65
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.01024cb0
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1025f56
push ebx
lea ecx, [ebp - 0x220]
call fcn.01025a37
push 0x7d7
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.01024d65
push 0xffffffffffffffff
push dword [esi + 0xc]
push 0x1025ff0
jmp 0x1025f44
push ebx
lea ecx, [ebp - 0x220]
call fcn.01025a37
push 0x7d0
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.01024d65
push 0xffffffffffffffff
push dword [esi + 0xc]
push 0x1025fe8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x220]
call fcn.01024cb0
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1025fab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1025fab
push ebx
lea ecx, [ebp - 0x220]
call fcn.01025a37
push 0x7d0
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.01024d65
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, esi
push 0x1025fe0
call dword [eax + 0x10]
lea ecx, [ebp - 0x220]
call fcn.01024cb0
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x1025fbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1025fd2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
call fcn.01002362
ret 0x10