Function at 0xa97070
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x70
mov eax, 0xafec86
call fcn.00af8e2b
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6c], ebx
test dword [ebx + 0x68], 0x800
je 0xa97135
push 0x66
pop ecx
call fcn.00c1b554
lea eax, [ebp - 0x60]
mov byte [ebp - 0x45], 1
push eax
mov edi, reloc.SHCORE.dll_Ordinal_1
xor esi, esi
push 0x9fe3fc
mov edx, 0x9fe368
mov dword [ebp - 0x60], esi
mov ecx, edi
call fcn.00a5d071
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x64], eax
call fcn.00a398c6
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x68]
call fcn.00c15a11
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x45]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00aeba2f
lea ecx, [ebp - 0x5c]
call fcn.00c4992b
cmp byte [ebp - 0x45], 0
lea ecx, [ebp - 0x54]
jne 0xa9711f
call fcn.00a398c6
lea ecx, [ebp - 0x58]
call fcn.00a398c6
mov eax, 0x80004004
jmp 0xa9733c
or dword [ebp - 4], 0xffffffff
call fcn.00a398c6
lea ecx, [ebp - 0x58]
call fcn.00a398c6
jmp 0xa971e6
xor esi, esi
mov edi, reloc.SHCORE.dll_Ordinal_1
push esi
push esi
push esi
push 8
push 0x9fe9e8
push 0x9fe8a0
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
cmp eax, 2
jne 0xa97191
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
push 0x10
lea eax, [ebp - 0x34]
push eax
push 3
push 0x9fe9e8
push 0x9fe8a0
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
test eax, eax
je 0xa97191
mov ecx, dword [ebp + 4]
mov edx, 0x168e
push eax
push 0x9f6984
call fcn.00b5b6e5
push esi
push esi
push esi
push 8
push 0x9fe9a0
push 0x9fe8a0
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
cmp eax, 2
jne 0xa971e6
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
push 0x10
lea eax, [ebp - 0x44]
push eax
push 3
push 0x9fe9a0
push 0x9fe8a0
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
test eax, eax
je 0xa971e6
mov ecx, dword [ebp + 4]
mov edx, 0x1695
push eax
push 0x9f6984
call fcn.00b5b6e5
test byte [ebx + 0x68], 2
je 0xa971ff
push 1
push 0x9f382c
mov edx, 0x9f05b0
mov ecx, edi
call fcn.00b61f25
lea edi, [ebx + 0x7c]
mov edx, 0x9f05b0
push edi
push 0x9feff0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00a5d071
test eax, eax
jns 0xa97221
mov dword [edi], 0x668a0
push 0xc96c04
push 4
call fcn.00ab4242
mov dword [ebp - 0x4c], eax
pop ecx
pop ecx
test eax, eax
je 0xa9723f
mov ecx, eax
call fcn.00ab258b
mov esi, eax
mov ecx, ebx
mov dword [ebx + 0x70], esi
call fcn.00ab19e1
lea eax, [ebp - 0x7c]
push eax
call fcn.00aacf7e
mov esi, eax
lea edi, [ebp - 0x24]
lea edx, [ebp - 0x24]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x9f752c
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0xa9727b
inc ecx
cmp ecx, 4
jne 0xa97265
lea esi, [ebx + 0x104]
jmp 0xa9728c
lea eax, [ebp - 0x24]
lea esi, [ebx + 0x104]
push eax
mov ecx, esi
call fcn.00c4a0a0
call fcn.00ab17bd
mov byte [ebp - 0x4c], al
call fcn.00a995d5
mov bl, al
call fcn.00a92bc5
push dword [ebp - 0x4c]
mov ecx, esi
push ebx
mov ebx, dword [ebp - 0x6c]
push eax
push dword [ebx + 0x6c]
push dword [ebx + 0x68]
call fcn.00a96bd2
test byte [0xc96fc4], 2
je 0xa972d0
push 0x9ee628
push dword [ebx + 0x68]
mov edx, 0x9f2c78
call fcn.00a4d0d7
push 0
push 0x9fef68
mov ecx, ebx
call fcn.00a97603
push 1
push 0x9fee50
mov ecx, ebx
call fcn.00a97603
cmp dword [ebx + 0x114], 0
je 0xa97300
lea ecx, [ebx + 0x108]
call fcn.00a59db6
mov ecx, ebx
call fcn.00b5c0d6
push ebx
mov dword [ebp - 0x50], ebx
call fcn.00b5c070
lea edx, [ebp - 0x50]
call fcn.00ab05b7
cmp dword [ebp - 0x50], 0
je 0xa97326
push dword [ebp - 0x50]
call fcn.00a97ce0
test dword [ebx + 0x68], 0x800
jne 0xa97334
call fcn.00a9f92b
push ebx
call fcn.00a97ce0
xor eax, eax
call fcn.00af8dd5
ret 4