Function at 0x412a8a
Capabilities:
Delete registry value
Get common file path
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
mov eax, 0x433270
call fcn.004269c8
sub esp, 0x334
mov eax, dword [0x44de90]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], esp
push 0x44ecc8
push 0xf003f
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov esi, 0x104
push 0x80000002
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x321], bl
mov dword [ebp - 0x328], esi
call edi
test eax, eax
je 0x412af9
mov dword [ebp - 0x33c], str.Open_SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon_failed
push 0x44402c
lea eax, [ebp - 0x33c]
jmp 0x412cc5
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
push str.System
push dword [0x44ecc8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x412b38
mov dword [ebp - 0x330], str.Open__System__failed
push 0x44402c
lea eax, [ebp - 0x330]
jmp 0x412cc5
push 0x44ecc4
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000001
call edi
test eax, eax
je 0x412b6d
mov dword [ebp - 0x338], str.Open_SoftwareMicrosoftWindowsCurrentVersion_failed
push 0x44402c
lea eax, [ebp - 0x338]
jmp 0x412cc5
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x320]
push eax
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
push dword [0x44ecc4]
mov dword [ebp - 0x328], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x412bb7
push dword [0x44ecc8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [0x44ecc4]
call esi
mov al, bl
jmp 0x412d65
push esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x118]
push eax
push str._s_s
push eax
call fcn.00424fde
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x412c57
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Trojan.Win32.Agent.Ardw
lea eax, [ebp - 0x118]
push eax
push str._s_tinfected_t_s_n
call fcn.00419ab0
lea eax, [ebp - 0x118]
add esp, 0xc
push eax
call fcn.0041b113
pop ecx
lea eax, [ebp - 0x118]
push eax
push str._s_twill_be_disinfected_after_reboot_n
call fcn.00419ab0
pop ecx
pop ecx
call fcn.00426376
test eax, eax
je 0x412cea
call fcn.004262b5
jmp 0x412c43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x412c0a
push 1
lea eax, [ebp - 0x321]
push eax
push ebx
push ebx
push str.System
push dword [0x44ecc8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x412c99
mov dword [ebp - 0x32c], str.Cant_restore_winlogon_system_registry_key
push 0x44402c
lea eax, [ebp - 0x32c]
jmp 0x412cc5
lea eax, [ebp - 0x21c]
push eax
push dword [0x44ecc4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x412ccb
mov dword [ebp - 0x334], str.Cant_delete_virus_registry_key
push 0x44402c
lea eax, [ebp - 0x334]
push eax
call fcn.00426ddb
call fcn.0041832f
lea eax, [ebp - 0x118]
push eax
push str._s_tdisinfected_n
call fcn.00419ab0
pop ecx
pop ecx
mov bl, 1
jmp 0x412b9a
push str._nTo_finalize_removal_of_infection_and_avoid_loosing_of_data_program_will_reboot_your_PC_now._nClose_all_programs_and_choose_Y_to_restart_or_N_to_continue._n.
call fcn.00425036
mov dword [esp], 0x44dc28
call fcn.00426157
pop ecx
call fcn.004262b5
mov esi, eax
xor eax, eax
cmp esi, 0x79
sete al
xor ecx, ecx
cmp esi, 0x59
sete cl
or eax, ecx
je 0x412d21
call fcn.0042095f
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00425221
pop edi
pop esi
pop ebx
leave
ret