Function at 0x180047890
Capabilities:
Check for sandbox and av modules

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x40
lea rcx, str.dbghelp.dll
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.tier0.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r12, rax
test rbx, rbx
je 0x180047cea
test rax, rax
je 0x180047cea
lea rcx, str.tier0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r13, rax
test rax, rax
je 0x180047cea
lea rcx, str.schemasystem.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180047cea
lea rdx, str.CreateInterface
mov rcx, rax
call fcn.180046ff0
mov rdi, rax
test rax, rax
je 0x180047cea
mov eax, dword [rax + 3]
mov rdi, qword [rax + rdi + 7]
test rdi, rdi
je 0x180047cea
mov rdx, qword [rdi + 8]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x180047940
mov r8d, 0xf
lea rcx, str.SchemaSystem_00
call fcn.18004fa70
test eax, eax
jne 0x180047986
cmp rbx, 0xf
je 0x180047c76
mov rcx, qword [rdi + 8]
xor edx, edx
add rcx, 0xf
mov r8d, 0xa
call fcn.18004f420
test eax, eax
jg 0x180047c76
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x180047931
mov rax, r14
test rax, rax
mov qword [0x1800dcb40], rax
lea rcx, str.engine2.dll
setne bpl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180047cea
lea rdx, str.CreateInterface
mov rcx, rax
call fcn.180046ff0
mov rdi, rax
test rax, rax
je 0x180047cea
mov eax, dword [rax + 3]
mov rdi, qword [rax + rdi + 7]
test rdi, rdi
je 0x180047cea
mov qword [rsp + 0x78], rsi
mov rsi, rdi
mov qword [rsp + 0x80], r15
mov rdx, qword [rdi + 8]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x180047a00
mov r8d, 0x1c
lea rcx, str.GameResourceServiceClientV00
call fcn.18004fa70
test eax, eax
jne 0x180047a46
cmp rbx, 0x1c
je 0x180047c7d
mov rcx, qword [rdi + 8]
xor edx, edx
add rcx, 0x1c
mov r8d, 0xa
call fcn.18004f420
test eax, eax
jg 0x180047c7d
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x1800479f2
mov rax, r14
test rax, rax
mov qword [0x1800dca90], rax
setne dil
and dil, bpl
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rsi + 8]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x180047a80
mov r8d, 0x17
lea rcx, str.Source2EngineToClient00
call fcn.18004fa70
test eax, eax
jne 0x180047ac6
cmp rbx, 0x17
je 0x180047c84
mov rcx, qword [rsi + 8]
xor edx, edx
add rcx, 0x17
mov r8d, 0xa
call fcn.18004f420
test eax, eax
jg 0x180047c84
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x180047a70
mov rcx, r14
test rcx, rcx
mov qword [0x1800dca80], rcx
movzx eax, dil
lea rcx, [0x18007a120]
mov r15d, r14d
cmovne r15d, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x180047ce2
movsxd rax, dword [rax + 0x3c]
lea rdx, str.4C_8B_3D_________24_C9_0C_49_66_0F_7F_45__
lea rcx, [rsp + 0x20]
mov edi, dword [rax + rbx + 0x50]
call fcn.180004690
mov r11, qword [rsp + 0x28]
mov r9, r14
mov r10, qword [rsp + 0x20]
sub r11, r10
sar r11, 2
sub rdi, r11
mov rax, r14
test r11, r11
je 0x180047b63
nop dword [rax + rax]
mov r8d, dword [r10 + rax*4]
cmp r8d, 0xffffffff
je 0x180047b5b
lea rcx, [r9 + rbx]
movzx edx, byte [rax + rcx]
cmp r8d, edx
jne 0x180047c8e
inc rax
cmp rax, r11
jb 0x180047b40
lea rbp, [r9 + rbx]
test r10, r10
je 0x180047bb3
mov rdx, qword [rsp + 0x30]
mov rax, r10
sub rdx, r10
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180047b9d
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047cf1
mov rcx, r10
call fcn.18004905c
xorps xmm0, xmm0
mov qword [rsp + 0x30], r14
movdqu xmmword [rsp + 0x20], xmm0
movsxd rax, dword [rbp + 3]
lea rdx, str.g_pMemAlloc
mov rcx, r13
mov rbp, qword [rax + rbp + 7]
mov qword [0x1800dca88], rbp
call fcn.180046ff0
lea rdx, str.__0CUtlBuffer__QEAA_HHH_Z
mov rcx, r12
mov rsi, qword [rax]
mov qword [0x1800dcb38], rsi
call fcn.180046ff0
lea rdx, str._PutString_CUtlBuffer__QEAAXPEBD_Z
mov qword [0x1800dcae0], rax
mov rcx, r12
mov rdi, rax
call fcn.180046ff0
lea rdx, str._EnsureCapacity_CUtlBuffer__QEAAXH_Z
mov qword [0x1800db790], rax
mov rcx, r12
mov rbx, rax
call fcn.180046ff0
test rax, rax
mov qword [0x1800dcad8], rax
mov edx, r14d
setne cl
test rbx, rbx
setne al
and cl, al
test rdi, rdi
cmovne edx, ecx
test rsi, rsi
mov rsi, qword [rsp + 0x78]
setne cl
and dl, cl
test rbp, rbp
movzx ecx, dl
cmovne r14d, ecx
and r14b, r15b
mov r15, qword [rsp + 0x80]
movzx eax, r14b
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call qword [rdi]
jmp 0x180047992
call qword [rdi]
jmp 0x180047a52
call qword [rsi]
mov rcx, rax
jmp 0x180047ad2
inc r9
cmp r9, rdi
jbe 0x180047b30
test r10, r10
je 0x180047ce2
mov rdx, qword [rsp + 0x30]
mov rax, r10
sub rdx, r10
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180047ccc
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047cf1
mov rcx, r10
call fcn.18004905c
xorps xmm0, xmm0
mov qword [rsp + 0x30], r14
movdqu xmmword [rsp + 0x20], xmm0
mov rbp, r14
jmp 0x180047bb3
xor al, al
jmp 0x180047c61
call fcn.18004f9e0
int3