Function at 0x1009f4d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], ebx
je 0x100a167
cmp dword [ebp + 0xc], ebx
je 0x100a167
cmp dword [ebp + 0x10], ebx
je 0x100a167
cmp dword [ebp + 0x14], ebx
je 0x100a167
cmp dword [ebp + 0x18], ebx
je 0x100a167
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x100a167
cmp dword [ebp + 0x1c], ebx
je 0x1009faf
cmp dword [ebp + 0x1c], 1
jne 0x1009fbb
cmp dword [eax], 1
jne 0x1009fbb
xor eax, eax
jmp 0x100a171
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x1009fe6
push edi
call fcn.01003151
mov eax, edi
jmp 0x100a171
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call esi
mov edi, eax
cmp edi, ebx
jne 0x1009fd9
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x1c], ebx
je 0x100a00c
cmp dword [ebp + 0x1c], 1
jne 0x100a021
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jne 0x100a159
cmp eax, dword [ebp - 0xc]
jne 0x100a159
inc eax
and eax, 0xfffffffe
mov dword [ebp - 8], eax
add eax, 2
push eax
call fcn.010026af
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x100a046
push 0xe
call fcn.01003151
push 0xe
jmp 0x100a170
mov eax, dword [ebp - 0xc]
inc eax
and eax, 0xfffffffe
mov dword [ebp - 0xc], eax
add eax, 2
push eax
call fcn.010026af
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x100a06b
lea eax, [ebp - 4]
push eax
call fcn.01002024
jmp 0x100a038
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x100a09f
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call esi
mov edi, eax
cmp edi, ebx
je 0x100a0b6
lea eax, [ebp - 4]
push eax
call fcn.01002024
lea eax, [ebp - 0x14]
push eax
call fcn.01002024
jmp 0x1009fd9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x100a0fb
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jne 0x100a0fb
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
call fcn.01009a67
cmp eax, 1
je 0x100a0fb
cmp dword [ebp + 0x1c], 2
je 0x100a0e3
cmp dword [ebp + 0x1c], 4
jne 0x100a13c
push 3
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.01009995
jmp 0x100a13c
cmp dword [ebp + 0x1c], 3
je 0x100a107
cmp dword [ebp + 0x1c], 4
jne 0x100a133
push 1
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.01009995
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.01009995
mov eax, dword [ebp + 0x20]
mov dword [eax], 1
lea eax, [ebp - 4]
push eax
call fcn.01002024
lea eax, [ebp - 0x14]
push eax
call fcn.01002024
push ebx
call fcn.01003151
jmp 0x1009fb4
mov eax, dword [ebp + 0x20]
mov dword [eax], 1
jmp 0x1009fb4
push 0x57
call fcn.01003151
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x1c