Function at 0x423fe0
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 0x42428d
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x30
jb 0x42428d
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 0x42428d
cmp ecx, 3
ja 0x42428d
mov eax, dword [str.SoftwareATIACEAPPS]
mov edx, dword [0x478f64]
mov dword [esp + 0x80], eax
mov eax, dword [0x478f68]
mov dword [esp + 0x84], edx
mov edx, dword [0x478f6c]
mov dword [esp + 0x88], eax
mov eax, dword [0x478f70]
mov dword [esp + 0x8c], edx
mov dx, word [0x478f74]
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 0x4240e3
mov ax, word [0x46d0a4]
push ecx
mov word [edi], ax
call fcn.00423fc0
add esp, 4
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424100
lea edi, [esp + 0x80]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x424111
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 0x424275
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 0x424252
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 0x424252
push str.GetACEPrbPath___ACE_PATH_is_OK
call fcn.0040aab0
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 0x4241b7
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4241c4
mov dx, word [0x478f2c]
lea eax, [esp + 0x50]
mov word [edi], dx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4241e0
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4241f0
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.0045ee10
add esp, 8
test eax, eax
je 0x424229
mov ecx, dword [ebp + 0x10]
lea edx, [ebx + ecx - 1]
cmp eax, edx
jae 0x424229
mov cl, byte [eax + 1]
test cl, cl
je 0x424234
mov ecx, dword [ebp + 0x10]
lea edx, [ebx + ecx - 1]
cmp eax, edx
jne 0x424237
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.0040aab0
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.0040aab0
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