Function at 0x1400d60d0
Capabilities:
Allocate or change rwx memory
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x14039f0c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor r15d, r15d
lea rcx, reloc.WS2_32.dll_accept
call fcn.14027ddb0
mov dword [rbp - 9], r15d
mov ebx, r15d
lea r9, [rbp - 9]
xor r8d, r8d
xor edx, edx
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400d617a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 9]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 9]
mov r8d, dword [rbp - 9]
mov rdx, rax
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400d6132
test eax, eax
js 0x1400d6bd2
test rbx, rbx
je 0x1400d6be8
mov r14, r15
mov edi, r15d
cmp qword [rbx], rdi
jbe 0x1400d61f6
mov rax, r15
nop dword [rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp + 0x27], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [rbx + rax*8 + 0x30]
movsd qword [rbp - 0x49], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movups xmm1, xmmword [rbp + 0x27]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x1400d61e6
cmp qword [rbp - 0x19], rsi
je 0x1400d61f1
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x1400d61a0
jmp 0x1400d61f6
movq r14, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x1400d6be8
mov qword [rbp + 0x17], r15
lea r8, [r14 + 8]
mov r9d, 8
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.1400d50d0
test al, al
je 0x1400d6aa7
mov r8, qword [rbp + 0x17]
test r8, r8
je 0x1400d6aa7
mov qword [rbp + 0x1f], r15
add r8, 8
mov r9d, 8
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call fcn.1400d50d0
test al, al
je 0x1400d6975
mov r8, qword [rbp + 0x1f]
test r8, r8
je 0x1400d6975
mov qword [rbp + 0xf], r15
add r8, 0x28
mov r9d, 8
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.1400d50d0
test al, al
je 0x1400d6850
mov r8, qword [rbp + 0xf]
test r8, r8
je 0x1400d6850
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
add r8, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 1]
mov rcx, rsi
call fcn.1400d50d0
test al, al
je 0x1400d671d
movzx eax, word [rbp - 1]
test ax, ax
je 0x1400d671d
mov ecx, eax
shr rcx, 1
inc rcx
mov eax, 2
mul rcx
mov rbx, rax
mov rax, 0xffffffffffffffff
cmovb rbx, rax
mov rcx, rbx
call fcn.14027cd9c
mov r14, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x27], r14
movzx r9d, word [rbp - 1]
mov r8, qword [rbp + 7]
mov rdx, r14
mov rcx, rsi
call fcn.1400d50d0
test al, al
jne 0x1400d6431
mov cl, reloc.WS2_32.dll_select
mov word [rbp - 0x69], reloc.WS2_32.dll_select
movsx ebx, cl
movzx eax, bx
xor ax, 0x49
mov word [rbp - 0x67], ax
movzx eax, bx
xor ax, 0x33
mov word [rbp - 0x65], ax
movzx eax, bx
xor ax, 0x4f
mov word [rbp - 0x63], ax
movzx r11d, bx
xor r11w, 0x32
mov word [rbp - 0x61], r11w
movzx eax, bx
xor ax, 0x54
mov word [rbp - 0x5f], ax
movzx r10d, bx
xor r10w, 0x73
mov word [rbp - 0x5d], r10w
movzx r8d, bx
xor r8w, 0x7b
mov word [rbp - 0x5b], r8w
movzx eax, bx
xor ax, 0x7e
mov word [rbp - 0x59], ax
movzx r9d, bx
xor r9w, 0x77
mov word [rbp - 0x57], r9w
movzx edx, bx
xor dx, 0x76
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r11w
movzx eax, bx
xor ax, 0x66
mov word [rbp - 0x51], ax
movzx eax, bx
xor ax, 0x7d
mov word [rbp - 0x4f], ax
mov word [rbp - 0x4d], r11w
movzx ecx, bx
xor cx, 0x60
mov word [rbp - 0x4b], cx
mov word [rbp - 0x49], r9w
mov word [rbp - 0x47], r10w
mov word [rbp - 0x45], dx
mov word [rbp - 0x43], r11w
mov word [rbp - 0x41], dx
mov word [rbp - 0x3f], cx
mov word [rbp - 0x3d], r8w
movzx eax, bx
xor ax, 0x64
mov word [rbp - 0x3b], ax
mov word [rbp - 0x39], r9w
mov word [rbp - 0x37], cx
mov word [rbp - 0x35], r11w
movzx eax, bx
xor ax, 0x7c
mov word [rbp - 0x33], ax
mov word [rbp - 0x31], r10w
xor bx, 0x7f
mov word [rbp - 0x2d], r9w
mov word [rbp - 0x2b], r15w
jmp 0x1400d6593
mov word [rbp - 1], r15w
mov rdx, qword [rbp + 0xf]
add rdx, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 1]
mov rcx, rsi
call fcn.1400d50d0
test al, al
jne 0x1400d65be
mov cl, 9
mov word [rbp - 0x69], 9
movsx esi, cl
movzx eax, si
xor ax, 0x52
mov word [rbp - 0x67], ax
movzx eax, si
xor ax, 0x28
mov word [rbp - 0x65], ax
movzx eax, si
xor ax, 0x54
mov word [rbp - 0x63], ax
movzx edi, si
xor di, 0x29
mov word [rbp - 0x61], di
movzx eax, si
xor ax, 0x4f
mov word [rbp - 0x5f], ax
movzx ebx, si
xor bx, 0x68
mov word [rbp - 0x5d], bx
movzx r8d, si
xor r8w, 0x60
mov word [rbp - 0x5b], r8w
movzx r11d, si
xor r11w, 0x65
mov word [rbp - 0x59], r11w
movzx r10d, si
xor r10w, 0x6c
mov word [rbp - 0x57], r10w
movzx edx, si
xor dx, 0x6d
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], di
movzx r9d, si
xor r9w, 0x7d
mov word [rbp - 0x51], r9w
movzx eax, si
xor ax, 0x66
mov word [rbp - 0x4f], ax
mov word [rbp - 0x4d], di
movzx eax, si
xor ax, 0x7e
mov word [rbp - 0x4b], ax
movzx ecx, si
xor cx, 0x7b
mov word [rbp - 0x49], cx
mov word [rbp - 0x47], r8w
mov word [rbp - 0x45], r9w
mov word [rbp - 0x43], r10w
mov word [rbp - 0x41], di
mov word [rbp - 0x3f], dx
mov word [rbp - 0x3d], cx
mov word [rbp - 0x3b], r8w
movzx eax, si
xor ax, 0x7f
mov word [rbp - 0x39], ax
mov word [rbp - 0x37], r10w
mov word [rbp - 0x35], cx
mov word [rbp - 0x33], di
movzx edx, si
xor dx, 0x67
mov word [rbp - 0x31], dx
movzx eax, si
xor ax, 0x64
mov word [rbp - 0x2d], ax
mov word [rbp - 0x2b], r10w
mov word [rbp - 0x29], di
mov word [rbp - 0x27], r11w
mov word [rbp - 0x25], r10w
mov word [rbp - 0x23], dx
movzx eax, si
xor ax, 0x6e
mov word [rbp - 0x21], ax
mov word [rbp - 0x1f], r9w
xor si, 0x61
mov word [rbp - 0x1d], si
mov word [rbp - 0x1b], r15w
mov word [rbp - 0x2f], bx
lea rdx, [rbp - 0x67]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400dcb30
lea rdx, [0x1400dcd20]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor bl, bl
jmp 0x1400d670d
mov cl, 0x6d
mov word [rbp - 0x69], WSAGetLastError
movsx edi, cl
movzx eax, di
xor ax, 0x36
mov word [rbp - 0x67], ax
movzx eax, di
xor ax, 0x46
mov word [rbp - 0x65], ax
movzx eax, di
xor ax, 0x30
mov word [rbp - 0x63], ax
movzx ebx, di
xor bx, 0x4d
mov word [rbp - 0x61], bx
movzx eax, di
xor ax, 0x20
mov word [rbp - 0x5f], ax
mov word [rbp - 0x5d], di
movzx eax, di
xor ax, 0x38
mov word [rbp - 0x5b], ax
movzx r11d, di
xor r11w, 3
mov word [rbp - 0x59], r11w
movzx r10d, di
xor r10w, 1
mov word [rbp - 0x57], r10w
movzx eax, di
xor ax, 2
mov word [rbp - 0x55], ax
movzx r9d, di
xor r9w, 0xc
mov word [rbp - 0x53], r9w
movzx r8d, di
xor r8w, 9
mov word [rbp - 0x51], r8w
movzx edx, di
xor dx, 8
mov word [rbp - 0x4f], dx
mov word [rbp - 0x4d], r8w
movzx eax, di
xor ax, 0x29
mov word [rbp - 0x4b], ax
movzx ecx, di
xor cx, 0x1f
mov word [rbp - 0x49], cx
movzx eax, di
xor ax, 4
mov word [rbp - 0x47], ax
movzx eax, di
xor ax, 0x1b
mov word [rbp - 0x45], ax
mov word [rbp - 0x43], dx
mov word [rbp - 0x41], cx
movzx eax, di
xor ax, 0x1e
mov word [rbp - 0x3f], ax
mov word [rbp - 0x3d], bx
movzx eax, di
xor ax, 0x2e
mov word [rbp - 0x3b], ax
mov word [rbp - 0x39], r10w
mov word [rbp - 0x37], dx
mov word [rbp - 0x35], r9w
mov word [rbp - 0x33], r11w
mov word [rbp - 0x31], dx
mov word [rbp - 0x2f], r8w
xor di, 0x57
mov word [rbp - 0x2d], di
mov word [rbp - 0x2b], bx
mov word [rbp - 0x29], r15w
lea rdx, [rbp - 0x67]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400dcb30
mov rbx, rax
mov rdx, r14
mov rcx, rax
call fcn.1400dcb30
lea rdx, [0x1400dcd20]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov bl, 1
mov rcx, r14
call fcn.14027c920
movzx eax, bl
jmp 0x1400d6bea
mov cl, reloc.WS2_32.dll_WSASetLastError
mov word [rbp - 0x69], reloc.WS2_32.dll_WSASetLastError
movsx edi, cl
movzx eax, di
xor ax, 0x2b
mov word [rbp - 0x67], ax
movzx eax, di
xor ax, 0x51
mov word [rbp - 0x65], ax
movzx eax, di
xor ax, 0x2d
mov word [rbp - 0x63], ax
movzx ebx, di
xor bx, 0x50
mov word [rbp - 0x61], bx
movzx eax, di
xor ax, 0x36
mov word [rbp - 0x5f], ax
movzx r11d, di
xor r11w, 0x11
mov word [rbp - 0x5d], r11w
movzx r9d, di
xor r9w, 0x19
mov word [rbp - 0x5b], r9w
movzx eax, di
xor ax, 0x1c
mov word [rbp - 0x59], ax
movzx r10d, di
xor r10w, 0x15
mov word [rbp - 0x57], r10w
movzx ecx, di
xor cx, 0x14
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], bx
movzx eax, di
xor ax, 4
mov word [rbp - 0x51], ax
movzx eax, di
xor ax, 0x1f
mov word [rbp - 0x4f], ax
mov word [rbp - 0x4d], bx
movzx eax, di
xor ax, 0x16
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], r9w
movzx r8d, di
xor r8w, 0x1e
mov word [rbp - 0x47], r8w
mov word [rbp - 0x45], cx
mov word [rbp - 0x43], bx
mov word [rbp - 0x41], cx
movzx edx, di
xor dx, 2
mov word [rbp - 0x3f], dx
mov word [rbp - 0x3d], r9w
movzx eax, di
xor ax, 6
mov word [rbp - 0x3b], ax
mov word [rbp - 0x37], dx
mov word [rbp - 0x35], bx
mov word [rbp - 0x33], r8w
mov word [rbp - 0x31], r11w
xor di, 0x1d
mov word [rbp - 0x2d], r10w
mov word [rbp - 0x2b], r15w
mov word [rbp - 0x2f], di
mov word [rbp - 0x39], r10w
lea rdx, [rbp - 0x67]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400dcb30
lea rdx, [0x1400dcd20]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x1400d6be8
mov cl, reloc.WLDAP32.dll_Ordinal_27
mov word [rbp - 0x69], reloc.WLDAP32.dll_Ordinal_27
movsx edi, cl
movzx eax, di
xor ax, 0x40
mov word [rbp - 0x67], ax
movzx eax, di
xor ax, 0x3a
mov word [rbp - 0x65], ax
movzx eax, di
xor ax, 0x46
mov word [rbp - 0x63], ax
movzx r11d, di
xor r11w, 0x3b
mov word [rbp - 0x61], r11w
movzx eax, di
xor ax, 0x5d
mov word [rbp - 0x5f], ax
movzx eax, di
xor ax, 0x7a
mov word [rbp - 0x5d], ax
movzx ebx, di
xor bx, 0x72
mov word [rbp - 0x5b], bx
movzx eax, di
xor ax, 0x77
mov word [rbp - 0x59], ax
movzx r10d, di
xor r10w, 0x7e
mov word [rbp - 0x57], r10w
movzx ecx, di
xor cx, 0x7f
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], r11w
movzx r9d, di
xor r9w, 0x6f
mov word [rbp - 0x51], r9w
movzx r8d, di
xor r8w, 0x74
mov word [rbp - 0x4f], r8w
mov word [rbp - 0x4d], r11w
movzx eax, di
xor ax, 0x7d
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], bx
movzx edx, di
xor dx, 0x75
mov word [rbp - 0x47], dx
mov word [rbp - 0x45], cx
mov word [rbp - 0x43], r11w
mov word [rbp - 0x41], cx
movzx ecx, di
xor cx, 0x69
mov word [rbp - 0x3f], cx
mov word [rbp - 0x3d], bx
movzx eax, di
xor ax, 0x6d
mov word [rbp - 0x3b], ax
mov word [rbp - 0x37], cx
movzx eax, di
xor ax, 0x44
mov word [rbp - 0x35], ax
movzx eax, di
xor ax, 0x68
mov word [rbp - 0x33], ax
mov word [rbp - 0x31], r10w
xor di, 0x78
mov word [rbp - 0x2d], r9w
mov word [rbp - 0x2b], bx
mov word [rbp - 0x29], r8w
mov word [rbp - 0x27], dx
mov word [rbp - 0x25], r15w
jmp 0x1400d6822
mov cl, 0x57
mov word [rbp - 0x69], 0x57
movsx ebx, cl
movzx eax, bx
xor ax, 0xc
mov word [rbp - 0x67], ax
movzx eax, bx
xor ax, 0x76
mov word [rbp - 0x65], ax
movzx eax, bx
xor ax, 0xa
mov word [rbp - 0x63], ax
movzx r10d, bx
xor r10w, 0x77
mov word [rbp - 0x61], r10w
movzx eax, bx
xor ax, 0x11
mov word [rbp - 0x5f], ax
movzx eax, bx
xor ax, 0x36
mov word [rbp - 0x5d], ax
movzx r8d, bx
xor r8w, 0x3e
mov word [rbp - 0x5b], r8w
movzx eax, bx
xor ax, 0x3b
mov word [rbp - 0x59], ax
movzx r11d, bx
xor r11w, 0x32
mov word [rbp - 0x57], r11w
movzx ecx, bx
xor cx, 0x33
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], r10w
movzx r9d, bx
xor r9w, 0x23
mov word [rbp - 0x51], r9w
movzx edx, bx
xor dx, 0x38
mov word [rbp - 0x4f], dx
mov word [rbp - 0x4d], r10w
movzx eax, bx
xor ax, 0x31
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], r8w
movzx eax, bx
xor ax, 0x39
mov word [rbp - 0x47], ax
mov word [rbp - 0x45], cx
mov word [rbp - 0x43], r10w
mov word [rbp - 0x41], cx
movzx ecx, bx
xor cx, 0x25
mov word [rbp - 0x3f], cx
mov word [rbp - 0x3d], r8w
movzx eax, bx
xor ax, 0x21
mov word [rbp - 0x3b], ax
mov word [rbp - 0x39], r11w
mov word [rbp - 0x37], cx
movzx eax, bx
xor ax, 8
mov word [rbp - 0x35], ax
mov word [rbp - 0x33], dx
movzx eax, bx
xor ax, 0x35
mov word [rbp - 0x31], ax
movzx eax, bx
xor ax, 0x3d
mov word [rbp - 0x2f], ax
mov word [rbp - 0x2d], r11w
xor bx, 0x34
mov word [rbp - 0x2b], bx
mov word [rbp - 0x29], r9w
mov word [rbp - 0x27], r15w
jmp 0x1400d682b
mov cl, 0x45
mov word [rbp - 0x69], 0x45
movsx ebx, cl
movzx eax, bx
xor ax, 0x1e
mov word [rbp - 0x67], ax
movzx eax, bx
xor ax, 0x64
mov word [rbp - 0x65], ax
movzx eax, bx
xor ax, 0x18
mov word [rbp - 0x63], ax
movzx r10d, bx
xor r10w, 0x65
mov word [rbp - 0x61], r10w
movzx eax, bx
xor ax, 3
mov word [rbp - 0x5f], ax
movzx eax, bx
xor ax, 0x24
mov word [rbp - 0x5d], ax
movzx edx, bx
xor dx, 0x2c
mov word [rbp - 0x5b], dx
movzx eax, bx
xor ax, 0x29
mov word [rbp - 0x59], ax
movzx r11d, bx
xor r11w, 0x20
mov word [rbp - 0x57], r11w
movzx ecx, bx
xor cx, 0x21
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], r10w
movzx r9d, bx
xor r9w, 0x31
mov word [rbp - 0x51], r9w
movzx r8d, bx
xor r8w, 0x2a
mov word [rbp - 0x4f], r8w
mov word [rbp - 0x4d], r10w
movzx eax, bx
xor ax, 0x23
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], dx
movzx eax, bx
xor ax, 0x2b
mov word [rbp - 0x47], ax
mov word [rbp - 0x45], cx
mov word [rbp - 0x43], r10w
mov word [rbp - 0x41], cx
mov word [rbp - 0x3f], r11w
movzx eax, bx
xor ax, 0x33
mov word [rbp - 0x3d], ax
mov word [rbp - 0x3b], dx
movzx edx, bx
xor dx, 0x26
mov word [rbp - 0x39], dx
mov word [rbp - 0x37], r11w
movzx eax, bx
xor ax, 0x1a
mov word [rbp - 0x35], ax
mov word [rbp - 0x33], r8w
movzx eax, bx
xor ax, 0x27
mov word [rbp - 0x31], ax
xor bx, 0x2f
mov word [rbp - 0x2f], bx
mov word [rbp - 0x2d], r11w
mov word [rbp - 0x2b], dx
mov word [rbp - 0x29], r9w
mov word [rbp - 0x27], r15w
jmp 0x1400d682b
test rbx, rbx
je 0x1400d6be8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14027c900
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret