Function at 0x140009720
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x320
mov rax, qword [0x140021228]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rdi, rcx
mov ebp, r9d
mov ecx, 1
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_SetSearchPathMode]
call fcn.140005730
xorps xmm0, xmm0
mov qword [0x1400216d0], rax
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
inc r8
cmp byte [rbx + r8], 0
jne 0x140009775
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140003080
lea rcx, [rsp + 0x60]
call fcn.140008ed0
mov cl, 1
call fcn.140016e80
lea rcx, str.scsdk_uninstaller_log.txt
call fcn.140007c50
call fcn.140007850
test al, al
je 0x140009b18
lea rdx, [rsp + 0x100]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, qword [str.Rockstar_Games_Social_Club_Installer]
call fcn.140003ff0
xor ebx, ebx
test eax, eax
je 0x1400097eb
mov ecx, 0xd4
mov dword [0x1400211ac], ebx
call fcn.14000ad40
call fcn.140008bc0
test al, al
je 0x140009b18
mov rcx, qword [0x1400216f0]
call fcn.140005ad0
test eax, eax
jne 0x140009818
mov ecx, 0xcd
mov dword [0x1400211ac], ebx
call fcn.14000ad40
call fcn.140003fe0
test eax, eax
je 0x140009839
cmp dword [0x140021624], ebx
jne 0x140009839
mov ecx, 0x9c
mov dword [0x1400211ac], ebx
call fcn.14000ad40
mov rcx, qword [0x1400216f0]
call fcn.140003fd0
test eax, eax
jne 0x140009859
mov ecx, 0x9a
mov dword [0x1400211ac], ebx
call fcn.14000ad40
mov r8d, dword [0x1400211ac]
lea rcx, [0x140021710]
mov rdx, rdi
mov qword [0x1400233d8], rdi
call fcn.14000b040
cmp dword [0x140021624], ebx
jne 0x140009aeb
lea rax, [0x140008650]
mov qword [rsp + 0x348], rsi
mov rsi, qword [str.Rockstar_Games_Social_Club_Installer]
mov edx, 0x7f00
mov qword [rsp + 0x88], rax
xor ecx, ecx
mov rax, qword [0x1400216b8]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb8], rbx
mov dword [rsp + 0x80], 0x50
mov dword [rsp + 0x84], 3
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0xb0], 6
mov qword [rsp + 0xa8], rax
mov rax, qword [0x1400216b8]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x140009ada
mov r8, qword [str.Rockstar_Games_Social_Club_Installer]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov rdx, rsi
mov qword [rsp + 0x50], rdi
xor ecx, ecx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, 0xb6
mov rcx, rdi
mov qword [0x1400216f0], rax
call qword [sym.imp.USER32.dll_LoadIconW]
cmp qword [0x1400216f0], rbx
mov qword [0x1400216b8], rax
je 0x140009ada
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [0x1400216f0]
mov edx, 0xfffffff0
mov r8d, 0x820a0000
call qword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x140009ada
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009ada
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [0x1400216f0]
mov edx, 0xffffffec
mov r8d, 0x2000000
call qword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x140009ada
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009ada
mov rcx, qword [0x1400216f0]
xor r9d, r9d
mov dword [rsp + 0x30], 0x27
xor r8d, r8d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
je 0x140009ada
mov rcx, qword [0x1400216f0]
mov edx, ebp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400216f0]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
lea rcx, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140009aa6
nop word [rax + rax]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140009a70
call fcn.1400096a0
call fcn.140008630
mov eax, dword [rsp + 0xe0]
mov rsi, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140017310
add rsp, 0x320
pop rdi
pop rbp
pop rbx
ret
call fcn.140005e40
call fcn.1400096a0
mov eax, 1
jmp 0x140009ab7
cmp dword [0x1400211ac], ebx
je 0x140009b0f
lea rcx, [0x140021710]
call fcn.14000b460
mov ebx, eax
call fcn.1400096a0
call fcn.140008630
mov eax, ebx
jmp 0x140009abf
call fcn.1400096a0
mov eax, ebx
jmp 0x140009abf
call fcn.140005e40
mov eax, 1
jmp 0x140009abf