Function at 0x1000fa2f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], ebx
inc esi
jmp 0x1000fa52
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x10], 0xb26bdde0
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1000fa44
mov dword [ebp - 0xc], ebx
jmp 0x1000fa6a
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x18], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1000fa5c
mov dword [ebp - 0xc], ebx
jmp 0x1000fa82
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x30], 0xc3167647
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x1000fa74
mov dword [ebp - 0x10], 0xa
jmp 0x1000fc6f
mov dword [ebp - 0x14], 0x56fd8c65
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0x3c25
mov dword [ebp - 0xc], ebx
jmp 0x1000fabc
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 8], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1000faae
mov dword [ebp - 8], 0xf
jmp 0x1000fb19
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x1c], 0xd60a2215
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000faec
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp ecx, eax
push 5
setne dl
pop eax
cmp eax, edx
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 4
je 0x1000faca
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
sub edx, 4
inc eax
sub edx, eax
mov eax, dword [ebp - 8]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setg cl
inc ecx
imul eax, ecx, 6
test eax, eax
je 0x1000fb54
mov edx, esi
cmp dword [ebp - 0x10], ebx
jne 0x1000fb56
mov edx, ebx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp edx, eax
setne cl
xor eax, eax
cmp ecx, 0x6e82a74
setle al
add eax, 0xfc4a4f2a
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x14]
jle 0x1000fbe4
mov dword [ebp - 0xc], 0xffff
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add ecx, eax
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setg dl
cmp edx, dword [ebp - 8]
je 0x1000fb9c
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 8]
neg esi
push ebx
sbb esi, esi
xor edx, edx
inc esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setg dl
xor ecx, ecx
cmp edx, eax
setl cl
xor eax, eax
cmp esi, ecx
setg al
mov dword [ebp - 0x30], eax
lea eax, [ebp - 2]
push eax
mov byte [ebp - 2], bl
call fcn.1001021d
pop ecx
xor esi, esi
pop ecx
inc esi
jmp 0x1000fc6c
mov dword [ebp - 0xc], 0x936bb358
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
sub ecx, eax
jne 0x1000fc47
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x20], ebx
je 0x1000fc0a
mov ecx, esi
cmp dword [ebp - 8], ebx
jne 0x1000fc0c
mov ecx, ebx
mov eax, dword [ebp - 0x30]
xor edx, edx
cmp eax, 0xf1c2
setg dl
mov dword [ebp - 0x30], edx
sub edx, ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp edx, eax
setne cl
sub ecx, 0x464d06d0
je 0x1000fc37
mov ecx, esi
cmp dword [ebp - 0x10], ebx
jne 0x1000fc39
mov ecx, ebx
mov eax, dword [ebp - 8]
sub ecx, eax
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, ebx
je 0x1000fc49
mov eax, esi
push 0xfffffffffffffffb
pop ecx
cmp ecx, eax
mov eax, dword [ebp - 0xc]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setge dl
sub edx, dword [ebp - 0x18]
je 0x1000fc67
mov eax, esi
cmp dword [ebp - 8], ebx
jne 0x1000fc69
mov eax, ebx
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x13
jl 0x1000fa94
lea eax, [edi - 0x17]
mov ecx, 0x236
cdq
idiv ecx
pop edi
pop esi
sub eax, 0x17
pop ebx
mov esp, ebp
pop ebp
ret