Function at 0x10038caf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x100e4b50
call fcn.100c908c
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 0x10038fdf
cmp dword [ebp + 0x78], esi
jne 0x10038ce9
mov eax, 0x80004003
jmp 0x10038fe4
lea eax, [ebp + 0x64]
push eax
call fcn.1001f6e3
pop ecx
push 0x100f6c64
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.10006fb9
add esp, 0xc
push 0x1014f4dc
push eax
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp - 4], 2
call fcn.10006f5b
add esp, 0xc
push str.Layouts
push eax
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], 3
call fcn.10006fb9
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x64]
add ecx, 0xfffffff0
call fcn.10003f60
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.1000379b
test eax, eax
je 0x10038d9b
xor esi, esi
inc esi
lea ecx, [ebp + 0x60]
call fcn.10003780
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x10038fe4
xor eax, eax
push 0x206
mov word [ebp - 0x350], ax
lea eax, [ebp - 0x34e]
push esi
push eax
call fcn.100c7c60
xor eax, eax
push 0xfe
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x146]
push esi
push eax
call fcn.100c7c60
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 0x10038e07
mov esi, 0x80004005
jmp 0x10038d81
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.1000379b
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.1001f5bd
mov ebx, dword [0x1014f498]
cmp ebx, esi
je 0x10038e56
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10038e5a
xor eax, eax
jmp 0x10038e73
lea edi, [eax + eax]
mov eax, edi
call fcn.100c91f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.10003212
push eax
lea ecx, [ebp + 0x1c]
call fcn.1000138b
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.10022494
pop ecx
push esi
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 8
call fcn.100014a9
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10038eb2
xor eax, eax
jmp 0x10038ed1
lea edi, [eax + eax]
mov eax, edi
call fcn.100c91f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x148]
push ecx
push eax
call fcn.10003212
push eax
lea ecx, [ebp + 0x1c]
call fcn.1000138b
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xa
call fcn.10060678
pop ecx
push esi
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xc
call fcn.100014a9
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x10038f06
lea eax, [ebp + 4]
push dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10022069
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xd
jb 0x10038f25
mov eax, dword [eax + 4]
jmp 0x10038f28
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000138b
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.100014a9
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [ebp - 0x28]
jae 0x10038f48
lea ebx, [ebp - 0x28]
cmp ebx, esi
je 0x10038f5e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x10038f62
xor eax, eax
jmp 0x10038f79
lea eax, [edi + edi]
call fcn.100c91f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.10030d6d
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.100014a9
push esi
push 1
lea ecx, [ebp]
call fcn.100014a9
jmp 0x10038d81
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