Function at 0x140006300
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor esi, esi
mov r14d, esi
mov dword [rbp - 0x80], esi
lea r8, [0x14005e3b0]
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov dword [0x14005e3f8], 0x5c0000
lea r8, str.LOCALAPPDATA
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x78]
call fcn.14002b634
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
mov rdx, qword [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], sil
jne 0x140006390
lea rcx, [rbp - 0x50]
call fcn.14000f440
nop
mov r8d, 0x16
lea rdx, str.VALORANTSavedConfig
lea rcx, [rbp - 0x50]
call fcn.14000b590
mov rcx, qword [rsp + 0x78]
call fcn.14002a530
mov r15d, dword [rbp - 0x80]
mov r12d, dword [rbp - 0x80]
mov r13d, dword [rbp - 0x80]
lea rbx, [0x14005bcf0]
nop word [rax + rax]
lea rcx, [0x140052e88]
call fcn.1400299a0
lea rdx, str.Welcome_to_ValStretcher_by_FrostChanger._What_would_you_like_to_do__n
lea rcx, [0x14005c990]
call fcn.14000d980
lea rdx, str.1._Fix_Gamefiles_n
lea rcx, [0x14005c990]
call fcn.14000d980
lea rdx, str.2._Change_Resolution_n
lea rcx, [0x14005c990]
call fcn.14000d980
mov dword [rbp - 0x80], r15d
lea rdx, [rbp - 0x80]
call fcn.14000e0c0
mov r15d, dword [rbp - 0x80]
mov ecx, r15d
sub ecx, 1
je 0x140006842
cmp ecx, 1
jne 0x14000682c
call fcn.140004c50
movsxd rbx, eax
lea rdx, str.Enter_the_width:
lea rcx, [0x14005c990]
call fcn.14000d980
mov dword [rbp - 0x80], r12d
lea rdx, [rbp - 0x80]
call fcn.14000e0c0
mov r12d, dword [rbp - 0x80]
lea rdx, str.Enter_the_height:
lea rcx, [0x14005c990]
call fcn.14000d980
mov dword [rbp - 0x80], r13d
lea rdx, [rbp - 0x80]
call fcn.14000e0c0
mov r13d, dword [rbp - 0x80]
test ebx, ebx
js 0x1400067cc
mov rcx, qword [0x14005e498]
mov rdi, qword [0x14005e490]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jae 0x1400067cc
xor edx, edx
mov r8d, 0xdc
lea rcx, [rbp + 0x20]
call fcn.140044cc0
mov eax, 0xdc
mov word [rbp + 0x64], ax
mov dword [rbp + 0xcc], r12d
mov dword [rbp + 0xd0], r13d
mov dword [rbp + 0x68], 0x180000
lea rax, [rbx + rbx*4]
lea rdi, [rdi + rax*8]
lea rcx, [rdi + 8]
cmp qword [rcx + 0x18], 7
jbe 0x14000651d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsExW]
mov ebx, eax
test eax, eax
jne 0x14000678c
lea rdx, str.Successfully_changed_resolution_for_monitor
lea rcx, [0x14005c990]
call fcn.14000d980
mov edx, dword [rdi]
mov rcx, rax
call fcn.140008840
mov rcx, rax
call fcn.14000dc30
lea rdx, str.e_32mSUCCESSFULLY_CHANGED_RESOLUTIONe_0m_n
lea rcx, [0x14005c990]
call fcn.14000d980
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov r8d, 8
lea rdx, str.VALORANT
lea rcx, [rbp - 0x70]
call fcn.14000f050
nop
lea rdi, [rbp - 0x70]
mov r8, qword [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdi, r8
lea rcx, [rbp - 0x70]
cmova rcx, r8
mov rax, qword [rbp - 0x60]
lea rsi, [rcx + rax*2]
lea rbx, [rbp - 0x70]
cmova rbx, r8
cmp rbx, rsi
je 0x1400065e5
sub rdi, rbx
nop
movzx ecx, word [rbx]
call fcn.1400273cc
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x1400065d0
xor esi, esi
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x70]
lea rcx, [0x1400061b0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rcx, [0x14005cc40]
cmp qword [rsp + 0x70], rsi
lea rdx, str.Window_found.
jne 0x14000661a
lea rdx, str.Window_not_found.
call fcn.14000d630
mov rcx, rax
call fcn.14000d8f0
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14000666c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006667
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a3b
call fcn.14001d7c0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
test rbx, rbx
je 0x1400069a4
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
btr eax, 0x17
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea rdx, str.Border_removed_n
lea rcx, [0x14005c990]
call fcn.14000d980
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
je 0x14000699b
mov dword [rbp - 0x10], 0x28
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x140006992
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rbp - 0x18]
sub r11d, r12d
sub r11d, dword [rbp - 0x20]
mov eax, dword [rbp - 0x14]
sub eax, r13d
sub eax, dword [rbp - 0x1c]
mov r10d, dword [rbp]
mov r9d, dword [rbp - 8]
sub r10d, r9d
add r10d, eax
mov ecx, dword [rbp - 4]
mov r8d, dword [rbp - 0xc]
sub ecx, r8d
add ecx, r11d
cdq
sub eax, edx
sar eax, 1
sub r9d, eax
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
sub r8d, eax
mov dword [rsp + 0x30], 0x220
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rcx, [0x14005c990]
test eax, eax
je 0x140006989
lea rdx, str.Window_position_and_size_adjusted_n
call fcn.14000d980
lea rdx, str.e_32mSUCCESSFULLY_FIXED_VALORANTe_0m_n
lea rcx, [0x14005c990]
call fcn.14000d980
jmp 0x140006825
lea rdx, str.Failed_to_change_resolution_for_monitor
lea rcx, [0x14005cd70]
call fcn.14000d980
mov edx, dword [rdi]
mov rcx, rax
call fcn.140008840
mov rcx, rax
lea rdx, str.._Error_code:
call fcn.14000d980
mov edx, ebx
mov rcx, rax
call fcn.140008640
mov rcx, rax
call fcn.14000dc30
jmp 0x1400067df
lea rdx, str.Invalid_Monitor_Index
lea rcx, [0x14005c990]
call fcn.14000d980
lea rdx, str.e_31mFAILED_TO_CHANGE_RESOLUTIONe_0m_n
lea rcx, [0x14005c990]
call fcn.14000d980
lea rdx, str.Error_code:
lea rcx, [0x14005c990]
call fcn.14000d980
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140008440
mov rcx, rax
call fcn.14000dc30
call fcn.1400061c0
lea rbx, [0x14005bcf0]
lea rcx, [0x140052e88]
call fcn.1400299a0
call fcn.1400061c0
jmp 0x1400063e0
lea rdx, str.Checking_your_Gamefiles..._n
lea rcx, [0x14005c990]
call fcn.14000d980
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rax, qword [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x48], rax
call fcn.140019e7c
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140002e30
or r14d, 6
or r14d, 1
mov dword [rbp - 0x80], r14d
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400048a0
cmp dword [rbp - 0x30], 0
jne 0x140006a2c
test al, al
je 0x1400068d5
lea rcx, [rbp - 0x50]
call fcn.140004ed0
test al, al
je 0x1400068d5
xor bl, bl
jmp 0x1400068d7
mov bl, 1
test r14b, 1
je 0x140006923
and r14d, 0xfffffffe
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140006923
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000691e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a26
call fcn.14001d7c0
test bl, bl
je 0x140006956
lea rdx, str.e_31mCouldnt_find_your_local_VALORANT_folder__please_enter_path_or_install_VALORANT.e_0m_n
lea rcx, [0x14005c990]
call fcn.14000d980
lea rdx, str.Enter_a_valid_path:
lea rcx, [0x14005c990]
call fcn.14000d980
lea rdx, [rbp - 0x50]
call fcn.14000dcc0
lea rcx, [rbp - 0x50]
call fcn.140004ed0
test al, al
jne 0x140006980
lea rdx, str.Invalid_path._Returning_to_menu._n
lea rcx, [0x14005c990]
call fcn.14000d980
call fcn.1400061c0
jmp 0x1400063cf
lea rdx, str.e_32mSUCCESSFULLY_FIXED_YOUR_GAMEFILESe_0m_n
jmp 0x14000696a
lea rdx, str.e_31mFAILED_TO_ADJUST_WINDOW_POSITION_AND_SIZEe_0m_n
jmp 0x1400069b2
lea rdx, str.e_31mFAILED_TO_RETRIEVE_MONITOR_INFOe_0m_n
jmp 0x1400069ab
lea rdx, str.e_31mFAILED_TO_GET_MONITOR_INFOe_0m_n
jmp 0x1400069ab
lea rdx, str.e_31mFAILED_TO_FIND_VALORANT_WINDOWe_0m_n
lea rcx, [0x14005c990]
call fcn.14000d980
call fcn.1400061c0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400069f4
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a41
call fcn.14001d7c0
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14001d7a0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002b43c
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
call fcn.140003de0
nop
call fcn.14002b43c
nop
call fcn.14002b43c
int3