Function at 0x1002b911
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002b962
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1002b94b
push 0x19b7
push 0xab9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x1002b95d
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1002bbf1
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1002bb53
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x7f5f
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x1002ba28
xor eax, eax
inc eax
jne 0x1002ba37
mov eax, 0xa3da7981
test eax, eax
jne 0x1002ba37
and dword [ebp - 0x5c], 0
jmp 0x1002ba3e
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1002ba5e
mov dword [ebp - 0x28], 1
jmp 0x1002ba62
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax]
jne 0x1002ba7a
mov dword [ebp - 0x20], 1
jmp 0x1002ba7e
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jg 0x1002ba91
mov dword [ebp - 0x30], 1
jmp 0x1002ba95
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jge 0x1002baad
mov dword [ebp - 0x40], 1
jmp 0x1002bab1
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jle 0x1002bac4
mov dword [ebp - 0x24], 1
jmp 0x1002bac8
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xc2130bec
jbe 0x1002bada
mov dword [ebp - 0xc], 1
jmp 0x1002bade
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, 0x2ad21dd8
sub eax, dword [ebp - 0xc]
jmp 0x1002baf9
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jle 0x1002bb18
mov dword [ebp - 0x2c], 1
jmp 0x1002bb1c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jl 0x1002bb2f
mov dword [ebp - 0x34], 1
jmp 0x1002bb33
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xfffffffb
jge 0x1002bb42
mov dword [ebp - 0x3c], 1
jmp 0x1002bb46
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x1002bbf1
mov dword [ebp - 0x6c], 0x154d
cmp dword [ebp - 0x6c], 0x64e
jge 0x1002bbcb
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x1065b710
call fcn.1002f718
mov ecx, eax
call fcn.1002f718
mov eax, dword [ebp - 0x1c]
and eax, 0x80000001
jns 0x1002bb8b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1002bb9d
mov eax, dword [ebp - 0x1c]
dec eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
jmp 0x1002bbab
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x7c], eax
push fcn.10010bca
push dword [ebp - 0x7c]
mov ecx, 0x1065b658
call fcn.1002f942
mov ecx, eax
call fcn.1000d2b8
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0x10], 0
mov esp, ebp
pop ebp
ret