Function at 0x1002eeb1
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x10061338]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor eax, eax
push esi
mov esi, edx
mov dword [ebp - 0x82c], ebx
mov word [ebp - 0x414], ax
cmp dword [ebx], esi
je 0x1002f3a8
push edi
push 0xa
or eax, 0xffffffff
lea edi, [ebx + 4]
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebx], esi
mov cx, word [0x10061a38]
test cx, cx
je 0x1002ef08
mov ax, word [0x10061c48]
test ax, ax
jne 0x1002ef1c
xor cl, cl
call fcn.1002f3b8
mov cx, word [0x10061a38]
mov ax, word [0x10061c48]
test cx, cx
je 0x1002ef39
test ax, ax
je 0x1002ef39
push 0x104
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp word [ebp - 0x414], 0
je 0x1002f3a7
push 0x20019
xor edi, edi
lea ecx, [ebp - 0x854]
push 0x1000f688
push 0x80000002
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x84c], edi
call fcn.1002ada9
mov ebx, dword [ebp - 0x854]
test eax, eax
jne 0x1002f32e
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 0x10061c48
call fcn.1002fa4d
test eax, eax
je 0x1002efeb
lea eax, [ebp - 0x828]
mov dword [ebp - 0x828], esi
push eax
lea eax, [ebp - 0x824]
push eax
push 0x10061a38
lea ecx, [ebp - 0x854]
call fcn.1002fa4d
test eax, eax
jne 0x1002f32e
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.1002ada9
test eax, eax
jne 0x1002f319
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 0x1002f100
inc esi
lea ecx, [ebp - 0x20c]
mov eax, 0x10062190
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002f080
test dx, dx
je 0x1002f07c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002f080
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002f05a
mov eax, edi
jmp 0x1002f085
sbb eax, eax
or eax, 1
test eax, eax
jle 0x1002f0e4
cmp word [ebp - 0x61c], di
je 0x1002f0cd
lea ecx, [ebp - 0x61c]
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002f0c4
test dx, dx
je 0x1002f0c0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002f0c4
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002f09e
mov eax, edi
jmp 0x1002f0c9
sbb eax, eax
or eax, 1
test eax, eax
jle 0x1002f0e4
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x61c]
call fcn.1002d4f5
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 0x1002f04e
cmp word [ebp - 0x61c], di
je 0x1002f245
mov esi, 0x20019
mov dword [ebp - 0x860], edi
push esi
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x85c], edi
push eax
push dword [ebp - 0x848]
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x858], edi
call fcn.1002ada9
mov ebx, dword [ebp - 0x860]
test eax, eax
jne 0x1002f234
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.1002ada9
test eax, eax
jne 0x1002f1d9
mov esi, dword [ebp - 0x82c]
add esi, 4
cmp dword [esi], 0xffffffff
jne 0x1002f1cc
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10005dc0]
lea ecx, [ebp - 0x83c]
call fcn.1002af92
test eax, eax
jne 0x1002f1cc
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x1002f19c
xor edi, edi
mov esi, dword [ebp - 0x82c]
add esi, 4
cmp dword [esi], 0xffffffff
jne 0x1002f212
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10005dc0]
lea ecx, [ebp - 0x860]
call fcn.1002af92
test eax, eax
jne 0x1002f212
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x1002f1e2
cmp dword [ebp - 0x83c], 0
je 0x1002f232
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 0x1002f23f
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.1002ada9
test eax, eax
jne 0x1002f2be
mov esi, dword [ebp - 0x82c]
add esi, 4
cmp dword [esi], 0xffffffff
jne 0x1002f2b1
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10005dc0]
lea ecx, [ebp - 0x83c]
call fcn.1002af92
test eax, eax
jne 0x1002f2b1
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x1002f281
xor edi, edi
mov esi, dword [ebp - 0x82c]
add esi, 4
cmp dword [esi], 0xffffffff
jne 0x1002f2f7
and dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x10005dc0]
lea ecx, [ebp - 0x848]
call fcn.1002af92
test eax, eax
jne 0x1002f2f7
mov eax, dword [ebp - 0x828]
mov dword [esi], eax
add edi, 4
add esi, 4
cmp edi, 0x28
jb 0x1002f2c7
cmp dword [ebp - 0x83c], 0
je 0x1002f317
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 0x1002f32e
push dword [ebp - 0x848]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x1002f33b
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.1002f9e7
test al, al
je 0x1002f359
mov eax, dword [ebp - 0x82c]
mov dword [eax + 0xc], 1
jmp 0x1002f39c
mov ecx, 0x1000f71c
lea eax, [ebp - 0x414]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002f38a
test dx, dx
je 0x1002f386
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002f38a
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002f364
mov eax, edi
jmp 0x1002f38f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002f39c
mov ecx, dword [ebp - 0x82c]
mov dword [ecx + 4], edi
test ebx, ebx
je 0x1002f3a7
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1001bb80
leave
ret