Function at 0xe240c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0xe2415
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xe2674
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [esi], 0
mov eax, dword [ebp - 4]
mov byte [eax], 1
mov byte [edi], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
call fcn.00026f34
mov eax, dword [ebp - 0x1c]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0xe264a
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.000271f0
mov edx, 0x400
mov eax, dword [ebp - 0x10]
call fcn.00018100
mov dword [ebp - 0x18], 0x3ff
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xe2684
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0xe2523
cmp dword [ebp - 0x14], 1
jne 0xe2523
cmp dword [ebp - 0x18], 0
jbe 0xe2523
cmp dword [ebp - 0x18], 0xc8
ja 0xe2523
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.000272e8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.000273cc
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0xe26a0
call fcn.000273cc
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.000140b8
mov eax, dword [ebp - 4]
sete byte [eax]
mov byte [esi], 0
mov edx, 0x400
mov eax, dword [ebp - 0x10]
call fcn.00018100
mov dword [ebp - 0x18], 0x3ff
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xe26a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0xe25af
cmp dword [ebp - 0x14], 1
jne 0xe25af
cmp dword [ebp - 0x18], 0
jbe 0xe25af
cmp dword [ebp - 0x18], 0xc8
ja 0xe25af
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.000272e8
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.000273cc
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x3c]
mov eax, 0xe26a0
call fcn.000273cc
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.000140b8
sete byte [esi]
mov byte [edi], 1
mov edx, 0x400
mov eax, dword [ebp - 0x10]
call fcn.00018100
mov dword [ebp - 0x18], 0x3ff
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xe26d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0xe263d
cmp dword [ebp - 0x14], 1
jne 0xe263d
cmp dword [ebp - 0x18], 0
jbe 0xe263d
cmp dword [ebp - 0x18], 0xc8
ja 0xe263d
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.000272e8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.000273cc
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xe26a0
pop edx
call fcn.000273cc
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.000140b8
sete byte [edi]
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.00027218
cmp dword [ebp - 0xc], 0
je 0xe2659
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe267b
lea eax, [ebp - 0x4c]
mov edx, 0xd
call fcn.00013d3c
ret