Function at 0x1000c60a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030a00
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x10042040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], ecx
movsx eax, byte [ebp + 8]
mov dword [ebp - method.RegisterOperation.virtual_0], vtable.RegisterOperation.0
cmp eax, 4
ja case.0x1000c5f7.2
jmp dword [eax*4 + 0x1000c874]
mov dword [ebp - 0x118], htons
jmp 0x1000c638
mov dword [ebp - 0x118], htons
jmp 0x1000c638
mov dword [ebp - 0x118], reloc.WS2_32.dll_closesocket
jmp 0x1000c638
mov dword [ebp - 0x118], htons
jmp 0x1000c638
mov dword [ebp - 0x118], htons
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.10013850
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1000c671
lea edx, [ebp - 0x114]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1000c664
lea eax, [ebp - 0x128]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalSize]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
jne 0x1000c82f
push 0
push 0
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
push eax
push 0
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 0
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1000c82f
mov ebx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x120]
inc ebx
test eax, eax
je 0x1000c821
cmp ebx, 1
jbe 0x1000c821
mov esi, ebx
imul esi, eax
add esi, 0xe
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
mov esi, eax
mov dword [ebp - 0x12c], eax
push 0
push esi
call fcn.10013850
mov eax, dword [ebp - 0x140]
mov byte [esi], 0xcb
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ebx
movq xmm0, qword [ebp - 0x148]
movq qword [esi + 1], xmm0
mov dword [esi + 9], eax
mov al, byte [ebp - 0x13c]
push ebx
mov byte [esi + 0xd], al
call fcn.100118d3
xor edi, edi
mov dword [ebp - 0x124], eax
add esp, 0x10
cmp dword [ebp - 0x120], edi
jbe 0x1000c7e4
sub esi, eax
add esi, 0xd
nop dword [eax + eax]
push ebx
push 0
push eax
call fcn.10013850
add esp, 0xc
mov dword [ebp - 0x138], ebx
lea eax, [ebp - 0x138]
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x124]
push edi
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov eax, dword [ebp - 0x124]
nop word [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x1000c7c0
mov eax, dword [ebp - 0x124]
inc edi
add esi, ebx
cmp edi, dword [ebp - 0x120]
jb 0x1000c780
mov esi, dword [ebp - 0x12c]
push eax
call fcn.10011890
add esp, 4
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalSize]
test esi, esi
je 0x1000c829
push esi
call ebx
mov ecx, dword [ebp - 0x130]
push eax
push esi
mov ecx, dword [ecx + 8]
call fcn.1000b970
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call edi
jmp 0x1000c82f
mov ebx, dword [sym.imp.KERNEL32.dll_LocalSize]
jmp 0x1000c82f
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x11c]
call fcn.1000c8d0
mov esi, eax
test esi, esi
je 0x1000c856
push esi
call ebx
push eax
mov eax, dword [ebp - 0x130]
push esi
mov ecx, dword [eax + 8]
call fcn.1000b970
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011882
mov esp, ebp
pop ebp
ret 8