Function at 0x7a0e371d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push ebx
push esi
lea eax, [ebp - 0x18]
push eax
push 9
xor ebx, ebx
push ebx
push 0x7a0f33c8
mov esi, 0x208
push 0x80000002
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x7a104d91
pop esi
pop ebx
leave
ret
push esi
call fcn.7a09152c
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x7a0e3757
push edi
mov edi, dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push ebx
push ebx
push eax
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x104
push dword [ebp - 0x18]
mov dword [ebp - 8], edi
call esi
cmp eax, 0xea
jne 0x7a104e14
push dword [ebp - 4]
add edi, edi
mov dword [ebp - 0x24], edi
call fcn.7a0915c7
push edi
call fcn.7a09152c
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x7a104fb4
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 8], edi
push dword [ebp - 0x18]
call esi
cmp eax, ebx
jne 0x7a104f9e
inc dword [ebp - 0x10]
push 0xc
call fcn.7a09152c
mov esi, eax
cmp esi, ebx
je 0x7a104da3
mov eax, dword [0x7a20a65c]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x648]
push eax
mov dword [ebp - 0x20], ebx
call fcn.7a099c6a
cmp eax, ebx
mov dword [esi], eax
jne 0x7a104e58
push esi
call fcn.7a0915c7
jmp 0x7a104da3
xor eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
shr dword [ebp - 8], 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ebx
je 0x7a104f8f
mov ecx, dword [ebp - 4]
mov ax, word [ecx + eax*2]
cmp ax, 0x2c
jne 0x7a104e8e
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], 1
jmp 0x7a104f7f
cmp ax, bx
jne 0x7a104f71
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x7a104f7f
cmp dword [ebp - 0x14], ebx
mov word [ebp + eax*2 - 0x440], bx
mov dword [ebp - 0xc], ebx
je 0x7a104ecb
mov eax, dword [0x7a20a65c]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x440]
push eax
call fcn.7a099c6a
mov dword [ebp - 0x14], ebx
jmp 0x7a104f41
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.7a0d6483
test eax, eax
je 0x7a104f7f
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.7a098cba
mov eax, dword [0x7a20a65c]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.7a13a888
cmp eax, ebx
jne 0x7a104f2d
mov eax, dword [0x7a20a65c]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.7a099e73
cmp eax, ebx
je 0x7a104f7f
mov eax, dword [eax + 0xc]
mov ecx, dword [0x7a20a65c]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
push eax
call fcn.7a099c6a
mov edi, eax
cmp edi, ebx
je 0x7a104f7f
push 8
call fcn.7a09152c
cmp eax, ebx
je 0x7a104f7f
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov dword [eax], edi
jne 0x7a104f66
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
jmp 0x7a104f6c
mov dword [eax + 4], ebx
mov dword [ecx + 4], eax
mov dword [ebp - 0x20], eax
jmp 0x7a104f7f
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [ebp + ecx*2 - 0x440], ax
mov eax, dword [ebp - 0x28]
inc eax
cmp eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
jb 0x7a104e72
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov dword [eax], esi
jmp 0x7a104da3
cmp dword [ebp - 4], ebx
je 0x7a104fab
push dword [ebp - 4]
call fcn.7a0915c7
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
jmp 0x7a0e3757