Function at 0x100a54f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebp + 8], ebx
je 0x100aa4d
cmp dword [ebp + 0xc], ebx
je 0x100aa4d
cmp dword [ebp + 0x10], ebx
je 0x100aa4d
cmp dword [ebp + 0x14], ebx
je 0x100aa4d
mov edi, dword [ebp + 0x20]
cmp edi, ebx
je 0x100aa4d
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100a212
mov esi, eax
cmp dword [ebp + 0x1c], ebx
je 0x100aa43
cmp esi, ebx
jne 0x100aa43
cmp dword [ebp + 0x18], ebx
je 0x100a5e2
cmp dword [ebp + 0x18], 1
jne 0x100a5ee
cmp dword [edi], 1
jne 0x100a5ee
xor eax, eax
jmp 0x100aa57
push ebx
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x100a61d
push edi
call fcn.01003151
mov eax, edi
jmp 0x100aa57
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], ebx
je 0x100a633
cmp eax, ebx
jne 0x100a633
mov edi, 0x100
mov dword [ebp - 4], edi
jmp 0x100a641
mov edi, 0x100
cmp eax, edi
jae 0x100a641
add eax, eax
mov dword [ebp - 4], eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
call esi
mov esi, eax
cmp esi, ebx
jne 0x100aa43
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
cmp ecx, ebx
je 0x100a673
cmp eax, ebx
jne 0x100a673
mov eax, edi
jmp 0x100a679
cmp eax, edi
jae 0x100a679
add eax, eax
cmp dword [ebp + 0x18], ebx
je 0x100a684
cmp dword [ebp + 0x18], 1
jne 0x100a696
cmp dword [ebp - 0xc], ecx
jne 0x100aa35
cmp dword [ebp - 4], eax
jne 0x100aa35
inc eax
inc dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 4]
jbe 0x100a6a7
mov dword [ebp - 4], eax
jmp 0x100a6ad
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.010015e4
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x100a6c7
push 0xe
call fcn.01003151
push 0xe
jmp 0x100aa56
call fcn.010015e4
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x100a6de
lea eax, [ebp - 0x1c]
push eax
call fcn.01001820
jmp 0x100a6b9
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.010026af
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x100a6fb
lea eax, [ebp - 0x20]
push eax
call fcn.01001820
jmp 0x100a6d3
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor edi, edi
mov dword [ebp - 8], ebx
cmp dword [ebp - 0xc], ebx
jbe 0x100a75b
cmp dword [ebp - 8], ebx
jne 0x100a75b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
add eax, eax
cmp eax, ebx
je 0x100a725
mov byte [ecx], bl
inc ecx
dec eax
jne 0x100a71f
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
push edi
push dword [ebp + 8]
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x100a755
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.01002c06
cmp eax, 0xffffffff
jne 0x100a755
mov dword [ebp - 8], 0xe
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x100a70b
xor edi, edi
cmp dword [ebp - 0x14], ebx
jbe 0x100a7b2
cmp dword [ebp - 8], ebx
jne 0x100a7b2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
add eax, eax
cmp eax, ebx
je 0x100a77c
mov byte [ecx], bl
inc ecx
dec eax
jne 0x100a776
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
push edi
push dword [ebp + 0x10]
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x100a7ac
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.01002c06
cmp eax, 0xffffffff
jne 0x100a7ac
mov dword [ebp - 8], 0xe
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x100a762
lea eax, [ebp - 0x18]
push eax
call fcn.01002024
cmp dword [ebp - 8], ebx
jne 0x100a811
push ebx
push dword [ebp + 0xc]
call fcn.0100243e
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0x14]
lea eax, [ecx + eax + 5]
mov dword [ebp - 4], eax
call fcn.0100243e
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 5]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.010026af
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x100a80a
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call fcn.010026af
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x100a811
mov dword [ebp - 8], 0xe
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0xc], ebx
jbe 0x100a965
cmp dword [ebp - 8], ebx
jne 0x100a965
push dword [ebp - 0x2c]
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 - 0x3c], eax
cmp eax, 0xffffffff
je 0x100aa21
cmp dword [ebp + 0x18], 4
je 0x100a857
cmp dword [ebp + 0x18], 2
jne 0x100a862
push 3
push esi
push dword [ebp + 0xc]
call fcn.010098ff
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp - 0x24]
call fcn.010022bd
push dword [ebp - 4]
mov edi, 0x10011ec
push edi
push dword [ebp - 0x24]
call fcn.010028cb
push dword [ebp - 4]
push esi
push dword [ebp - 0x24]
call fcn.010028cb
push dword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp - 0x28]
call fcn.010022bd
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x28]
call fcn.010028cb
push dword [ebp - 0x10]
push esi
push dword [ebp - 0x28]
call fcn.010028cb
mov edi, dword [ebp + 0x28]
lea eax, [ebp - 0x34]
push eax
or edi, 0x20019
push edi
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x100a965
lea eax, [ebp - 0x38]
push eax
push edi
push ebx
push esi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x100a965
push dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
inc eax
push eax
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
push dword [ebp - 0x34]
call fcn.0100a54f
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call fcn.01001324
lea eax, [ebp - 0x38]
push eax
call fcn.01001324
cmp dword [ebp - 8], ebx
jne 0x100a947
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.01001df2
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
call fcn.01001df2
dec dword [ebp - 0xc]
dec dword [ebp - 0x14]
cmp dword [esi], 1
jne 0x100aa24
cmp dword [ebp + 0x18], ebx
je 0x100a95f
cmp dword [ebp + 0x18], 1
jne 0x100aa24
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
xor edi, edi
xor esi, esi
inc edi
cmp dword [ebp - 0xc], ebx
jbe 0x100a99e
cmp dword [ebp - 8], ebx
jne 0x100a99e
push esi
push dword [ebp - 0x1c]
call fcn.01002f4a
cmp dword [ebp + 0x18], 3
je 0x100a989
cmp dword [ebp + 0x18], 4
jne 0x100a993
push edi
push eax
push dword [ebp + 0xc]
call fcn.010098ff
mov eax, dword [ebp + 0x20]
inc esi
mov dword [eax], edi
cmp esi, dword [ebp - 0xc]
jb 0x100a96f
xor esi, esi
cmp dword [ebp - 0x14], ebx
jbe 0x100a9d5
cmp dword [ebp - 8], ebx
jne 0x100a9d5
push esi
push dword [ebp - 0x20]
call fcn.01002f4a
cmp dword [ebp + 0x18], 3
je 0x100a9bf
cmp dword [ebp + 0x18], 4
jne 0x100a9ca
push 2
push eax
push dword [ebp + 0x14]
call fcn.010098ff
mov eax, dword [ebp + 0x20]
inc esi
mov dword [eax], edi
cmp esi, dword [ebp - 0x14]
jb 0x100a9a5
lea eax, [ebp - 0x18]
push eax
call fcn.01002024
lea eax, [ebp - 0x34]
push eax
call fcn.01001324
lea eax, [ebp - 0x38]
push eax
call fcn.01001324
lea eax, [ebp - 0x24]
push eax
call fcn.01002024
lea eax, [ebp - 0x28]
push eax
call fcn.01002024
lea eax, [ebp - 0x1c]
push eax
call fcn.01001820
lea eax, [ebp - 0x20]
push eax
call fcn.01001820
push dword [ebp - 8]
call fcn.01003151
mov eax, dword [ebp - 8]
jmp 0x100aa57
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x2c], eax
jae 0x100a965
jmp 0x100a81d
mov eax, dword [ebp + 0x20]
mov dword [eax], 1
jmp 0x100a5e7
push esi
call fcn.01003151
mov eax, esi
jmp 0x100aa57
push 0x57
call fcn.01003151
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x24