Function at 0x10293f7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4b4
mov eax, dword [0x1036a44]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
cmp ecx, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x4b0], ecx
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4a8], 1
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x4a0], eax
jne 0x102945b
cmp esi, eax
je 0x1029798
cmp edx, eax
je 0x1029798
cmp ebx, eax
je 0x1029798
xor eax, eax
mov ecx, 0x82
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0xa0]
cmp eax, 2
jne 0x10294ee
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx eax, byte [ebp - 5]
push eax
movzx eax, byte [ebp - 6]
push eax
movzx eax, byte [ebp - 7]
push eax
movzx eax, byte [ebp - 8]
push eax
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
push eax
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
push 0x1002e48
push ebx
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x48
xor eax, eax
jmp 0x102979b
cmp eax, 1
je 0x10294fa
push 0xd
jmp 0x102979a
push dword [edx + 0xa8]
lea eax, [ebp - 0x1bc]
push 0x1002e3c
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
mov ebx, 0x20019
xor eax, eax
cmp dword [ebp - 0x4a8], 1
mov ecx, 0x82
lea edi, [ebp - 0x48c]
rep stosd dword es:[edi], eax
jne 0x1029580
lea eax, [ebp - 0x48c]
push 0x1002c60
push eax
mov dword [ebp - 0x4a8], 2
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
xor edi, edi
lea eax, [ebp - 0x498]
push eax
push ebx
push edi
lea eax, [ebp - 0x48c]
push eax
push 0x80000002
call esi
cmp eax, edi
jne 0x102979b
mov dword [ebp - 0x490], edi
push edi
jmp 0x10295e9
cmp dword [ebp - 0x4a8], 2
jne 0x1029556
lea eax, [ebp - 0x48c]
xor edi, edi
push 0x1002c10
push eax
mov dword [ebp - 0x4a8], edi
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x1029558
lea eax, [ebp - 0x49c]
push eax
push ebx
push edi
push 0x1002e1c
push dword [ebp - 0x4a4]
call esi
push dword [ebp - 0x4a4]
mov dword [ebp - 0x494], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x494], edi
mov dword [ebp - 0x4a4], edi
je 0x102963d
inc dword [ebp - 0x490]
push dword [ebp - 0x490]
lea eax, [ebp - 0x3c]
push 0x1002e14
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x4a4]
push eax
push ebx
push edi
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x498]
call esi
cmp eax, edi
mov dword [ebp - 0x494], eax
je 0x10295a7
push dword [ebp - 0x498]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x498], edi
cmp dword [ebp - 0x4a8], edi
jne 0x1029520
jmp 0x1029790
push dword [ebp - 0x498]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x490], edi
push edi
jmp 0x102970c
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x284]
push eax
push edi
push edi
push 0x1002dfc
push dword [ebp - 0x4a0]
mov dword [ebp - 0x4ac], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x4a0]
mov dword [ebp - 0x494], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x494], edi
mov dword [ebp - 0x4a0], edi
jne 0x1029700
lea eax, [ebp - 0x284]
push 0x2d
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
cmp eax, edi
pop ecx
pop ecx
je 0x1029700
inc eax
inc eax
je 0x1029700
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x13c]
push 0x2d
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
add esp, 0x10
cmp eax, edi
je 0x1029700
mov word [eax], di
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x102975e
inc dword [ebp - 0x490]
push dword [ebp - 0x490]
lea eax, [ebp - 0xbc]
push 0x1002dd0
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea eax, [ebp - 0x4a0]
push eax
push ebx
push edi
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x49c]
call esi
cmp eax, edi
mov dword [ebp - 0x494], eax
je 0x102965b
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x49c], edi
jmp 0x102962c
mov eax, dword [ebp - 0x4b0]
push dword [eax]
push dword [ebp - 0x490]
push 0xa
push 0xd
push 0x1002d78
push dword [ebp - 0x4b4]
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x18
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x494]
jmp 0x102979b
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0102e95a
leave
ret 0x10