Function at 0xc30a5b2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esi + 0x10], 0xc301208
xor ebx, ebx
mov dword [esi], 0xc301308
mov dword [esi + 4], 0xc3012e0
mov dword [esi + 8], 0xc3012c4
mov dword [esi + 0xc], 0xc3012ac
mov dword [esi + 0x10], 0xc30129c
mov dword [esi + 0x14], 0xc30128c
push 8
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea eax, [esi + 0x3c]
pop ecx
mov dword [eax], ebx
add eax, 8
dec ecx
jns 0xc30a5fc
mov dword [esi + 0x84], ebx
lea ecx, [esi + 0x90]
mov dword [esi + 0x8c], ebx
call fcn.0c31da7d
lea ecx, [esi + 0x114]
mov dword [esi + 0x100], ebx
call fcn.0c318b30
lea ecx, [esi + 0x11c]
call fcn.0c318b30
lea ecx, [esi + 0x124]
call fcn.0c318b30
lea ecx, [esi + 0x12c]
call fcn.0c318b30
lea ecx, [esi + 0x134]
call fcn.0c318b30
lea ecx, [esi + 0x13c]
call fcn.0c318b30
lea ecx, [esi + 0x144]
call fcn.0c318b30
xor eax, eax
push 0xc32b1b4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x334], 0x3e8
mov dword [esi + 0x338], 0x32
mov dword [esi + 0x320], 0x7a120
mov dword [esi + 0x324], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x360], ebx
mov word [esi + 0x348], ax
mov dword [esi + 0x328], ebx
mov dword [esi + 0x330], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf8], 0x1312d00
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x32c], ebx
mov dword [esi + 0x344], 1
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x370], 6
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x358], ebx
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x34c], ebx
mov dword [esi + 0x354], 0xa
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x380], bl
mov byte [esi + 0x381], bl
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0xc301254
push 0x80000001
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc30a7c1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0xc301238
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc30a7b8
mov eax, dword [ebp - 0xc]
cmp eax, 2
jb 0xc30a7af
cmp eax, 0x64
jbe 0xc30a7aa
push 0x64
jmp 0xc30a7b1
cmp eax, 2
jae 0xc30a7b2
push 2
pop eax
mov dword [esi + 0x354], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x24c]
push eax
mov dword [esi + 0x230], ebx
call edi
or dword [esi + 0x230], 1
lea eax, [esi + 0x264]
push eax
call edi
or dword [esi + 0x230], 2
lea eax, [esi + 0x27c]
push eax
call edi
or dword [esi + 0x230], 4
lea eax, [esi + 0x294]
push eax
call edi
or dword [esi + 0x230], 0x10
lea eax, [esi + 0x2ac]
push eax
call edi
or dword [esi + 0x230], 0x20
lea eax, [esi + 0x234]
push eax
call edi
or dword [esi + 0x230], 0x200
lea eax, [esi + 0x2c4]
push eax
call edi
or dword [esi + 0x230], 0x100
push 0xd4
lea eax, [esi + 0x15c]
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esi + 0x40]
pop edi
mov dword [eax], ebx
inc ebx
add eax, 8
cmp ebx, 9
jb 0xc30a85d
mov ecx, esi
call fcn.0c303e1f
mov eax, esi
pop esi
pop ebx
leave
ret