Function at 0x63bc66d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov dword [ebp - 0x20], 0
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1c], 0
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
test byte [0x63bcb034], 8
jne 0x63bc6870
test edi, edi
jne 0x63bc67e8
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.advapi32.dll_RegOpenKeyExW
sub esp, 0x14
test eax, eax
jne 0x63bc6832
lea ebx, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
test eax, eax
je 0x63bc68c8
xor edi, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x63bc68cf
mov edx, edi
mov eax, 0x63bcde20
call fcn.63bc4460
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
test ebx, ebx
je 0x63bc6832
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.shcore.dll_SHStrDupW
mov eax, ebx
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea eax, [ebp - 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
je 0x63bc6858
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x63bc6844
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edi, 2
jne 0x63bc6779
jmp 0x63bc6740
mov eax, esi
mov dword [ebp - 0x30], edx
call fcn.63bc3570
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
call fcn.63bc3570
mov dword [esp + 0x1c], edi
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p___s___s___lx._n
mov dword [esp + 0x18], edx
mov dword [esp + 8], str.SHOpenRegStream2W
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
mov edx, dword [ebp - 0x30]
jmp 0x63bc670a
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x63bc6908
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
mov edi, eax
jmp 0x63bc6786
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
jmp 0x63bc677b