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

Disassembly:
push 0x70
mov eax, 0xbc9a01
call fcn.00bc132b
mov ebx, dword [ebp + 8]
test dword [ebx + 0x5c], 0x800
jne 0xbdc964
xor esi, esi
mov edi, 0xb2a3f0
push esi
push esi
push esi
push 8
push 0xb2b214
push edi
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
cmp eax, 2
je 0xbdca08
push esi
push esi
push esi
push 8
push 0xb2aab8
push edi
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
cmp eax, 2
je 0xbdca4b
test byte [ebx + 0x5c], 2
jne 0xbdca8e
lea edi, [ebx + 0x70]
mov edx, 0xb288f0
push edi
push 0xb2ad48
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00b52a81
test eax, eax
jns 0xba25cd
mov dword [edi], 0x668a0
push 0xb28bd8
push 4
call fcn.00bc1282
mov dword [ebp - 0x60], eax
pop ecx
pop ecx
test eax, eax
je 0xba25eb
mov ecx, eax
call fcn.00bbead4
mov esi, eax
mov ecx, ebx
mov dword [ebx + 0x64], esi
call fcn.00ba1dd2
lea eax, [ebp - 0x7c]
push eax
call fcn.00bbc90a
mov esi, eax
lea edi, [ebp - 0x24]
push 0x10
lea eax, [ebp - 0x24]
push 0xb28b08
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00bc6363
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
xor cl, 1
jne 0xbdcaa4
lea esi, [ebx + 0xac]
call fcn.00b89e4b
movzx eax, al
push eax
call fcn.00bab5cf
movzx eax, al
push eax
call fcn.00b89f05
movzx eax, al
mov ecx, esi
push eax
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
call fcn.00b8c3f9
test byte [0xd0a5c4], 2
je 0xba2673
push 0xb25eb8
push dword [ebx + 0x5c]
mov edx, 0xb28958
call fcn.00b80c4c
push 0
push 0xb2b1b4
mov ecx, ebx
call fcn.00ba26e7
push 1
push 0xb2b274
mov ecx, ebx
call fcn.00ba26e7
cmp dword [esi + 0x10], 0
je 0xba269d
lea ecx, [esi + 4]
call fcn.00b54a44
mov dword [ebp - 0x6c], ebx
lea eax, [ebx + 8]
lock inc dword [eax]
mov dword [ebp - 4], 1
mov dword [ebp - 0x4c], ebx
lock inc dword [eax]
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00bbd85c
cmp dword [ebp - 0x4c], 0
jne 0xbdcab8
test dword [ebx + 0x5c], 0x800
jne 0xba26d7
call fcn.00bbe6d2
push ebx
call fcn.00b7e100
xor eax, eax
call fcn.00bc12da
ret 4
push 0x66
pop ecx
call fcn.00cc291b
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x45], 1
push eax
xor esi, esi
mov edx, 0xb30738
push 0xb307a0
mov ecx, reloc.SHCORE.dll_Ordinal_1
mov dword [ebp - 0x5c], esi
call fcn.00b52a81
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], eax
call fcn.00b8ba6f
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x68]
call fcn.00cbdf70
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x45]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00bc3e4d
lea ecx, [ebp - 0x58]
call fcn.00cd0d02
cmp byte [ebp - 0x45], 0
lea ecx, [ebp - 0x50]
jne 0xbdc9f2
call fcn.00b8ba6f
lea ecx, [ebp - 0x54]
call fcn.00b8ba6f
mov eax, 0x80004004
jmp 0xba26df
or dword [ebp - 4], 0xffffffff
call fcn.00b8ba6f
lea ecx, [ebp - 0x54]
call fcn.00b8ba6f
jmp 0xba25a1
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 0xb2b214
push edi
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
mov ecx, dword [ebp + 4]
test eax, eax
je 0xba2582
push eax
push 0xb27854
mov edx, 0x12d6
call fcn.00cd3b6e
jmp 0xba2582
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 0xb2aab8
push edi
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
mov ecx, dword [ebp + 4]
test eax, eax
je 0xba25a1
push eax
push 0xb27854
mov edx, 0x12dd
call fcn.00cd3b6e
jmp 0xba25a1
push 1
push 0xb2dcb8
mov edx, 0xb288f0
call fcn.00c25f06
jmp 0xba25ab
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0xac]
call fcn.00cd14ee
jmp 0xba262a
push dword [ebp - 0x4c]
call fcn.00b7e100
jmp 0xba26c9