Function at 0x140037d60
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rbp + 8], rax
xor r8d, r8d
lea rcx, str.Spectral_Client
xor edx, edx
call fcn.14000f040
mov rax, qword gs:[0x58]
xor edi, edi
mov esi, 4
mov rbx, qword [rax]
mov eax, dword [rsi + rbx]
cmp dword [0x140047898], eax
jle 0x140037e17
lea rcx, [0x140047898]
call fcn.140038380
cmp dword [0x140047898], 0xffffffff
jne 0x140037e17
lea rax, str.cocaine
mov qword [rsp + 0x74], rdi
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x70]
lea rax, [0x1400408c8]
mov qword [rsp + 0x7c], rdi
xorps xmm0, xmm0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x7c], rdi
mov dword [rbp - 0x74], edi
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov dword [rsp + 0x70], 4
call qword [sym.imp.EOSSDK_Win64_Shipping.dll_EOS_Initialize]
lea rcx, [0x140047898]
call fcn.140038314
mov eax, dword [rsi + rbx]
cmp dword [0x1400478a8], eax
jle 0x140037eff
lea rcx, [0x1400478a8]
call fcn.140038380
cmp dword [0x1400478a8], 0xffffffff
jne 0x140037eff
cmp qword [0x1400477d0], 0xf
lea rax, [0x1400477b8]
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
cmova rax, qword [0x1400477b8]
cmp qword [0x1400477b0], 0xf
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x80], rax
lea rax, [0x140047798]
cmova rax, qword [0x140047798]
cmp qword [0x1400477f0], 0xf
mov qword [rbp - 0x78], rax
lea rax, [0x1400477d8]
cmova rax, qword [0x1400477d8]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x40], rax
lea rax, str.xyza7891YFRP880NasoqFT9kt8GZFfCb
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x70], rax
lea rax, str.vcswGlyBArQ6RWCtYRBvMDj_NAboIxKGS5HemrUkJqY
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x70], 0xe
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x60], edi
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x38], 2
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.EOSSDK_Win64_Shipping.dll_EOS_Platform_Create]
lea rcx, [0x1400478a8]
mov qword [0x1400478b0], rax
call fcn.140038314
mov eax, dword [rsi + rbx]
cmp dword [0x1400478b8], eax
jle 0x140037f3f
lea rcx, [0x1400478b8]
call fcn.140038380
cmp dword [0x1400478b8], 0xffffffff
jne 0x140037f3f
mov rcx, qword [0x1400478b0]
call qword [sym.imp.EOSSDK_Win64_Shipping.dll_EOS_Platform_GetAntiCheatClientInterface]
lea rcx, [0x1400478b8]
mov qword [0x1400478a0], rax
call fcn.140038314
mov rdx, qword [0x1400478b0]
lea rcx, str.Platform:__p_n
call fcn.140034010
mov rdx, qword [0x1400478a0]
lea rcx, str.Client_Handle:__p_n
call fcn.140034010
xor r8d, r8d
mov qword [rbp], rdi
lea rdx, [rbp]
lea rcx, str.scan
call fcn.140034d00
lea r12, str._Anti_Cheat_Integrity_Intermediate_CA10
test al, al
je 0x14003811e
mov qword [rsp + 0x148], r14
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x140], r13
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x80]
mov r14, rdi
test r15, r15
je 0x1400380ff
lea r13, str.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400380ff
cmp dword [rsp + 0x5c], 1
mov rsi, rdi
je 0x1400380ca
mov rcx, qword [rsp + 0x50]
call fcn.140038674
mov r8, qword [rsp + 0x50]
mov rsi, rax
mov rdx, qword [rsp + 0x38]
lea rax, [rbp]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400380ca
mov r9, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov r8, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, dword [rbp]
lea rax, [rbp]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r10d, dword [rsp + 0x30]
mov r9d, edi
add r10d, 0xffffffd9
je 0x1400380ca
mov r8, rsi
sub r8, r13
nop dword [rax]
mov edx, edi
mov rcx, rdi
cmp byte [rcx + r13], 0x3f
lea rax, [rcx + r13]
je 0x1400380ab
movzx eax, byte [r8 + rax]
cmp byte [rcx + r12], al
jne 0x1400380e7
inc edx
inc rcx
cmp edx, 0x27
jb 0x140038095
mov edx, r9d
lea rax, [rdx + rsi]
test rax, rax
je 0x1400380ca
lea rax, [rdx + r14]
cmp rax, r12
jne 0x1400380f4
add r14, qword [rsp + 0x50]
test rsi, rsi
je 0x1400380dc
mov rcx, rsi
call fcn.14003830c
cmp r14, r15
jb 0x140037fc5
jmp 0x1400380ff
inc r9d
inc r8
cmp r9d, r10d
jb 0x140038090
jmp 0x1400380ca
mov rcx, rsi
mov rdi, rax
call fcn.14003830c
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x148]
mov r13, qword [rsp + 0x140]
mov qword [0x140047888], rdi
mov rdx, r12
lea rcx, [0x140040960]
call fcn.140034010
mov rdx, qword [0x140047888]
lea rcx, str.result___p_n
call fcn.140034010
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140038170
add rsp, 0x110
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret