Function at 0x1c43c510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov dword [esp + 8], 4
lea eax, [esp + 4]
push ebx
push esi
push edi
push ebp
xor esi, esi
push eax
mov ecx, dword [str.SoftwareIntelIndeo4.1]
mov dword [esp + 0x18], esi
push 0xf003f
push esi
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1c43c772
lea eax, [esp + 0x18]
mov edi, dword [esp + 0x24]
push eax
mov edx, dword [str.AccessKey]
lea ecx, [edi + 4]
lea eax, [esp + 0x20]
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
push eax
push esi
push edx
push ecx
call ebx
test eax, eax
jne 0x1c43c772
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push eax
push ecx
mov eax, dword [str.EnabledAccessKey]
mov ecx, dword [esp + 0x1c]
push edx
push esi
push eax
push ecx
call ebx
test eax, eax
jne 0x1c43c772
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x1c43c5af
cmp eax, 1
jne 0x1c43c772
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [esp + 0x10]
push ecx
lea edx, [edi + 8]
mov dword [edi + 0x14], eax
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, dword [0x1c4bb528]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
call ebx
test eax, eax
jne 0x1c43c772
lea ebp, [edi + 0xc]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ebp
mov edx, dword [0x1c4bb52c]
mov eax, dword [esp + 0x1c]
push ecx
push 0
push edx
push eax
call ebx
test eax, eax
jne 0x1c43c772
mov edx, dword [edi + 8]
test edx, edx
jne 0x1c43c61a
mov eax, dword [ebp]
test eax, eax
je 0x1c43c63f
test edx, edx
je 0x1c43c772
mov ecx, dword [ebp]
test ecx, ecx
je 0x1c43c772
mov eax, dword [0x1c4b099c]
cmp eax, edx
jb 0x1c43c772
mov eax, dword [0x1c4b09a0]
cmp eax, ecx
jb 0x1c43c772
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push eax
push ecx
mov eax, dword [0x1c4bb53c]
mov ecx, dword [esp + 0x1c]
push edx
push 0
push eax
push ecx
call ebx
test eax, eax
jne 0x1c43c772
mov eax, dword [esp + 0x10]
cmp eax, 5
je 0x1c43c67c
cmp eax, 4
je 0x1c43c67c
cmp eax, 1
jne 0x1c43c772
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [edi + 0x10], eax
lea eax, [esp + 0x24]
mov ecx, dword [str.QuickCompress]
mov edx, dword [esp + 0x1c]
push eax
push 0
push ecx
push edx
call ebx
test eax, eax
jne 0x1c43c772
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1c43c6bb
cmp eax, 1
jne 0x1c43c772
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
mov dword [edi + 0x20], eax
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, dword [0x1c4bb538]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
call ebx
test eax, eax
jne 0x1c43c772
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1c43c6f8
cmp eax, 1
jne 0x1c43c772
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
mov dword [edi + 0x18], eax
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, dword [0x1c4bb51c]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
call ebx
test eax, eax
jne 0x1c43c772
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1c43c731
cmp eax, 1
jne 0x1c43c772
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, dword [0x1c4bb530]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
call ebx
test eax, eax
jne 0x1c43c772
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], ecx
jb 0x1c43c772
mov esi, 1
mov dword [edi + 0x24], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1c43c781
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret