Function at 0x100bd3a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe78
mov eax, dword [0x1017048]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xe38], eax
mov eax, dword [ebp + 0x10]
push ebx
push ebx
mov dword [ebp - 0xe50], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0xe6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe78], eax
lea eax, [ebp - 0xe58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
mov byte [ebp - 0xe1d], bl
mov dword [ebp - 0xe48], ebx
mov dword [ebp - 0xe4c], ebx
mov dword [ebp - 0xe2c], ebx
mov dword [ebp - 0xe44], ebx
mov dword [ebp - 0xe30], ebx
mov dword [ebp - 0xe58], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100c404
mov eax, dword [ebp - 0xe58]
cmp eax, ebx
jne 0x100bdd3
mov bl, 1
jmp 0x100c404
imul eax, eax, 0x3ec
push edi
push eax
call fcn.0100f60c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
pop ecx
push ebx
push ebx
mov dword [ebp - 0xe34], eax
lea eax, [ebp - 0xe60]
push eax
push ebx
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x7fc]
push eax
push ebx
push esi
mov dword [ebp - 0xe18], ebx
mov dword [ebp - 0xe28], 0x1f4
mov dword [ebp - 0xe24], ebx
call edi
cmp eax, ebx
jne 0x100be9d
mov eax, dword [ebp - 0xe34]
mov dword [ebp - 0xe1c], eax
cmp dword [ebp - 0xe60], 7
je 0x100be68
lea eax, [ebp - 0x7fc]
push eax
push dword [ebp - 0xe1c]
call fcn.0100f6e7
mov eax, dword [ebp - 0xe1c]
inc dword [ebp - 0xe24]
add dword [ebp - 0xe1c], 0x3ec
pop ecx
pop ecx
mov dword [eax + 0x3e8], ebx
inc dword [ebp - 0xe18]
push ebx
push ebx
lea eax, [ebp - 0xe60]
push eax
push ebx
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x7fc]
push eax
push dword [ebp - 0xe18]
mov dword [ebp - 0xe28], 0x1f4
push esi
call edi
cmp eax, ebx
je 0x100be2f
cmp eax, 0x103
jne 0x100c3f1
mov eax, dword [ebp - 0xe24]
mov dword [ebp - 0xe5c], eax
lea eax, [ebp - 0xe30]
push eax
call fcn.0100a7a1
cmp dword [ebp - 0xe30], ebx
pop ecx
mov dword [ebp - 0xe70], eax
jne 0x100c3f1
cmp eax, ebx
je 0x100c3f1
lea ecx, [ebp - 0xe48]
call fcn.01008658
push eax
push 0x20019
push ebx
push dword [ebp - 0xe6c]
push dword [ebp - 0xe38]
call fcn.01008692
add esp, 0x14
test eax, eax
jne 0x100c3f1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x7fc]
push eax
push ebx
push dword [ebp - 0xe48]
mov dword [ebp - 0xe18], ebx
mov dword [ebp - 0xe28], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, 0x104
jmp 0x100c0d5
lea eax, [ebp - 0x7fc]
push eax
push dword [ebp - 0xe78]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100c0a1
lea eax, [ebp - 0x7fc]
push eax
push dword [ebp - 0xe6c]
lea eax, [ebp - 0xe14]
push 0x1004e4c
push esi
push eax
call fcn.0100a0db
add esp, 0x14
lea ecx, [ebp - 0xe4c]
call fcn.01008658
push eax
push 0x20019
push ebx
lea eax, [ebp - 0xe14]
push eax
push dword [ebp - 0xe38]
call fcn.01008692
add esp, 0x14
cmp eax, ebx
jne 0x100c098
push ebx
push ebx
lea eax, [ebp - 0xe74]
push eax
push ebx
lea eax, [ebp - 0xe54]
push eax
lea eax, [ebp - 0xc0c]
push eax
mov dword [ebp - 0xe30], ebx
push ebx
jmp 0x100c07b
cmp dword [ebp - 0xe74], 7
je 0x100c057
cmp dword [ebp - 0xe24], ebx
mov dword [ebp - 0xe40], ebx
jbe 0x100c057
mov eax, dword [ebp - 0xe34]
mov dword [ebp - 0xe1c], eax
mov eax, dword [ebp - 0xe1c]
cmp dword [eax + 0x3e8], ebx
jne 0x100c01a
lea eax, [ebp - 0xc0c]
push eax
push dword [ebp - 0xe1c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100c03a
inc dword [ebp - 0xe40]
mov eax, dword [ebp - 0xe40]
add dword [ebp - 0xe1c], 0x3ec
cmp eax, dword [ebp - 0xe24]
jb 0x100bff5
jmp 0x100c057
mov eax, dword [ebp - 0xe40]
mov ecx, dword [ebp - 0xe34]
imul eax, eax, 0x3ec
mov dword [eax + ecx + 0x3e8], 1
inc dword [ebp - 0xe30]
push ebx
push ebx
lea eax, [ebp - 0xe74]
push eax
push ebx
lea eax, [ebp - 0xe54]
push eax
lea eax, [ebp - 0xc0c]
push eax
push dword [ebp - 0xe30]
push dword [ebp - 0xe4c]
mov dword [ebp - 0xe54], esi
call edi
cmp eax, ebx
je 0x100bfd2
cmp eax, 0x103
jmp 0x100c09b
cmp eax, 2
jne 0x100c3f1
inc dword [ebp - 0xe18]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x7fc]
push eax
push dword [ebp - 0xe18]
mov dword [ebp - 0xe28], 0x1f4
push dword [ebp - 0xe48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
je 0x100bf42
cmp eax, 0x103
jne 0x100c3f1
mov edx, 0x81
xor eax, eax
mov word [ebp - 0x20c], bx
mov ecx, edx
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
cmp dword [ebp - 0xe5c], ebx
mov word [ebp - 0x414], bx
mov ecx, edx
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0xe68], esi
mov dword [ebp - 0xe64], ebx
mov dword [ebp - 0xe24], ebx
jbe 0x100c2a6
mov eax, dword [ebp - 0xe34]
mov dword [ebp - 0xe1c], eax
mov eax, dword [ebp - 0xe1c]
cmp dword [eax + 0x3e8], ebx
jne 0x100c284
push eax
push dword [ebp - 0xe50]
lea eax, [ebp - 0x20c]
push 0x1004e40
push esi
push eax
call fcn.0100a0db
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xe38]
call fcn.01008fcd
add esp, 0x20
test eax, eax
je 0x100c3f1
mov dword [ebp - 0xe18], ebx
cmp dword [ebp - 0xe18], ebx
push dword [ebp - 0xe1c]
lea eax, [ebp - 0x20c]
jne 0x100c1b5
push 0x1004dc0
push esi
push eax
call fcn.0100a0db
add esp, 0x10
jmp 0x100c1ca
push dword [ebp - 0xe70]
push 0x1004d28
push esi
push eax
call fcn.0100a0db
add esp, 0x14
lea ecx, [ebp - 0xe44]
call fcn.01008658
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x80000002
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x100c1fe
cmp eax, 2
jne 0x100c3f1
jmp 0x100c254
lea eax, [ebp - 0xe68]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xe64]
push eax
push ebx
push 0x1004b2c
push dword [ebp - 0xe44]
mov dword [ebp - 0xe68], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100c254
cmp dword [ebp - 0xe64], 1
jne 0x100c254
cmp word [ebp - 0x414], bx
je 0x100c254
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0100a93f
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0xe44]
call fcn.01008634
push ebx
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.01008fcd
add esp, 0xc
inc dword [ebp - 0xe18]
cmp dword [ebp - 0xe18], 2
jl 0x100c190
inc dword [ebp - 0xe24]
mov eax, dword [ebp - 0xe24]
add dword [ebp - 0xe1c], 0x3ec
cmp eax, dword [ebp - 0xe5c]
jb 0x100c141
lea ecx, [ebp - 0xe2c]
call fcn.01008658
push eax
mov edi, 0x20019
push edi
push ebx
push dword [ebp - 0xe50]
push dword [ebp - 0xe38]
call fcn.01008692
add esp, 0x14
test eax, eax
jne 0x100c3f1
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xe3c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xe2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100c3f1
cmp dword [ebp - 0xe3c], ebx
jne 0x100c323
push ebx
lea ecx, [ebp - 0xe2c]
call fcn.01008634
push ebx
push dword [ebp - 0xe50]
push dword [ebp - 0xe38]
call fcn.01008fcd
add esp, 0xc
mov dword [ebp - 0xe18], ebx
cmp dword [ebp - 0xe18], ebx
lea eax, [ebp - 0xa04]
jne 0x100c348
push 0x1004cb0
push esi
push eax
call fcn.0100a0db
add esp, 0xc
jmp 0x100c35d
push dword [ebp - 0xe70]
push 0x1004c20
push esi
push eax
call fcn.0100a0db
add esp, 0x10
lea ecx, [ebp - 0xe2c]
call fcn.01008658
push eax
push edi
push ebx
lea eax, [ebp - 0xa04]
push eax
push 0x80000002
call fcn.01008692
add esp, 0x14
test eax, eax
jne 0x100c3d7
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xe3c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xe2c]
mov dword [ebp - 0xe3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100c3d7
cmp dword [ebp - 0xe3c], ebx
jne 0x100c3d7
push ebx
lea ecx, [ebp - 0xe2c]
call fcn.01008634
push ebx
lea eax, [ebp - 0xa04]
push eax
push 0x80000002
call fcn.01008fcd
add esp, 0xc
test eax, eax
je 0x100c3f1
inc dword [ebp - 0xe18]
cmp dword [ebp - 0xe18], 2
jl 0x100c329
mov byte [ebp - 0xe1d], 1
push dword [ebp - 0xe34]
call fcn.0100f5fc
mov bl, byte [ebp - 0xe1d]
pop ecx
pop edi
lea ecx, [ebp - 0xe44]
call fcn.01008676
lea ecx, [ebp - 0xe2c]
call fcn.01008676
lea ecx, [ebp - 0xe4c]
call fcn.01008676
lea ecx, [ebp - 0xe48]
call fcn.01008676
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
pop ebx
call fcn.0100f0dc
leave
ret