Function at 0x231945b94
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x2e8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x280], ecx
mov dword [rbp + 0x288], edx
mov dword [rbp + 0x290], r8d
mov dword [rbp + 0x298], r9d
lea rax, [rbp - 0x50]
mov edx, 0x104
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
call rax
lea rax, [rbp - 0x50]
mov rcx, rax
mov rax, qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
call rax
lea rax, [rbp + 0xbf]
mov rcx, rax
call fcn.2319457ce
mov rcx, rax
call fcn.23198bd60
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov qword [rbp + 0x258], rax
cmp dword [rbp + 0x280], 0
je 0x231945c62
cmp qword [rbp + 0x258], 0
je 0x231945c4f
mov rax, qword [rbp + 0x258]
mov r9d, 0
mov r8d, 0
mov edx, 0x12
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_PostMessageA]
call rax
jmp 0x231946063
mov ecx, 0xa
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
call rax
jmp 0x231946063
cmp dword [rbp + 0x288], 0
je 0x231945e1f
cmp qword [rbp + 0x258], 0
jne 0x231945e0c
lea rax, [rbp + 0x10e]
mov rcx, rax
call fcn.2319e0310
lea rax, [rbp + 0x10f]
mov rcx, rax
call fcn.231945942
mov rcx, rax
call fcn.23197db40
mov rdx, rax
lea rcx, [rbp + 0x10e]
lea rax, [rbp + 0xe0]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rax, [rbp + 0x15f]
mov rcx, rax
call fcn.2319e0310
lea rcx, [rbp + 0x15f]
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x130]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rax, [rbp + 0x18e]
mov rcx, rax
call fcn.2319e0310
lea rax, [rbp + 0x18f]
mov rcx, rax
call fcn.231945884
mov rcx, rax
call fcn.23197c160
mov rdx, rax
lea rcx, [rbp + 0x18e]
lea rax, [rbp + 0x160]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rax, [rbp + 0x110]
lea rcx, [rbp + 0x130]
lea rdx, [rbp + 0x160]
mov r8, rcx
mov rcx, rax
call fcn.231a32570
lea rax, [rbp + 0xc0]
lea rcx, [rbp + 0xe0]
lea rdx, [rbp + 0x110]
mov r8, rcx
mov rcx, rax
call fcn.231a32570
lea rax, [rbp + 0xc0]
mov rcx, rax
call fcn.23199da60
mov r8d, 0
mov edx, 0
mov rcx, rax
call fcn.231941e42
lea rax, [rbp + 0xc0]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x110]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x160]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x18e]
mov rcx, rax
call fcn.2319e0340
lea rax, [rbp + 0x130]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x15f]
mov rcx, rax
call fcn.2319e0340
lea rax, [rbp + 0xe0]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x10e]
mov rcx, rax
call fcn.2319e0340
jmp 0x231946063
mov ecx, 0x1392
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
call rax
jmp 0x231946063
cmp dword [rbp + 0x290], 0
je 0x23194600c
mov rax, qword [rbp + 0x258]
mov r9d, 0
mov r8d, 0
mov edx, 0x12
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_PostMessageA]
call rax
lea rax, [rbp - 0x54]
mov rcx, qword [rbp + 0x258]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call rax
mov edx, 0
mov ecx, 0x3e8
call fcn.231943b66
mov eax, dword [rbp - 0x54]
cmp eax, 0x103
je 0x231945e50
lea rax, [rbp + 0x1de]
mov rcx, rax
call fcn.2319e0310
lea rax, [rbp + 0x1df]
mov rcx, rax
call fcn.231945aca
mov rcx, rax
call fcn.23197dc60
mov rdx, rax
lea rcx, [rbp + 0x1de]
lea rax, [rbp + 0x1b0]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rax, [rbp + 0x22f]
mov rcx, rax
call fcn.2319e0310
lea rcx, [rbp + 0x22f]
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x200]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rax, [rbp + 0x256]
mov rcx, rax
call fcn.2319e0310
lea rax, [rbp + 0x257]
mov rcx, rax
call fcn.231945a0c
mov rcx, rax
call fcn.23197c280
mov rdx, rax
lea rcx, [rbp + 0x256]
lea rax, [rbp + 0x230]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rax, [rbp + 0x1e0]
lea rcx, [rbp + 0x200]
lea rdx, [rbp + 0x230]
mov r8, rcx
mov rcx, rax
call fcn.231a32570
lea rax, [rbp + 0x190]
lea rcx, [rbp + 0x1b0]
lea rdx, [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.231a32570
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.23199da60
mov r8d, 0
mov edx, 0
mov rcx, rax
call fcn.231941e42
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x230]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x256]
mov rcx, rax
call fcn.2319e0340
lea rax, [rbp + 0x200]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x22f]
mov rcx, rax
call fcn.2319e0340
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp + 0x1de]
mov rcx, rax
call fcn.2319e0340
jmp 0x231946063
cmp dword [rbp + 0x298], 0
je 0x231946055
cmp qword [rbp + 0x258], 0
je 0x231946045
mov rax, qword [rbp + 0x258]
mov r9d, 0
mov r8d, 0
mov edx, 0x10
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_PostMessageA]
call rax
jmp 0x231946063
mov ecx, 0xa
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
call rax
jmp 0x231946063
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
jmp 0x2319461af
add rsp, 0x2e8
pop rbx
pop rbp
ret