Function at 0x1002e493
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002e4b8
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1002e66a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.1001807e
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1002e540
mov dword [ebp - 0xc], 1
jmp 0x1002e544
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001807e
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1002e563
mov dword [ebp - 0x10], 1
jmp 0x1002e567
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x1002e578
mov dword [ebp - 0x5c], 1
jmp 0x1002e57c
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001807e
push 0
mov ecx, dword [ebp - 0x60]
call fcn.1001807e
cmp dword [eax], 0xfe29
jg 0x1002e5a4
mov dword [ebp - 0x14], 1
jmp 0x1002e5a8
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jne 0x1002e5c1
mov eax, 0xebda3fa0
test eax, eax
jne 0x1002e5c1
and dword [ebp - 0x18], 0
jmp 0x1002e5c8
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x1002e5db
mov dword [ebp - 0x1c], 1
jmp 0x1002e5df
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
jne 0x1002e5f2
mov dword [ebp - 0x20], 1
jmp 0x1002e5f6
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001807e
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
cmp ecx, 0x34d7
je 0x1002e619
mov dword [ebp - 0x24], 1
jmp 0x1002e61d
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xffffffff
ja 0x1002e63e
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001807e
cmp dword [eax], 0
je 0x1002e63e
mov dword [ebp - 0x2c], 1
jmp 0x1002e642
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jge 0x1002e65e
mov eax, 0xffff
test eax, eax
je 0x1002e65e
mov dword [ebp - 0x30], 1
jmp 0x1002e662
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret