Function at 0x1000c0e0
Capabilities:
Get system information on windows
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3e41
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1010b824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push 8
mov dword [ebp - 0x1c], 0
call fcn.100836e8
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000c134
mov dword [eax], vtable.CRegistry.0
mov dword [eax + 4], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x1000c136
xor eax, eax
mov dword [edi + 0x79c], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x44]
cmp ax, 9
je 0x1000c15b
cmp ax, 6
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionGolinkPath_
jne 0x1000c160
mov eax, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionGolinkPath_
mov esi, dword [edi + 0x79c]
lea ecx, [ebp - 0x1c]
push ecx
push 0xf003f
push 0
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or ebx, 0xffffffff
test eax, eax
jne 0x1000c38b
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
mov edi, dword [edi + 0x79c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push str.strPath
push dword [edi + 4]
mov dword [ebp - 0x10], 0
call esi
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.10083a8c
mov ecx, dword [ebp - 0x10]
add esp, 4
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push 0
push eax
call fcn.100874c0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push 0
push str.strPath
push dword [edi + 4]
call esi
test eax, eax
mov eax, dword [0x1010b004]
jne 0x1000c2f0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
push esi
push 0x100f0c24
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001860
add esp, 0x10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000c249
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000c249
push ecx
call fcn.100209bc
add esp, 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0
call fcn.10001540
push esi
call fcn.10083a95
add esp, 4
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000c28b
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000c28b
push ecx
call fcn.100209bc
add esp, 4
mov eax, dword [0x1010b004]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100f0570
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10001860
add esp, 0x10
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000c2dc
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000c2dc
push ecx
call fcn.100209bc
add esp, 4
mov esi, dword [ebp - 0x1c]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call eax
mov dword [ebp - 4], 8
jmp 0x1000c34e
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100f055c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10001860
add esp, 0x10
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000c33c
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000c33c
push ecx
call fcn.100209bc
add esp, 4
mov esi, dword [ebp - 0x1c]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call eax
mov dword [ebp - 4], 5
add esi, 0xfffffff4
cmp esi, dword [section..data]
je 0x1000c36d
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1000c36d
push esi
call fcn.100209bc
add esp, 4
mov edi, dword [ebp - 0x20]
mov esi, dword [edi + 0x79c]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000c38b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 9
mov esi, dword [0x1010b004]
mov dword [ebp - 0x14], esi
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [eax - 8]
mov dword [ebp + 8], eax
add eax, 5
je 0x1000c3f0
push eax
lea ecx, [ebp - 0x14]
call fcn.10001a40
mov esi, dword [ebp - 0x14]
test al, al
je 0x1000c3f0
movq xmm0, qword [0x100f0584]
movq qword [esi], xmm0
mov ax, word [0x100f058c]
mov word [esi + 8], ax
mov eax, dword [ebp + 8]
add eax, eax
push eax
push dword [ebp - 0x20]
lea eax, [esi + 0xa]
push eax
call fcn.10085a20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 0xfffffff4
mov dword [ebp - 4], 0xa
cmp esi, dword [section..data]
je 0x1000c41b
lock xadd dword [esi], ebx
dec ebx
test ebx, ebx
jg 0x1000c41b
push esi
call fcn.100209bc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x79c]
test ecx, ecx
je 0x1000c43c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x79c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4