Function at 0x10018f0a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.1001f210
push 0xffffffffffffffff
push 0x100459f6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1006d1fc]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1110]
xor edi, edi
mov ebx, dword [ebp + 0x1114]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov esi, 0x20019
mov byte [ebp - 4], 3
push esi
push 0x100571c4
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x48]
call fcn.10006af6
test eax, eax
jne 0x100191ca
push esi
push 0x100571d0
push dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
call fcn.10006af6
test eax, eax
jne 0x100191ca
push esi
push 0x100571dc
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x20]
call fcn.10006af6
test eax, eax
jne 0x100191cf
mov eax, 0x400
mov esi, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc00]
push edi
push eax
call fcn.10022500
add esp, 0xc
lea eax, [ebp - 0x10]
push edi
push edi
push edi
push edi
push eax
lea eax, [ebp + 0xc00]
push eax
push edi
jmp 0x10019114
mov eax, edi
mov ecx, edi
cmp dword [ebp - 0x10], eax
jbe 0x100190fc
cmp byte [ebp + ecx + 0xc00], 0x2e
jne 0x10019022
inc eax
cmp eax, 1
jg 0x10019031
inc ecx
cmp ecx, dword [ebp - 0x10]
jb 0x10019012
cmp eax, 1
jle 0x100190fc
push 3
lea eax, [ebp + 0xc00]
push 0x100571f8
push eax
call fcn.10024520
add esp, 0xc
test eax, eax
js 0x100190fc
push 0x20019
lea eax, [ebp + 0xc00]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
call fcn.10006af6
test eax, eax
jne 0x100191ca
push 0x400
lea eax, [ebp + 0x800]
push edi
push eax
call fcn.10022500
lea eax, [ebp + 0x800]
push eax
push dword [ebp - 0x14]
call fcn.100010e4
add esp, 0x14
lea ecx, [ebp + 0x800]
lea eax, [ebp + 0xc00]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100190be
test dl, dl
je 0x100190ba
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100190be
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001909e
mov eax, edi
jmp 0x100190c3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100190fc
mov eax, 0x104
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.10022500
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp + 0x1000]
push eax
push 0x100571fc
call fcn.10007324
test eax, eax
je 0x1001912a
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x400
push eax
lea eax, [ebp + 0xc00]
inc esi
push eax
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10019005
jmp 0x100191cf
mov esi, 0x400
lea eax, [ebp + 0x400]
push esi
push edi
push eax
call fcn.10022500
add esp, 0xc
lea eax, [ebp + 0x400]
push esi
push eax
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
lea eax, [ebp]
push edi
push eax
call fcn.10022500
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call fcn.1000120a
mov esi, dword [ebp + 0x1118]
lea eax, [ebp + 0x400]
push eax
push esi
push ebx
call fcn.10024462
push 0x10057208
push esi
push ebx
call fcn.100244bc
mov eax, dword [ebp - 0x14]
mov edx, 0x10057210
mov ecx, 0x10057218
mov al, byte [eax + 4]
and al, 0xf
cmp al, 3
cmove ecx, edx
push ecx
push esi
push ebx
call fcn.100244bc
lea eax, [ebp]
push eax
push esi
push ebx
call fcn.100244bc
add esp, 0x44
push 0x10057220
push esi
push ebx
call fcn.100244bc
add esp, 0xc
jmp 0x100191cf
mov edi, 0x80004005
lea ecx, [ebp - 0x30]
call fcn.10004053
lea ecx, [ebp - 0x20]
call fcn.10004053
lea ecx, [ebp - 0x3c]
call fcn.10004053
lea ecx, [ebp - 0x48]
call fcn.10004053
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.1001efb2
add ebp, 0x1108
leave
ret