Function at 0x4243f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
xor eax, eax
push ebx
push esi
push edi
mov byte [esp + 0x80], 0
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov byte [esp + 0x50], 0
mov ecx, 0xb
lea edi, [esp + 0x51]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
test ebx, ebx
mov byte [esp + 0x20], 0
mov ecx, 0xb
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x14], 0
stosb byte es:[edi], al
mov byte [esp + 0x13], 0
je 0x42469d
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x30
jb 0x42469d
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x42469d
cmp ecx, 3
ja 0x42469d
mov eax, dword [str.SoftwareATIACEAPPS]
mov edx, dword [0x47924c]
mov dword [esp + 0x80], eax
mov eax, dword [0x479250]
mov dword [esp + 0x84], edx
mov edx, dword [0x479254]
mov dword [esp + 0x88], eax
mov eax, dword [0x479258]
mov dword [esp + 0x8c], edx
mov dx, word [0x47925c]
lea edi, [esp + 0x80]
mov dword [esp + 0x90], eax
mov word [esp + 0x94], dx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4244f3
mov ax, word [0x46cedc]
push ecx
mov word [edi], ax
call fcn.004243d0
add esp, 4
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424510
lea edi, [esp + 0x80]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x424521
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x8c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424685
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push str.COMMAND
push eax
call esi
test eax, eax
jne 0x424662
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.FILE
push ecx
call esi
test eax, eax
jne 0x424662
push str.GetACEPrbPath___ACE_PATH_is_OK
call fcn.0040a4a0
lea eax, [esp + 0x24]
mov edx, ebx
mov ecx, eax
add esp, 4
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4245c7
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4245d4
mov dx, word [0x479214]
lea eax, [esp + 0x50]
mov word [edi], dx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4245f0
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x424600
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x5c
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.0045f8f0
add esp, 8
test eax, eax
je 0x424639
mov ecx, dword [ebp + 0x10]
lea edx, [ebx + ecx - 1]
cmp eax, edx
jae 0x424639
mov cl, byte [eax + 1]
test cl, cl
je 0x424644
mov ecx, dword [ebp + 0x10]
lea edx, [ebx + ecx - 1]
cmp eax, edx
jne 0x424647
mov byte [eax], 0
mov eax, dword [esp + 0x14]
push eax
mov byte [esp + 0x17], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.bGetCCCPrbPath___no_command_or_File_entry_n
call fcn.0040a4a0
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.bGetCCCPrbPath___Get_CCC_registry_key_failed_n
call fcn.0040a4a0
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret