Function at 0x140038850
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor esi, esi
lea rdx, str.VALORANT
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x14004dc90], rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x14004dc90]
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
lea edx, [rsi + 0xa]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
lea edx, [rsi + 0x75]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
mov eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0x70]
imul eax, ecx
cdq
idiv edi
mov dword [0x14004dc2c], eax
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
imul eax, ecx
cdq
idiv edi
mov dword [0x14004dc28], eax
mov ebx, esi
lea rdi, [0x140043b50]
lea rbp, [0x14004dcc0]
lea r14, [0x14004dcb0]
lea r15, [0x14004d060]
nop word [rax + rax]
mov rcx, qword [0x14004dcc0]
test rcx, rcx
je 0x14003893a
mov qword [0x14004dcc0], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [0x14004dcb0]
test rcx, rcx
je 0x140038954
mov qword [0x14004dcb0], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [rsp + 0x48], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rdi]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDevice]
test eax, eax
jns 0x1400389d4
mov rcx, qword [0x14004dcb0]
test rcx, rcx
je 0x1400389ab
mov qword [0x14004dcb0], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [0x14004dcc0]
test rcx, rcx
je 0x1400389c5
mov qword [0x14004dcc0], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
inc ebx
add rdi, 4
cmp ebx, 1
jb 0x140038920
mov eax, dword [0x14004dc2c]
mov dword [0x14004dc40], eax
mov eax, dword [0x14004dc28]
mov dword [0x14004dc44], eax
mov dword [0x14004dc4c], 1
mov dword [0x14004dc48], 1
mov dword [0x14004dc50], 0x57
mov qword [0x14004dc54], 1
mov dword [0x14004dc5c], esi
mov qword [0x14004dc60], 0x28
mov dword [0x14004dc68], 0x200
mov rbx, qword [0x14004dcb0]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
mov rcx, qword [0x14004dcb8]
test rcx, rcx
je 0x140038a58
mov qword [0x14004dcb8], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea r9, [0x14004dcb8]
xor r8d, r8d
lea rdx, [0x14004dc40]
mov rcx, rbx
call rdi
test eax, eax
jns 0x140038ac4
lea rdx, str.Failed_to_create_texture
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003c0a0
lea rdx, [0x14003c270]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003cc70
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rbx, qword [0x14004dcb8]
mov rax, qword [rbx]
mov rdi, qword [rax]
mov rcx, qword [0x14004dcc8]
test rcx, rcx
je 0x140038aeb
mov qword [0x14004dcc8], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea r8, [0x14004dcc8]
lea rdx, [0x1400446a8]
mov rcx, rbx
call rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
jns 0x140038b15
lea rdx, str.Failed_to_create_GDI_surface
jmp 0x140038a80
mov dword [0x14004dc60], esi
and dword [0x14004dc68], 4
mov dword [0x14004dc64], 0x20000
mov dword [0x14004dc5c], 3
lea rdx, str.Loading_Interception...
call fcn.14003c0a0
lea rdx, [0x14003c270]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.interception.dll_interception_create_context]
mov qword [0x14004dc88], rax
mov r8d, 0x1000
mov rdx, qword [sym.imp.interception.dll_interception_is_mouse]
mov rcx, rax
call qword [sym.imp.interception.dll_interception_set_filter]
mov rcx, qword [0x14004dc88]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x14004dc6c], eax
mov rcx, qword [0x14004dc88]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x14004dc6c], eax
mov r9d, 1
lea r8, [0x14004dc70]
mov edx, eax
mov rcx, qword [0x14004dc88]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jle 0x140038c1e
nop dword [rax + rax]
mov ecx, dword [0x14004dc6c]
call qword [sym.imp.interception.dll_interception_is_mouse]
mov rcx, qword [0x14004dc88]
test eax, eax
jne 0x140038c05
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x14004dc6c], eax
mov r9d, 1
lea r8, [0x14004dc70]
mov edx, eax
mov rcx, qword [0x14004dc88]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jg 0x140038bc0
jmp 0x140038c1e
mov r9d, 1
lea r8, [0x14004dc70]
mov edx, dword [0x14004dc6c]
call qword [sym.imp.interception.dll_interception_send]
lea rdx, str.Interception_Loaded
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003c0a0
lea rdx, [0x14003c270]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 8
call fcn.14003cdd8
lea rcx, [0x140037d70]
mov qword [rax], rcx
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14003c940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140038d17
cmp dword [rsp + 0x68], 0
je 0x140038d0b
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140038d0b
lea rdx, str.Starting_at
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003c0a0
mov edx, dword [0x14004dc2c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x1400440a8]
call fcn.14003c0a0
mov edx, dword [0x14004dc28]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
lea rdx, [0x14003c270]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov al, 1
jmp 0x140038a97
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3