Function at 0x1002ed80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b038
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], 1
mov dword [ebp - 4], 1
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002f00a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x1003f9a8
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10006e20
test al, al
jne 0x1002ee03
push 0
push 0x1003f9a8
mov ecx, edi
call fcn.100071a0
mov byte [ebp - 4], 3
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xff
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002f014
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x114], eax
push 0x1003dfc0
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 4
call fcn.10006e20
test al, al
jne 0x1002ee6f
push 0x18
push 0x1003dfc0
lea ecx, [ebp - 0x114]
call fcn.100071a0
push 1
push 0x1003fc6c
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 5
call fcn.1000d8e0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x114]
push dword [eax - 0xc]
push eax
call fcn.1000d8e0
mov ebx, dword [ebp - 0x114]
push ecx
mov esi, esp
add ebx, 0xfffffff0
push ebx
mov dword [ebp - 0x124], esi
call fcn.100070d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.1002ff50
add esp, 8
test al, al
jne 0x1002ef26
mov ecx, edi
call fcn.100072c0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1002eeeb
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002ef05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1002efe7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002efe7
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002ef97
mov eax, dword [ebp - 0x118]
mov ecx, 0xff
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov dword [ebp - 0x118], eax
cmovl ecx, eax
cmp ecx, 0x100
jae 0x1002f005
lea eax, [ebp - 0x110]
mov byte [ebp + ecx - 0x110], 0
push eax
push 0x1004099c
push edi
call fcn.1001bd10
add esp, 0xc
mov ecx, edi
call fcn.100063c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1002efb5
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002efcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1002efe7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
call fcn.10037158
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
int3