Function at 0x10014500
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x10064318]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor eax, eax
push esi
mov esi, edx
mov dword [ebp - 0x858], ebx
mov word [ebp - 0x414], ax
cmp dword [ebx], esi
jne 0x10014540
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f1e0
mov esp, ebp
pop ebp
ret
push edi
push 0x2c
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea edx, [ebx + 4]
or eax, 0xffffffff
mov dword [ebp - 0x82c], edx
mov edi, edx
push 0xa
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebx], esi
mov cx, word [0x10065150]
test cx, cx
je 0x100256bb
mov ax, word [0x10064f30]
test ax, ax
je 0x100256bb
test cx, cx
je 0x1001459f
test ax, ax
je 0x1001459f
push 0x104
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp word [ebp - 0x414], 0
je 0x100146a8
push 0x20019
xor edi, edi
lea ecx, [ebp - 0x854]
push 0x10007c90
push 0x80000002
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x84c], edi
call fcn.10012d5a
mov ebx, dword [ebp - 0x854]
test eax, eax
jne 0x10014651
xor eax, eax
lea ecx, [ebp - 0x854]
mov word [ebp - 0x824], ax
mov esi, 0x104
lea eax, [ebp - 0x828]
mov dword [ebp - 0x828], esi
push eax
lea eax, [ebp - 0x824]
push eax
push 0x10064f30
call fcn.10012d98
test eax, eax
je 0x100256d4
lea eax, [ebp - 0x828]
mov dword [ebp - 0x828], esi
push eax
lea eax, [ebp - 0x824]
push eax
push 0x10065150
lea ecx, [ebp - 0x854]
call fcn.10012d98
test eax, eax
je 0x100256d4
test ebx, ebx
je 0x1001465e
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, edi
lea ecx, [ebp - 0x414]
call fcn.10012cd4
test al, al
jne 0x10025a14
mov ecx, 0x10007d24
lea eax, [ebp - 0x414]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100146ae
test dx, dx
je 0x1001469e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100146ae
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001467c
mov eax, edi
test eax, eax
je 0x100146b5
test ebx, ebx
jne 0x100146bf
pop edi
jmp 0x1001452e
sbb eax, eax
or eax, 1
jmp 0x100146a0
mov eax, dword [ebp - 0x82c]
mov dword [eax], edi
jmp 0x100146a4
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x100146a8
xor cl, cl
call fcn.100146d0
mov cx, word [0x10065150]
mov ax, word [0x10064f30]
jmp 0x10014582
xor eax, eax
mov dword [ebp - 0x848], edi
mov word [ebp - 0x61e], ax
lea ecx, [ebp - 0x848]
push 0x20019
lea eax, [ebp - 0x824]
mov dword [ebp - 0x844], edi
push eax
push ebx
mov dword [ebp - 0x840], edi
call fcn.10012d5a
test eax, eax
jne 0x100259f6
push edi
push edi
push edi
mov word [ebp - 0x61c], ax
mov esi, edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x830]
push edi
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
jmp 0x100257e9
inc esi
lea ecx, [ebp - 0x20c]
mov eax, 0x10064d28
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10025769
test dx, dx
je 0x10025765
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10025769
add eax, 4
add ecx, 4
test dx, dx
jne 0x10025743
mov eax, edi
jmp 0x1002576e
sbb eax, eax
or eax, 1
test eax, eax
jle 0x100257cd
cmp word [ebp - 0x61c], di
je 0x100257b6
lea ecx, [ebp - 0x61c]
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100257ad
test dx, dx
je 0x100257a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100257ad
add eax, 4
add ecx, 4
test dx, dx
jne 0x10025787
mov eax, edi
jmp 0x100257b2
sbb eax, eax
or eax, 1
test eax, eax
jle 0x100257cd
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x61c]
call fcn.1001373f
push edi
push edi
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x830]
push edi
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x848]
mov dword [ebp - 0x830], 0x104
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x10025737
cmp word [ebp - 0x61c], di
je 0x10025928
mov esi, 0x20019
mov dword [ebp - 0x864], edi
push esi
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x860], edi
push eax
push dword [ebp - 0x848]
lea ecx, [ebp - 0x864]
mov dword [ebp - 0x85c], edi
call fcn.10012d5a
mov ebx, dword [ebp - 0x864]
test eax, eax
jne 0x10025917
push esi
lea eax, [ebp - 0x414]
mov dword [ebp - 0x83c], edi
push eax
push ebx
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x834], edi
call fcn.10012d5a
test eax, eax
jne 0x100258bf
mov esi, dword [ebp - 0x82c]
cmp dword [esi], 0xffffffff
jne 0x100258b2
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10006030]
lea ecx, [ebp - 0x83c]
call fcn.100336dd
test eax, eax
jne 0x100258b2
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x10025882
xor edi, edi
mov esi, dword [ebp - 0x82c]
cmp dword [esi], 0xffffffff
jne 0x100258f5
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10006030]
lea ecx, [ebp - 0x864]
call fcn.100336dd
test eax, eax
jne 0x100258f5
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x100258c5
cmp dword [ebp - 0x83c], 0
je 0x10025915
push dword [ebp - 0x83c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor edi, edi
test ebx, ebx
je 0x10025922
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, dword [ebp - 0x854]
push 0x20019
lea eax, [ebp - 0x414]
mov dword [ebp - 0x83c], edi
push eax
push dword [ebp - 0x848]
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x834], edi
call fcn.10012d5a
test eax, eax
jne 0x1002599e
mov esi, dword [ebp - 0x82c]
cmp dword [esi], 0xffffffff
jne 0x10025991
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10006030]
lea ecx, [ebp - 0x83c]
call fcn.100336dd
test eax, eax
jne 0x10025991
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x10025961
xor edi, edi
mov esi, dword [ebp - 0x82c]
cmp dword [esi], 0xffffffff
jne 0x100259d4
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10006030]
lea ecx, [ebp - 0x848]
call fcn.100336dd
test eax, eax
jne 0x100259d4
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x100259a4
cmp dword [ebp - 0x83c], 0
je 0x100259f4
push dword [ebp - 0x83c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor edi, edi
cmp dword [ebp - 0x848], 0
je 0x10014651
push dword [ebp - 0x848]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x10014651
mov eax, dword [ebp - 0x858]
mov dword [eax + 0xc], 1
jmp 0x100146a4