Function at 0x1004cd62
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x100c15df
call fcn.100a35ac
sub esp, 0x344
mov eax, dword [ebp + 0x70]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
cmp dword [eax - 0xc], esi
je 0x1004d092
cmp dword [ebp + 0x78], esi
jne 0x1004cd9c
mov eax, 0x80004003
jmp 0x1004d097
lea eax, [ebp + 0x64]
push eax
call fcn.10017444
pop ecx
push 0x100ccd84
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.100053c1
add esp, 0xc
push 0x10115fdc
push eax
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp - 4], 2
call fcn.10005363
add esp, 0xc
push str.Layouts
push eax
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], 3
call fcn.100053c1
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x64]
add ecx, 0xfffffff0
call fcn.10001d29
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x64], esi
push esi
push esi
mov edi, 0x2001f
push edi
push esi
push esi
push dword [ebp + 0x70]
lea ecx, [ebp + 0x60]
push SysReAllocString
mov byte [ebp - 4], 8
call fcn.100014a4
test eax, eax
je 0x1004ce4e
xor esi, esi
inc esi
lea ecx, [ebp + 0x60]
call fcn.10001489
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x1004d097
xor eax, eax
push 0x206
mov word [ebp - 0x350], ax
lea eax, [ebp - 0x34e]
push esi
push eax
call fcn.100a2490
xor eax, eax
push 0xfe
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x146]
push esi
push eax
call fcn.100a2490
add esp, 0x18
lea eax, [ebp + 0x50]
push eax
push esi
push esi
push esi
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x350]
push eax
push dword [ebp + 0x74]
mov dword [ebp + 0x58], 0x104
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1004ceba
mov esi, 0x80004005
jmp 0x1004ce34
push esi
push esi
push edi
push esi
push esi
lea eax, [ebp - 0x350]
push eax
push dword [ebp + 0x60]
lea ecx, [ebp + 0x60]
call fcn.100014a4
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x148]
push eax
push str.fcuserid
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x74], 0x80
call fcn.10022af7
mov ebx, dword [0x10115fd4]
cmp ebx, esi
je 0x1004cf09
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1004cf0d
xor eax, eax
jmp 0x1004cf26
lea edi, [eax + eax]
mov eax, edi
call fcn.100a58a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.1000c578
push eax
lea ecx, [ebp + 0x1c]
call fcn.1000586e
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.100165e1
pop ecx
push esi
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 8
call fcn.10003516
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1004cf65
xor eax, eax
jmp 0x1004cf84
lea edi, [eax + eax]
mov eax, edi
call fcn.100a58a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x148]
push ecx
push eax
call fcn.1000c578
push eax
lea ecx, [ebp + 0x1c]
call fcn.1000586e
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xa
call fcn.10043ee9
pop ecx
push esi
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xc
call fcn.10003516
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x1004cfb9
lea eax, [ebp + 4]
push dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100161b6
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xd
jb 0x1004cfd8
mov eax, dword [eax + 4]
jmp 0x1004cfdb
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000586e
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.10003516
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [ebp - 0x28]
jae 0x1004cffb
lea ebx, [ebp - 0x28]
cmp ebx, esi
je 0x1004d011
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x1004d015
xor eax, eax
jmp 0x1004d02c
lea eax, [edi + edi]
call fcn.100a58a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.1003df62
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x78]
push esi
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003516
push esi
push 1
lea ecx, [ebp]
call fcn.10003516
jmp 0x1004ce34
mov eax, 0x80004005
lea esp, [ebp - 0x35c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0xc