Function at 0x1002fb92
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f1e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push esi
mov dword [ebp - 0x90], 0x94643cdf
mov dword [ebp - 0x98], 0x33efc07e
mov dword [ebp - 0xdc], 0x9609c3fb
mov dword [ebp - 0xe8], 0xcb8ce3e
mov dword [ebp - 0xf0], 0xfffffffc
mov dword [ebp - 0x114], 0x49cec79e
or dword [ebp - 0xc0], 0xffffffff
or dword [ebp - 0xbc], 0xffffffff
or dword [ebp - 0xb8], 0xffffffff
or dword [ebp - 0xb4], 0xffffffff
lea ecx, [ebp - 0x39]
call fcn.10008b23
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x128]
call fcn.10018f4a
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x120]
call fcn.10018f10
and dword [ebp - 4], 0
mov dword [ebp - 0x9c], 0xfffffff6
push 0
lea eax, [ebp - 0x98]
push eax
push 0x7de2
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0xf82
call fcn.10030503
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.10018f36
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], 0
jmp 0x1002fcb3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jle 0x1002fcdb
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002fcd9
push 0x4ada
push 0
push 0x6b3c
call fcn.10031318
add esp, 0xc
jmp 0x1002fcac
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x2c], 0
jmp 0x1002fcf6
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x2c], eax
jae 0x1003018f
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x24], 0
jmp 0x1002fd23
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffe2
je 0x1002fdb4
mov dword [ebp - 0x88], 0xfffffff6
push 2
lea ecx, [ebp - 0xcc]
call fcn.10018ece
mov dword [ebp - 4], 1
push 0
push 0x1f8
push 0x1546
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.1003137f
add esp, 0x14
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002fd8b
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp - 0x88]
push 0
lea ecx, [ebp - 0xcc]
call fcn.10018f3b
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10018f36
jmp 0x1002fd1c
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x1002fdc8
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x10], 0
jmp 0x1002fdd8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002fdee
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x100], 0xffffffff
jmp 0x1002fdd1
mov dword [ebp - 0x10], 0
jmp 0x1002fdfe
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1002fe14
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xac], 9
jmp 0x1002fdf7
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xac], 2
jmp 0x1002fe42
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xac]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xac], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xac], 0
jl 0x1002ff1c
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x14], 2
jmp 0x1002fe6d
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1002fe83
mov dword [ebp - 0x64], 0x1c5534bf
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
jmp 0x1002fe66
mov dword [ebp - 0x14], 0
jmp 0x1002fe93
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1002ff17
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x74], 0
jmp 0x1002fed7
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x74]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x74], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x74], 3
jge 0x1002fef9
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp + eax*4 - 0x100], 0xb844a754
jmp 0x1002fec4
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp dword [ebp + eax*4 - 0x100], 0
je 0x1002ff12
jmp 0x1002ff17
jmp 0x1002fe8c
jmp 0x1002fe27
mov byte [ebp - 0x17], 0
push 0
push 0x2437
push 0x53e5
lea eax, [ebp - 0x17]
push eax
call fcn.1003288c
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push 1
push 0x1e4f
lea eax, [ebp - 0x78]
push eax
call fcn.1002fad1
add esp, 0x10
push 3
lea ecx, [ebp - 0x38]
call fcn.10018ece
mov dword [ebp - 4], 2
mov dword [ebp - 0x54], 0xb2bc40ed
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0xffffffff
lea eax, [ebp - 0x38]
push eax
push 0x1794
push 0
lea eax, [ebp - 0x20]
push eax
push 0x2a3d
call fcn.1003296c
add esp, 0x14
mov dword [ebp - 0x20], 0
jmp 0x1002ffa1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1002ffb7
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x10c], 0xffffffff
jmp 0x1002ff9a
push 1
lea ecx, [ebp - 0x38]
call fcn.10018f3b
mov dword [ebp - 0x48], 0x91509cf1
mov eax, 0xfbce008f
cmp eax, 0xb44cf592
jae 0x1002ffdd
mov dword [ebp - 0x58], 1
jmp 0x1002ffe1
and dword [ebp - 0x58], 0
push 2
lea ecx, [ebp - 0x38]
call fcn.10018f3b
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jle 0x1002fffb
mov dword [ebp - 0x4c], 1
jmp 0x1002ffff
and dword [ebp - 0x4c], 0
push 1
lea ecx, [ebp - 0x38]
call fcn.10018f3b
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x54]
add esi, dword [ebp - 0x4c]
push 2
lea ecx, [ebp - 0x38]
call fcn.10018f3b
cmp esi, dword [eax]
je 0x1003002b
mov dword [ebp - 0x60], 1
jmp 0x1003002f
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
jae 0x1003003e
mov dword [ebp - 0x40], 1
jmp 0x10030042
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov esi, dword [ebp - 0x44]
push 2
lea ecx, [ebp - 0x38]
call fcn.10018f3b
cmp dword [eax], esi
jl 0x10030077
cmp dword [ebp - 0x48], 0
je 0x10030077
push 0
lea ecx, [ebp - 0x38]
call fcn.10018f3b
cmp dword [eax], 0
je 0x10030077
mov dword [ebp - 0x50], 1
jmp 0x1003007b
and dword [ebp - 0x50], 0
push 2
lea ecx, [ebp - 0x38]
call fcn.10018f3b
mov esi, dword [ebp - 0x50]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0x38]
call fcn.10018f3b
cmp esi, dword [eax]
jl 0x100300a3
or eax, 0xffffffff
jne 0x100300a3
and dword [ebp - 0x5c], 0
jmp 0x100300aa
mov dword [ebp - 0x5c], 1
push 2
lea ecx, [ebp - 0x38]
call fcn.10018f3b
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10018f36
lea eax, [ebp - 0x7c]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1002fb38
add esp, 0xc
mov dword [ebp - 0xd8], 0xfffffffd
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xe0], 0xfffffffd
mov dword [ebp - 0xe4], 9
mov dword [ebp - 0x104], 0x696a485b
mov dword [ebp - 0xec], 0x543beb71
mov dword [ebp - 0x108], 0xfffffffd
mov dword [ebp - 0xf4], 0x3f1a0734
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x84], 9
lea eax, [ebp - 0x84]
push eax
push 0x3032
push 0x183a
push 0
call fcn.10031028
add esp, 0x10
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 3
je 0x1003016c
jmp 0x1003018a
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
push 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100301b0
add esp, 0xc
jmp 0x1002fce7
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
add ecx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret