Function at 0x1400f2ac0
Capabilities:
Allocate or change rwx memory
Authenticate hmac
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 [0x14041d0c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor r15d, r15d
lea rcx, [0x1404b98c7]
call fcn.1402b13b0
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 0x1400f2b6a
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 0x1400f2b22
test eax, eax
js 0x1400f35b1
test rbx, rbx
je 0x1400f35c7
mov r14, r15
mov edi, r15d
cmp qword [rbx], rdi
jbe 0x1400f2be6
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 0x1400f2bd6
cmp qword [rbp - 0x19], rsi
je 0x1400f2be1
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x1400f2b90
jmp 0x1400f2be6
movq r14, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
test r14, r14
je 0x1400f35c7
mov qword [rbp + 0x17], r15
lea r8, [r14 + 8]
mov r9d, 8
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.1400f1ac0
test al, al
je 0x1400f348d
mov r8, qword [rbp + 0x17]
test r8, r8
je 0x1400f348d
mov qword [rbp + 0x1f], r15
add r8, 8
mov r9d, 8
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call fcn.1400f1ac0
test al, al
je 0x1400f335b
mov r8, qword [rbp + 0x1f]
test r8, r8
je 0x1400f335b
mov qword [rbp + 0xf], r15
add r8, 0x28
mov r9d, 8
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.1400f1ac0
test al, al
je 0x1400f3239
mov r8, qword [rbp + 0xf]
test r8, r8
je 0x1400f3239
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.1400f1ac0
test al, al
je 0x1400f3106
movzx eax, word [rbp - 1]
test ax, ax
je 0x1400f3106
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.1402b039c
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.1400f1ac0
test al, al
jne 0x1400f2e1a
mov cl, WSAGetLastError
mov word [rbp - 0x69], WSAStartup
movsx ebx, cl
movzx eax, bx
xor ax, 0x35
mov word [rbp - 0x67], ax
movzx eax, bx
xor ax, 0x4f
mov word [rbp - 0x65], ax
movzx eax, bx
xor ax, 0x33
mov word [rbp - 0x63], ax
movzx r11d, bx
xor r11w, 0x4e
mov word [rbp - 0x61], r11w
movzx eax, bx
xor ax, 0x28
mov word [rbp - 0x5f], ax
movzx r10d, bx
xor r10w, 0xf
mov word [rbp - 0x5d], r10w
movzx r8d, bx
xor r8w, 7
mov word [rbp - 0x5b], r8w
movzx eax, bx
xor ax, 2
mov word [rbp - 0x59], ax
movzx r9d, bx
xor r9w, 0xb
mov word [rbp - 0x57], r9w
movzx edx, bx
xor dx, 0xa
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r11w
movzx eax, bx
xor ax, 0x1a
mov word [rbp - 0x51], ax
movzx eax, bx
xor ax, 1
mov word [rbp - 0x4f], ax
mov word [rbp - 0x4d], r11w
movzx ecx, bx
xor cx, 0x1c
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, 0x18
mov word [rbp - 0x3b], ax
mov word [rbp - 0x39], r9w
mov word [rbp - 0x37], cx
mov word [rbp - 0x35], r11w
mov word [rbp - 0x33], bx
mov word [rbp - 0x31], r10w
xor bx, 3
mov word [rbp - 0x2d], r9w
mov word [rbp - 0x2b], r15w
jmp 0x1400f2f7c
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.1400f1ac0
test al, al
jne 0x1400f2fa7
mov cl, 0x33
mov word [rbp - 0x69], 0x33
movsx esi, cl
movzx eax, si
xor ax, 0x68
mov word [rbp - 0x67], ax
movzx eax, si
xor ax, 0x12
mov word [rbp - 0x65], ax
movzx eax, si
xor ax, 0x6e
mov word [rbp - 0x63], ax
movzx edi, si
xor di, 0x13
mov word [rbp - 0x61], di
movzx eax, si
xor ax, 0x75
mov word [rbp - 0x5f], ax
movzx ebx, si
xor bx, 0x52
mov word [rbp - 0x5d], bx
movzx r8d, si
xor r8w, 0x5a
mov word [rbp - 0x5b], r8w
movzx r11d, si
xor r11w, 0x5f
mov word [rbp - 0x59], r11w
movzx r10d, si
xor r10w, 0x56
mov word [rbp - 0x57], r10w
movzx edx, si
xor dx, 0x57
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], di
movzx r9d, si
xor r9w, 0x47
mov word [rbp - 0x51], r9w
movzx eax, si
xor ax, 0x5c
mov word [rbp - 0x4f], ax
mov word [rbp - 0x4d], di
movzx eax, si
xor ax, 0x44
mov word [rbp - 0x4b], ax
movzx ecx, si
xor cx, 0x41
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, 0x45
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, 0x5d
mov word [rbp - 0x31], dx
movzx eax, si
xor ax, 0x5e
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, 0x54
mov word [rbp - 0x21], ax
mov word [rbp - 0x1f], r9w
xor si, 0x5b
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.1400f9480
lea rdx, [0x1400f9670]
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 0x1400f30f6
mov cl, WSAStartup
mov word [rbp - 0x69], WSAStartup
movsx edi, cl
movzx eax, di
xor ax, 0x29
mov word [rbp - 0x67], ax
movzx eax, di
xor ax, 0x59
mov word [rbp - 0x65], ax
movzx eax, di
xor ax, 0x2f
mov word [rbp - 0x63], ax
movzx ebx, di
xor bx, 0x52
mov word [rbp - 0x61], bx
movzx eax, di
xor ax, 0x3f
mov word [rbp - 0x5f], ax
movzx eax, di
xor ax, 0x1f
mov word [rbp - 0x5d], ax
movzx eax, di
xor ax, 0x27
mov word [rbp - 0x5b], ax
movzx r11d, di
xor r11w, 0x1c
mov word [rbp - 0x59], r11w
movzx r10d, di
xor r10w, 0x1e
mov word [rbp - 0x57], r10w
movzx eax, di
xor ax, 0x1d
mov word [rbp - 0x55], ax
movzx r9d, di
xor r9w, 0x13
mov word [rbp - 0x53], r9w
movzx r8d, di
xor r8w, 0x16
mov word [rbp - 0x51], r8w
movzx edx, di
xor dx, 0x17
mov word [rbp - 0x4f], dx
mov word [rbp - 0x4d], r8w
movzx eax, di
xor ax, 0x36
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], di
movzx eax, di
xor ax, 0x1b
mov word [rbp - 0x47], ax
movzx eax, di
xor ax, 4
mov word [rbp - 0x45], ax
mov word [rbp - 0x43], dx
mov word [rbp - 0x41], di
movzx eax, di
xor ax, 1
mov word [rbp - 0x3f], ax
mov word [rbp - 0x3d], bx
movzx eax, di
xor ax, 0x31
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, 0x48
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.1400f9480
mov rbx, rax
mov rdx, r14
mov rcx, rax
call fcn.1400f9480
lea rdx, [0x1400f9670]
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.1402aff20
movzx eax, bl
jmp 0x1400f35c9
mov cl, 0x58
mov word [rbp - 0x69], 0x58
movsx edi, cl
movzx eax, di
xor ax, 3
mov word [rbp - 0x67], ax
movzx eax, di
xor ax, 0x79
mov word [rbp - 0x65], ax
movzx eax, di
xor ax, 5
mov word [rbp - 0x63], ax
movzx ebx, di
xor bx, 0x78
mov word [rbp - 0x61], bx
movzx eax, di
xor ax, 0x1e
mov word [rbp - 0x5f], ax
movzx r11d, di
xor r11w, 0x39
mov word [rbp - 0x5d], r11w
movzx r9d, di
xor r9w, 0x31
mov word [rbp - 0x5b], r9w
movzx eax, di
xor ax, 0x34
mov word [rbp - 0x59], ax
movzx r10d, di
xor r10w, 0x3d
mov word [rbp - 0x57], r10w
movzx ecx, di
xor cx, 0x3c
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], bx
movzx eax, di
xor ax, 0x2c
mov word [rbp - 0x51], ax
movzx eax, di
xor ax, 0x37
mov word [rbp - 0x4f], ax
mov word [rbp - 0x4d], bx
movzx eax, di
xor ax, 0x3e
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], r9w
movzx r8d, di
xor r8w, 0x36
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, 0x2a
mov word [rbp - 0x3f], dx
mov word [rbp - 0x3d], r9w
movzx eax, di
xor ax, 0x2e
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, 0x35
mov word [rbp - 0x2f], di
mov word [rbp - 0x2d], r10w
mov word [rbp - 0x2b], r15w
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.1400f9480
lea rdx, [0x1400f9670]
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 0x1400f35c7
mov cl, reloc.WLDAP32.dll_Ordinal_32
mov word [rbp - 0x69], reloc.WLDAP32.dll_Ordinal_32
movsx ebx, cl
movzx eax, bx
xor ax, 0x7b
mov word [rbp - 0x67], ax
movzx eax, bx
xor ax, 1
mov word [rbp - 0x65], ax
movzx eax, bx
xor ax, 0x7d
mov word [rbp - 0x63], ax
mov word [rbp - 0x61], bx
movzx eax, bx
xor ax, 0x66
mov word [rbp - 0x5f], ax
movzx eax, bx
xor ax, 0x41
mov word [rbp - 0x5d], ax
movzx r11d, bx
xor r11w, 0x49
mov word [rbp - 0x5b], r11w
movzx eax, bx
xor ax, 0x4c
mov word [rbp - 0x59], ax
movzx r10d, bx
xor r10w, 0x45
mov word [rbp - 0x57], r10w
movzx ecx, bx
xor cx, 0x44
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], bx
movzx r9d, bx
xor r9w, 0x54
mov word [rbp - 0x51], r9w
movzx r8d, bx
xor r8w, 0x4f
mov word [rbp - 0x4f], r8w
mov word [rbp - 0x4d], bx
movzx eax, bx
xor ax, 0x46
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], r11w
movzx edx, bx
xor dx, 0x4e
mov word [rbp - 0x47], dx
mov word [rbp - 0x45], cx
mov word [rbp - 0x43], bx
mov word [rbp - 0x41], cx
movzx ecx, bx
xor cx, 0x52
mov word [rbp - 0x3f], cx
mov word [rbp - 0x3d], r11w
movzx eax, bx
xor ax, 0x56
mov word [rbp - 0x3b], ax
mov word [rbp - 0x37], cx
movzx eax, bx
xor ax, 0x7f
mov word [rbp - 0x35], ax
movzx eax, bx
xor ax, 0x53
mov word [rbp - 0x33], ax
mov word [rbp - 0x31], r10w
xor bx, 0x43
mov word [rbp - 0x2f], bx
mov word [rbp - 0x2d], r9w
mov word [rbp - 0x2b], r11w
mov word [rbp - 0x29], r8w
mov word [rbp - 0x27], dx
mov word [rbp - 0x25], r15w
jmp 0x1400f320f
mov cl, 0x3d
mov word [rbp - 0x69], 0x3d
movsx ebx, cl
movzx eax, bx
xor ax, 0x66
mov word [rbp - 0x67], ax
movzx eax, bx
xor ax, 0x1c
mov word [rbp - 0x65], ax
movzx eax, bx
xor ax, 0x60
mov word [rbp - 0x63], ax
movzx r10d, bx
xor r10w, 0x1d
mov word [rbp - 0x61], r10w
movzx eax, bx
xor ax, 0x7b
mov word [rbp - 0x5f], ax
movzx eax, bx
xor ax, 0x5c
mov word [rbp - 0x5d], ax
movzx r8d, bx
xor r8w, 0x54
mov word [rbp - 0x5b], r8w
movzx eax, bx
xor ax, 0x51
mov word [rbp - 0x59], ax
movzx r11d, bx
xor r11w, 0x58
mov word [rbp - 0x57], r11w
movzx ecx, bx
xor cx, 0x59
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], r10w
movzx r9d, bx
xor r9w, 0x49
mov word [rbp - 0x51], r9w
movzx edx, bx
xor dx, 0x52
mov word [rbp - 0x4f], dx
mov word [rbp - 0x4d], r10w
movzx eax, bx
xor ax, 0x5b
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], r8w
movzx eax, bx
xor ax, 0x53
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, 0x4f
mov word [rbp - 0x3f], cx
mov word [rbp - 0x3d], r8w
movzx eax, bx
xor ax, 0x4b
mov word [rbp - 0x3b], ax
mov word [rbp - 0x39], r11w
mov word [rbp - 0x37], cx
movzx eax, bx
xor ax, 0x62
mov word [rbp - 0x35], ax
mov word [rbp - 0x33], dx
movzx eax, bx
xor ax, 0x5f
mov word [rbp - 0x31], ax
movzx eax, bx
xor ax, 0x57
mov word [rbp - 0x2f], ax
mov word [rbp - 0x2d], r11w
xor bx, 0x5e
mov word [rbp - 0x2b], bx
mov word [rbp - 0x29], r9w
mov word [rbp - 0x27], r15w
jmp 0x1400f3214
mov cl, WSAGetLastError
mov word [rbp - 0x69], WSAStartup
movsx ebx, cl
movzx eax, bx
xor ax, 0x35
mov word [rbp - 0x67], ax
movzx eax, bx
xor ax, 0x4f
mov word [rbp - 0x65], ax
movzx eax, bx
xor ax, 0x33
mov word [rbp - 0x63], ax
movzx r10d, bx
xor r10w, 0x4e
mov word [rbp - 0x61], r10w
movzx eax, bx
xor ax, 0x28
mov word [rbp - 0x5f], ax
movzx eax, bx
xor ax, 0xf
mov word [rbp - 0x5d], ax
movzx edx, bx
xor dx, 7
mov word [rbp - 0x5b], dx
movzx eax, bx
xor ax, 2
mov word [rbp - 0x59], ax
movzx r11d, bx
xor r11w, 0xb
mov word [rbp - 0x57], r11w
movzx ecx, bx
xor cx, 0xa
mov word [rbp - 0x55], cx
mov word [rbp - 0x53], r10w
movzx r9d, bx
xor r9w, 0x1a
mov word [rbp - 0x51], r9w
movzx r8d, bx
xor r8w, 1
mov word [rbp - 0x4f], r8w
mov word [rbp - 0x4d], r10w
movzx eax, bx
xor ax, 8
mov word [rbp - 0x4b], ax
mov word [rbp - 0x49], dx
mov word [rbp - 0x47], bx
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, 0x18
mov word [rbp - 0x3d], ax
mov word [rbp - 0x3b], dx
movzx edx, bx
xor dx, 0xd
mov word [rbp - 0x39], dx
mov word [rbp - 0x37], r11w
movzx eax, bx
xor ax, 0x31
mov word [rbp - 0x35], ax
mov word [rbp - 0x33], r8w
movzx eax, bx
xor ax, 0xc
mov word [rbp - 0x31], ax
xor bx, 4
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 0x1400f3214
test rbx, rbx
je 0x1400f35c7
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.1402aff00
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