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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x310
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov dword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
lea r9, [rbp + 0x18]
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x20]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x28], eax
cmp dword [rbp + 0x28], 0xc0000004
jne 0x14003e6d6
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 0x18]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x20], rax
lea r9, [rbp + 0x18]
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x20]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x28], eax
jmp 0x14003e682
cmp dword [rbp + 0x28], 0
jl 0x14003e6e3
cmp qword [rbp + 0x20], 0
jne 0x14003e703
cmp qword [rbp + 0x20], 0
je 0x14003e6fc
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x14003eccc
mov qword [rbp + 0x60], 0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x1c], 0
jmp 0x14003e724
mov eax, dword [rbp + 0x1c]
inc eax
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
mov rcx, qword [rbp + 0x68]
cmp rax, qword [rcx]
jae 0x14003e784
mov eax, dword [rbp + 0x1c]
imul rax, rax, 0x28
lea rcx, [rbp + 0x100]
mov rdx, qword [rbp + 0x68]
mov rdi, rcx
lea rsi, [rdx + rax + 0x10]
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp qword [rbp + 0x108], rax
je 0x14003e764
jmp 0x14003e71c
mov rax, qword [rsp + 0x330]
cmp qword [rbp + 0x110], rax
jne 0x14003e782
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x60], rax
jmp 0x14003e784
jmp 0x14003e71c
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rbp + 0x60], 0
jne 0x14003e7a4
xor al, al
jmp 0x14003eccc
mov qword [rbp + 0x50], 0
mov rax, qword [rbp + 0x60]
add rax, 8
mov r9d, 8
lea r8, [rbp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x330]
call fcn.14003d4b0
movzx eax, al
test eax, eax
je 0x14003e7dc
cmp qword [rbp + 0x50], 0
jne 0x14003e84f
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call fcn.140005d70
mov qword [rbp + 0x78], rax
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 2]
lea rcx, [rbp + 0x180]
call fcn.140046390
mov rcx, rax
call fcn.1400422a0
mov qword [rbp + 0x70], rax
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
call fcn.14000bec0
xor al, al
jmp 0x14003eccc
mov qword [rbp + 0x58], 0
mov rax, qword [rbp + 0x50]
add rax, 8
mov r9d, 8
lea r8, [rbp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x330]
call fcn.14003d4b0
movzx eax, al
test eax, eax
je 0x14003e887
cmp qword [rbp + 0x58], 0
jne 0x14003e906
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call fcn.140005d70
mov qword [rbp + 0x88], rax
movzx r9d, byte [rbp + 3]
movzx r8d, byte [rbp + 4]
movzx edx, byte [rbp + 5]
lea rcx, [rbp + 0x1c0]
call fcn.140046440
mov rcx, rax
call fcn.1400422a0
mov qword [rbp + 0x80], rax
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
call fcn.14000bec0
xor al, al
jmp 0x14003eccc
mov qword [rbp + 0x30], 0
mov rax, qword [rbp + 0x58]
add rax, 0x28
mov r9d, 8
lea r8, [rbp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x330]
call fcn.14003d4b0
movzx eax, al
test eax, eax
je 0x14003e93e
cmp qword [rbp + 0x30], 0
jne 0x14003e9bd
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call fcn.140005d70
mov qword [rbp + 0x98], rax
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x200]
call fcn.1400464f0
mov rcx, rax
call fcn.1400422a0
mov qword [rbp + 0x90], rax
mov rdx, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x98]
call fcn.14000bec0
xor al, al
jmp 0x14003eccc
lea rax, [rbp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x30]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x330]
call fcn.14003d4b0
movzx eax, al
test eax, eax
je 0x14003e9fe
movzx eax, word [rbp + 0x40]
test eax, eax
jne 0x14003ea7d
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call fcn.140005d70
mov qword [rbp + 0xa8], rax
movzx r9d, byte [rbp + 9]
movzx r8d, byte [rbp + 0xa]
movzx edx, byte [rbp + 0xb]
lea rcx, [rbp + 0x140]
call fcn.1400465a0
mov rcx, rax
call fcn.140042090
mov qword [rbp + 0xa0], rax
mov rdx, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
call fcn.14000bec0
xor al, al
jmp 0x14003eccc
movzx eax, word [rbp + 0x40]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov qword [rbp + 0xb0], rax
mov eax, 2
mov rcx, qword [rbp + 0xb0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14014a244
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x38], rax
movzx eax, word [rbp + 0x40]
add rax, 2
mov qword [rbp + 0xc0], rax
mov rdi, qword [rbp + 0x38]
xor eax, eax
mov rcx, qword [rbp + 0xc0]
rep stosb byte [rdi], al
movzx eax, word [rbp + 0x40]
mov r9d, eax
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsp + 0x330]
call fcn.14003d4b0
movzx eax, al
test eax, eax
jne 0x14003eb89
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call fcn.140005d70
mov qword [rbp + 0xd0], rax
movzx r9d, byte [rbp + 0xc]
movzx r8d, byte [rbp + 0xd]
movzx edx, byte [rbp + 0xe]
lea rcx, [rbp + 0x160]
call fcn.140046620
mov rcx, rax
call fcn.140042090
mov qword [rbp + 0xc8], rax
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xd0]
call fcn.14000bec0
xor al, al
jmp 0x14003eccc
xor eax, eax
mov word [rbp + 0x40], ax
mov rax, qword [rbp + 0x30]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x330]
call fcn.14003d4f0
movzx eax, al
test eax, eax
jne 0x14003ec37
lea rax, [rbp + 0xf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call fcn.140005d70
mov qword [rbp + 0xe0], rax
movzx r9d, byte [rbp + 0xf]
movzx r8d, byte [rbp + 0x10]
movzx edx, byte [rbp + 0x11]
lea rcx, [rbp + 0x240]
call fcn.1400466a0
mov rcx, rax
call fcn.1400422a0
mov qword [rbp + 0xd8], rax
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xe0]
call fcn.14000bec0
xor al, al
jmp 0x14003eccc
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
call fcn.140005d70
mov qword [rbp + 0xf0], rax
movzx r9d, byte [rbp + 0x12]
movzx r8d, byte [rbp + 0x13]
movzx edx, byte [rbp + 0x14]
lea rcx, [rbp + 0x280]
call fcn.140046750
mov rcx, rax
call fcn.1400422a0
mov qword [rbp + 0xe8], rax
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xf0]
call fcn.14000bec0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0xf8], rax
mov rcx, qword [rbp + 0xf8]
call fcn.140149f74
mov al, 1
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140149a30
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret