Function at 0x70d39c0e
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 0x70d39c50
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 0x70d75442
pop esi
pop ebx
leave
ret
push esi
call fcn.70d51bec
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x70d39c48
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 0x70d754c5
push dword [ebp - 4]
add edi, edi
mov dword [ebp - 0x24], edi
call fcn.70d66924
push edi
call fcn.70d51bec
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x70d75665
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 0x70d7564f
inc dword [ebp - 0x10]
push 0xc
call fcn.70d51bec
mov esi, eax
cmp esi, ebx
je 0x70d75454
mov eax, dword [0x70e6dcf4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x648]
push eax
mov dword [ebp - 0x20], ebx
call fcn.70d37099
cmp eax, ebx
mov dword [esi], eax
jne 0x70d75509
push esi
call fcn.70d66924
jmp 0x70d75454
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 0x70d75640
mov ecx, dword [ebp - 4]
mov ax, word [ecx + eax*2]
cmp ax, 0x2c
jne 0x70d7553f
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], 1
jmp 0x70d75630
cmp ax, bx
jne 0x70d75622
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x70d75630
cmp dword [ebp - 0x14], ebx
mov word [ebp + eax*2 - 0x440], bx
mov dword [ebp - 0xc], ebx
je 0x70d7557c
mov eax, dword [0x70e6dcf4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x440]
push eax
call fcn.70d37099
mov dword [ebp - 0x14], ebx
jmp 0x70d755f2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.70dbf6b5
test eax, eax
je 0x70d75630
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.70d37126
mov eax, dword [0x70e6dcf4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.70db6269
cmp eax, ebx
jne 0x70d755de
mov eax, dword [0x70e6dcf4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.70d391c8
cmp eax, ebx
je 0x70d75630
mov eax, dword [eax + 0xc]
mov ecx, dword [0x70e6dcf4]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
push eax
call fcn.70d37099
mov edi, eax
cmp edi, ebx
je 0x70d75630
push 8
call fcn.70d51bec
cmp eax, ebx
je 0x70d75630
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov dword [eax], edi
jne 0x70d75617
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
jmp 0x70d7561d
mov dword [eax + 4], ebx
mov dword [ecx + 4], eax
mov dword [ebp - 0x20], eax
jmp 0x70d75630
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 0x70d75523
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov dword [eax], esi
jmp 0x70d75454
cmp dword [ebp - 4], ebx
je 0x70d7565c
push dword [ebp - 4]
call fcn.70d66924
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
jmp 0x70d39c48