Function at 0x10280d6
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [ebp - 0x63c], ecx
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x638], esi
je 0x10284da
lea eax, [ebp - 0x628]
push eax
push 0x20019
push esi
push 0x1002e10
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10284b6
cmp dword [ebp - 0x628], esi
je 0x10284b6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x644]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x628]
mov dword [ebp - 0x634], esi
mov dword [ebp - 0x630], 0x104
call ebx
mov edi, 0x100760c
jmp 0x10283f5
mov ecx, 0x1007714
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10281b0
cmp dx, si
je 0x10281ac
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10281b0
add eax, 4
add ecx, 4
cmp dx, si
jne 0x102818a
xor eax, eax
jmp 0x10281b5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x10283bf
mov ecx, 0x1002d9c
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10281ee
cmp dx, si
je 0x10281ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10281ee
add eax, 4
add ecx, 4
cmp dx, si
jne 0x10281c8
xor eax, eax
jmp 0x10281f3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x10283bf
lea eax, [ebp - 0x210]
push 0x10076f8
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10283bf
lea eax, [ebp - 0x210]
push 0x10076d0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10283bf
lea eax, [ebp - 0x210]
push 0x10076ac
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10283bf
lea eax, [ebp - 0x210]
push 0x100769c
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10283bf
lea eax, [ebp - 0x210]
push 0x1007680
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10283bf
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x62c]
lea eax, [ebp - 0x620]
push 0x100766c
push 0x208
push eax
mov dword [ebp - 0x624], esi
call fcn.0101846b
add esp, 0x14
cmp eax, esi
jl 0x1028413
cmp dword [ebp - 0x638], esi
jne 0x10282e0
push dword [ebp - 0x62c]
call fcn.0101d91b
test eax, eax
je 0x1028454
mov dword [ebp - 0x638], 1
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.01043573
cmp eax, esi
jl 0x102838c
mov ecx, dword [ebp - 0x63c]
push 1
push dword [ebp - 0x624]
lea eax, [ebp - 0x210]
push eax
call fcn.01027fa0
test eax, eax
jne 0x1028347
mov eax, dword [section..data]
cmp eax, section..data
je 0x1028347
test byte [eax + 0x1c], 2
je 0x1028347
lea ecx, [ebp - 0x620]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push edi
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101ffbf
mov ecx, dword [ebp - 0x624]
mov eax, dword [ecx]
push esi
call dword [eax + 0x10]
cmp eax, esi
jge 0x102837f
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x102837f
test byte [ecx + 0x1c], 2
je 0x102837f
push eax
push 0x1007640
push edi
push 0xd
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e76
mov ecx, dword [ebp - 0x624]
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x10283af
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x10283af
test byte [ecx + 0x1c], 2
je 0x10283af
push eax
push edi
push 0xe
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e4a
mov eax, dword [ebp - 0x624]
cmp eax, esi
je 0x10283bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x634]
lea eax, [ebp - 0x644]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x634]
mov dword [ebp - 0x630], 0x104
push dword [ebp - 0x628]
call ebx
test eax, eax
je 0x102817f
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1028488
inc eax
jmp 0x10284dc
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x102843b
test byte [ecx + 0x1c], 2
je 0x102843b
push eax
push 0x1002b20
push edi
push 0xa
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e76
mov eax, dword [ebp - 0x624]
cmp eax, esi
je 0x10284da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10284da
mov eax, dword [section..data]
cmp eax, section..data
je 0x102847a
test byte [eax + 0x1c], 2
je 0x102847a
push dword [ebp - 0x62c]
push edi
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102843b
mov eax, dword [section..data]
cmp eax, section..data
je 0x10284da
test byte [eax + 0x1c], 2
je 0x10284da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [section..data]
push edi
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e4a
jmp 0x10284da
mov eax, dword [section..data]
cmp eax, section..data
je 0x10284da
test byte [eax + 0x1c], 2
je 0x10284da
push 0x100760c
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010356d1
leave
ret 4