Function at 0x10014048
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10014131
lea eax, [ebp + 0xc]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x10014113
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], 0
jbe 0x10014111
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jbe 0x10014111
push 0x3ca8
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x8c]
lea eax, [ebp - 0x40]
push eax
push 0xe9
push 0x84f
push 1
push 0
push 0x4997
call fcn.1001d5ef
add esp, 0x24
jmp 0x100140d9
jmp 0x1001412c
push 0
push 0
push 0
push 0
push 0
push 0
push 0x14bf
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100143d2
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10014372
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10014370
mov dword [ebp - 0x9c], 0x1a5c
cmp dword [ebp - 0x9c], 0xeaa
jge 0x10014357
lea eax, [ebp - 0x18]
push eax
push 0x100080bc
call fcn.1004cd7b
pop ecx
pop ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
call fcn.100248e9
and dword [ebp - 4], 0
and dword [ebp - 0x24], 0
jmp 0x100141c2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jge 0x100141e4
push dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
call fcn.10024a46
push eax
push 0x100080bc
call fcn.1004cd7b
pop ecx
pop ecx
jmp 0x100141bb
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x38]
call fcn.100249c7
push dword [eax]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x38]
call fcn.100249d5
push dword [eax]
call fcn.10028a28
pop ecx
pop ecx
or dword [ebp - 0x2c], 0xffffffff
mov eax, dword [ebp - 0x18]
and eax, 0x80000001
jns 0x10014220
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x10014239
lea ecx, [ebp - 0x38]
call fcn.10024a55
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x38]
call fcn.10024b19
lea ecx, [ebp - 0x38]
call fcn.10024a3d
push eax
lea ecx, [ebp - 0x54]
call fcn.100248e9
mov byte [ebp - 4], 1
and dword [ebp - 0x14], 0
and dword [ebp - 0x28], 0
jmp 0x10014260
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jge 0x10014293
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x38]
call fcn.10024a46
mov esi, eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
call fcn.10024a46
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10014258
mov dword [ebp - 0x20], 1
jmp 0x100142a4
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jge 0x100142d7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x38]
call fcn.10024a46
mov esi, eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x54]
call fcn.10024a46
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1001429c
cmp dword [ebp - 0x2c], 0
jle 0x100142e9
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
call fcn.10024ac6
mov eax, dword [ebp - 0x18]
dec eax
cdq
sub eax, edx
sar eax, 1
push eax
push 0x100080d8
call fcn.1004d1c8
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
jmp 0x1001430c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x54]
call fcn.10024a3d
cmp dword [ebp - 0x1c], eax
jae 0x10014334
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x54]
call fcn.10024a46
push dword [eax]
push 0x10008174
call fcn.1004d1c8
pop ecx
pop ecx
jmp 0x10014305
push 0x10008025
call fcn.1004d431
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.10024a9b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10024a9b
push 0x2163
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
jmp 0x100143d2
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret