Function at 0x1000ca26
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006049f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000ca7b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x6cb9
push 1
push 0x6d0e
call fcn.1000cc3f
add esp, 0x14
jmp 0x1000cc2e
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], 0x5cb6
mov dword [ebp - 0x38], str.wbnpej_uyrzima_ttvaunhhu
cmp dword [ebp - 0x2c], 0x603e
jle 0x1000cb3a
and dword [ebp - 0x1c], 0
jmp 0x1000caaf
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3c09
jge 0x1000cb28
and dword [ebp - 0x20], 0
jmp 0x1000cac5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4537
jge 0x1000cb26
and dword [ebp - 0x24], 0
jmp 0x1000cadb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6eba
jge 0x1000cb24
and dword [ebp - 0x28], 0
jmp 0x1000caf1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x38fc
jge 0x1000cb22
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
sub edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x28]
mov eax, edx
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x1007fc58
call fcn.10002dd1
jmp 0x1000caea
jmp 0x1000cad4
jmp 0x1000cabe
jmp 0x1000caa8
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x592d
jge 0x1000cb5a
mov edx, dword [ebp - 0x38]
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x1000cb76
or dword [ebp - 4], 0xffffffff
jmp 0x1000cb80
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1000cbe3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1000cbc4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1000cbe1
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.10002363
mov dword [eax], 0x1c3c39ba
jmp 0x1000cbb9
jmp 0x1000cc2e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1000cc11
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x1000cc2e
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.10002363
mov dword [eax], 0x1ba6b42b
jmp 0x1000cc06
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret