Function at 0x100a212
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], ebx
je 0x100a539
cmp dword [ebp + 0xc], ebx
je 0x100a539
cmp dword [ebp + 0x10], ebx
je 0x100a539
cmp dword [ebp + 0x14], ebx
je 0x100a539
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x100a539
cmp dword [ebp + 0x18], ebx
je 0x100a271
cmp dword [ebp + 0x18], 1
jne 0x100a27d
cmp dword [eax], 1
jne 0x100a27d
xor eax, eax
jmp 0x100a543
push ebx
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x100a2ac
push edi
call fcn.01003151
mov eax, edi
jmp 0x100a543
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
call esi
mov esi, eax
cmp esi, ebx
je 0x100a2d5
push esi
call fcn.01003151
mov eax, esi
jmp 0x100a543
cmp dword [ebp + 0x18], ebx
je 0x100a2e0
cmp dword [ebp + 0x18], 1
jne 0x100a2f8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jne 0x100a52b
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
jne 0x100a52b
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0xc]
cmp eax, dword [ebp - 0xc]
jbe 0x100a30b
mov dword [ebp - 0xc], eax
jmp 0x100a311
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.010015e4
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x100a32b
push 0xe
call fcn.01003151
push 0xe
jmp 0x100a542
call fcn.010015e4
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x100a342
lea eax, [ebp - 0x1c]
push eax
call fcn.01001820
jmp 0x100a31d
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.010026af
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x100a35f
lea eax, [ebp - 0x20]
push eax
call fcn.01001820
jmp 0x100a337
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor edi, edi
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
jbe 0x100a3c0
cmp edi, ebx
jne 0x100a3c0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
add eax, eax
cmp eax, ebx
je 0x100a388
mov byte [ecx], bl
inc ecx
dec eax
jne 0x100a382
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x100a3b5
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.01002c06
cmp eax, 0xffffffff
jne 0x100a3b5
push 0xe
pop edi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100a36f
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
jbe 0x100a419
cmp edi, ebx
jne 0x100a419
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
add eax, eax
cmp eax, ebx
je 0x100a3e1
mov byte [ecx], bl
inc ecx
dec eax
jne 0x100a3db
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
push dword [ebp + 0x10]
call esi
mov edi, eax
cmp edi, ebx
jne 0x100a40e
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call fcn.01002c06
cmp eax, 0xffffffff
jne 0x100a40e
push 0xe
pop edi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jb 0x100a3c8
lea eax, [ebp - 0x14]
push eax
call fcn.01002024
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
jbe 0x100a496
cmp edi, ebx
jne 0x100a496
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.01002f4a
push ebx
push 1
mov esi, eax
push esi
push dword [ebp - 0x20]
call fcn.0100dc99
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x100a48b
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01009f4d
mov edi, eax
cmp edi, ebx
jne 0x100a48e
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.01001df2
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call fcn.01001df2
dec dword [ebp - 8]
dec dword [ebp - 0x18]
jmp 0x100a48e
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100a42a
xor esi, esi
cmp dword [ebp - 8], ebx
jbe 0x100a4d5
cmp edi, ebx
jne 0x100a4d5
push esi
push dword [ebp - 0x1c]
call fcn.01002f4a
cmp dword [ebp + 0x18], 3
je 0x100a4b6
cmp dword [ebp + 0x18], 4
jne 0x100a4c6
push 1
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100a17d
mov edi, eax
mov eax, dword [ebp + 0x1c]
inc esi
mov dword [eax], 1
cmp esi, dword [ebp - 8]
jb 0x100a49d
xor esi, esi
cmp dword [ebp - 0x18], ebx
jbe 0x100a514
cmp edi, ebx
jne 0x100a514
push esi
push dword [ebp - 0x20]
call fcn.01002f4a
cmp dword [ebp + 0x18], 3
je 0x100a4f5
cmp dword [ebp + 0x18], 4
jne 0x100a505
push 2
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0100a17d
mov edi, eax
mov eax, dword [ebp + 0x1c]
inc esi
mov dword [eax], 1
cmp esi, dword [ebp - 0x18]
jb 0x100a4dc
lea eax, [ebp - 0x1c]
push eax
call fcn.01001820
lea eax, [ebp - 0x20]
push eax
call fcn.01001820
jmp 0x100a29f
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
jmp 0x100a276
push 0x57
call fcn.01003151
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x18