Function at 0x428d40
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor eax, eax
mov ecx, 0x40
lea edi, [ebp - 0x17f]
rep stosd dword es:[edi], eax
mov ecx, dword [str.HVBJ]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [str.SoftwareAMDInstall]
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x180], ecx
mov ecx, dword [0x4830f8]
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov dword [ebp - 0x178], ecx
mov ecx, dword [0x483100]
xor edx, edx
mov byte [ebp - 0x3d], al
mov al, byte [0x48310c]
mov dword [ebp - 0x170], ecx
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 0x38], al
mov eax, dword [0x4830f4]
push 0xf003f
push edx
mov dword [ebp - 0x17c], eax
mov eax, dword [0x4830fc]
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x5c], dl
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x180]
mov dword [ebp - 0x174], eax
mov al, byte [0x483104]
push edx
mov esi, 1
push SysReAllocString
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x1c], SysReAllocString
mov byte [ebp - 0x16c], al
call ebx
test eax, eax
jne 0x428e8e
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0
push str.Command_Line_option_for_DAL
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x428e79
push str.GetCommandLineOption__:_Bootup_registry_key_deleted_n
mov dword [ebp - 0x20], esi
call fcn.0040acd0
mov ecx, dword [ebp - 0x14]
add esp, 4
push str.Command_Line_option_for_DAL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x428fe8
push 0x104
mov dword [ebp - 4], 0
call fcn.00460f8e
mov edx, eax
add esp, 4
mov dword [ebp - 0x24], edx
jmp 0x428ec4
test edx, edx
mov dword [ebp - 4], 0xffffffff
je 0x429026
xor eax, eax
mov edi, edx
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
push edx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], eax
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x64], eax
push edx
mov dword [ebp - 0x60], eax
call fcn.004285e0
add esp, 0xc
test eax, eax
je 0x429014
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x428f1f
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], eax
push str.GetCommandLineOption____Access_Registry_n
xor edi, edi
call fcn.0040acd0
mov eax, dword [ebp - 0x1c]
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push edi
lea edx, [ebp - 0x180]
push edx
push eax
call ebx
mov esi, eax
test esi, esi
je 0x428f8d
push str.GetCommandLineOption____impersonating_current_user_n
call fcn.0040acd0
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x428f89
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push eax
lea eax, [ebp - 0x180]
push eax
push ecx
mov edi, 1
call ebx
mov esi, eax
test esi, esi
jne 0x428fce
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push str.Command_Line_option_for_DAL
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x428fc4
mov eax, dword [ebp - 0x14]
push str.Command_Line_option_for_DAL
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x428fdc
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x429033
mov esi, 1
mov dword [ebp - 0x18], esi
xor edi, edi
lea ecx, [ecx]
movsx esi, byte [ebp + edi - 0x3c]
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00461a50
xor ebx, ebx
add esp, 8
cmp eax, ebx
jne 0x429097
mov dword [ebp - 0x18], ebx
jmp case.0x4290ba.67
push str.GetCommandLineOption____ImpersonateTheUser_failed_n
call fcn.0040acd0
add esp, 4
jmp 0x428f1f
push str.GetCommandLineOption____new_char__MAX_PATH__failed_n
call fcn.0040acd0
add esp, 4
push str.failed_to_get_boot_up_option_n
call fcn.0040acd0
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x429073
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x42905e
push str.__Failed_to_revert_
call fcn.0040acd0
add esp, 4
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x28]
push edx
push esi
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x429083
push eax
call fcn.00460851
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
inc eax
push ebx
push eax
call fcn.00461e2f
add esp, 0xc
cmp eax, ebx
jne 0x4290ab
mov dword [ebp - 0x18], ebx
lea ecx, [esi - 0x42]
cmp ecx, 0x14
ja case.0x4290ba.67
movzx ecx, byte [ecx + 0x429104]
jmp dword [ecx*4 + 0x4290f0]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
jmp case.0x4290ba.67
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp case.0x4290ba.67
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
jmp case.0x4290ba.67
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
inc edi
cmp edi, 4
jl 0x428ff0
jmp 0x429040