Function at 0x70d39c2a
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 0x70d39c68
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 0x70d754c2
pop esi
pop ebx
leave
ret
push esi
call fcn.70d4fb28
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x70d39c64
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 0x70d75545
push dword [ebp - 4]
add edi, edi
mov dword [ebp - 0x24], edi
call fcn.70d660c8
push edi
call fcn.70d4fb28
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x70d756e5
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 0x70d756cf
inc dword [ebp - 0x10]
push 0xc
call fcn.70d4fb28
mov esi, eax
cmp esi, ebx
je 0x70d754d4
mov eax, dword [0x70e6dd00]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x648]
push eax
mov dword [ebp - 0x20], ebx
call fcn.70d36f56
cmp eax, ebx
mov dword [esi], eax
jne 0x70d75589
push esi
call fcn.70d660c8
jmp 0x70d754d4
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 0x70d756c0
mov ecx, dword [ebp - 4]
mov ax, word [ecx + eax*2]
cmp ax, 0x2c
jne 0x70d755bf
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], 1
jmp 0x70d756b0
cmp ax, bx
jne 0x70d756a2
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x70d756b0
cmp dword [ebp - 0x14], ebx
mov word [ebp + eax*2 - 0x440], bx
mov dword [ebp - 0xc], ebx
je 0x70d755fc
mov eax, dword [0x70e6dd00]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x440]
push eax
call fcn.70d36f56
mov dword [ebp - 0x14], ebx
jmp 0x70d75672
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.70dbf735
test eax, eax
je 0x70d756b0
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.70d36fe3
mov eax, dword [0x70e6dd00]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.70db62e9
cmp eax, ebx
jne 0x70d7565e
mov eax, dword [0x70e6dd00]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.70d39218
cmp eax, ebx
je 0x70d756b0
mov eax, dword [eax + 0xc]
mov ecx, dword [0x70e6dd00]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
push eax
call fcn.70d36f56
mov edi, eax
cmp edi, ebx
je 0x70d756b0
push 8
call fcn.70d4fb28
cmp eax, ebx
je 0x70d756b0
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov dword [eax], edi
jne 0x70d75697
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
jmp 0x70d7569d
mov dword [eax + 4], ebx
mov dword [ecx + 4], eax
mov dword [ebp - 0x20], eax
jmp 0x70d756b0
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 0x70d755a3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov dword [eax], esi
jmp 0x70d754d4
cmp dword [ebp - 4], ebx
je 0x70d756dc
push dword [ebp - 4]
call fcn.70d660c8
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
jmp 0x70d39c64