Function at 0x414a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x60]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0x62ddfc
push 0xfffffffffffffff7
push 0x20006
push eax
call sym.SystemInformer.exe_Ordinal_1470
mov esi, eax
test esi, esi
jns 0x414b1c
cmp esi, 0xc0000022
je 0x414a7e
cmp esi, 0xc0000005
je 0x414a7e
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x414a6c
movzx eax, si
jmp 0x414a88
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x414a8c
mov eax, esi
jmp 0x414a88
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x414a97
push esi
lfence
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x414aa5
push eax
lfence
call sym.SystemInformer.exe_Ordinal_1670
mov esi, eax
test esi, esi
je 0x414aef
lfence
lfence
push dword [esi + 4]
push 0x5d369c
push str.Unable_to_execute_the_program.
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_Ordinal_1699
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x414d7d
lfence
jmp 0x414d78
push str.Unable_to_execute_the_program.
push 0x5d369c
push 0x10
push edi
call sym.SystemInformer.exe_Ordinal_1698
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call fcn.004fa660
mov esi, eax
mov dword [esp + 0x14], 0x10000e
lea eax, [esp + 0x14]
mov dword [esp + 0x18], str.LastKey
mov ecx, dword [esi]
add ecx, 2
push ecx
push dword [esi + 4]
push 1
push 0
push eax
push dword [esp + 0x7c]
call dword [sym.imp.ntdll.dll_NtSetValueKey]
push dword [esp + 0x68]
call dword [sym.imp.ntdll.dll_NtClose]
or ebx, 0xffffffff
lea ecx, [esi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x414b72
call fcn.004fe1e0
lea eax, [esp + 0x58]
push eax
call sym.SystemInformer.exe_Ordinal_1667
mov esi, dword [esp + 0x58]
push 0
push 0
mov dword [esp + 0x20], 0
lea eax, [esi + 0x18]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call sym.SystemInformer.exe_Ordinal_1331
push esi
push dword [esp + 0x60]
mov dword [esp + 0x18], eax
push dword [eax + 4]
call fcn.00586330
mov eax, dword [esp + 0x1c]
add esp, 0xc
movups xmm0, xmmword [str._regedit.exe]
mov eax, dword [eax + 4]
movups xmmword [eax + esi], xmm0
movq xmm0, qword [0x5fbe14]
movq qword [eax + esi + 0x10], xmm0
lea eax, [esp + 0x58]
push eax
call sym.SystemInformer.exe_Ordinal_1518
mov ecx, dword ds:[esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 0x3c
test dword [eax + 4], 1
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0x800540
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 5
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
je 0x414cd7
mov dword [esp + 0x28], 0
call fcn.004f9ec0
test al, al
jne 0x414ced
cmp dword [0x62db64], 0xffffffff
jae 0x414c6f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
jmp 0x414c75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_Ordinal_1343
mov esi, eax
test esi, esi
jns 0x414d69
cmp esi, 0xc0000022
je 0x414cbe
cmp esi, 0xc0000005
je 0x414cbe
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x414cac
movzx eax, si
jmp 0x414cc8
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x414ccc
mov eax, esi
jmp 0x414cc8
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x414d0b
push esi
lfence
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x414d14
mov dword [esp + 0x28], str.runas
nop
call fcn.004f9ec0
test al, al
je 0x414c5b
mov eax, dword [esp + 0x54]
test eax, eax
je 0x414d69
push eax
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x414d69
push eax
lfence
call sym.SystemInformer.exe_Ordinal_1670
mov esi, eax
test esi, esi
je 0x414d54
lfence
lfence
push dword [esi + 4]
push 0x5d369c
push str.Unable_to_execute_the_program.
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_Ordinal_1699
mov eax, ebx
lea ecx, [esi - 8]
add esp, 0x18
lock xadd dword [ecx + 4], eax
dec eax
jne 0x414d69
lfence
call fcn.004fe1e0
jmp 0x414d69
push str.Unable_to_execute_the_program.
push 0x5d369c
push 0x10
push edi
call sym.SystemInformer.exe_Ordinal_1698
add esp, 0x10
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x414d7d
call fcn.004fe1e0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 8