Function at 0x1400ddda0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x8e0], rbx
xor ebx, ebx
mov dword [rbp + 0x7d0], ebx
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x70]
call fcn.140249b10
lea rdx, [0x14034eb30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea rdx, str.AppLogs
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [rbx + 0x20]
call fcn.14018ef40
mov rdi, rax
mov qword [rbp + 0x7d0], rax
lea r12, vtable.CSABString.0
lea esi, [rbx + 1]
test rax, rax
je 0x1400dde76
lea rax, vtable.CSASUnhandledExceptionFilter.0
mov qword [rdi], rax
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], rbx
mov dword [rdi + 0x18], ebx
mov ecx, esi
call fcn.140247068
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400dde71
mov r8d, dword [rdi + 0x18]
inc r8d
lea rdx, [0x140286ae1]
mov rcx, rax
call fcn.1402496a0
mov dword [rdi + 0x1c], esi
jmp 0x1400dde79
mov rdi, rbx
mov qword [0x140351828], rdi
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x380]
call fcn.140249b10
mov edx, 0x410
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rbp + 0x380]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea rdx, str.system32dbghelp.dll
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 8
call fcn.14018ef40
mov qword [rbp + 0x7d8], rax
test rax, rax
je 0x1400de042
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x30], 7
mov ecx, 8
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400ddf11
movsd xmm0, qword [str.SASMDMP]
movsd qword [rax], xmm0
mov dword [rsp + 0x34], esi
mov dword [rbp + 0x7d0], esi
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ddf30
mov dword [rsp + 0x48], eax
inc eax
mov r14d, eax
mov ecx, eax
call fcn.140247068
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ddf66
mov r8d, r14d
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1402496a0
mov r13d, esi
mov dword [rsp + 0x4c], esi
mov dword [rbp + 0x7d0], 3
mov qword [rsp + 0x50], r12
lea rax, [rbp + 0x380]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400ddf83
mov dword [rsp + 0x60], ebx
lea eax, [rbx + 1]
mov ebx, eax
mov ecx, eax
call fcn.140247068
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400ddfbb
mov r8d, ebx
lea rdx, [rbp + 0x380]
mov rcx, rax
call fcn.1402496a0
mov r12d, esi
mov dword [rsp + 0x64], esi
mov ebx, 7
mov dword [rbp + 0x7d0], ebx
mov rax, qword [0x140351828]
lea rdx, vtable.CSABUnhandledException.0
mov rcx, qword [rbp + 0x7d8]
mov qword [rcx], rdx
mov qword [0x140351808], rax
mov dword [0x140351810], esi
lea rdx, [rsp + 0x38]
lea rcx, vtable.CSABString.0
call fcn.140004780
lea rdx, [rsp + 0x20]
lea rcx, vtable.CSABString.0
call fcn.140004780
lea rdx, [rsp + 0x50]
lea rcx, vtable.CSABString.0
call fcn.140004780
lea rcx, [0x1400de4d0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [0x140351818], rax
mov rax, qword [rbp + 0x7d8]
jmp 0x1400de062
mov rax, rbx
mov esi, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x28]
mov r13d, dword [rsp + 0x4c]
mov r15, qword [rsp + 0x40]
mov r12d, dword [rsp + 0x64]
mov r14, qword [rsp + 0x58]
mov qword [0x140351820], rax
test bl, 4
je 0x1400de088
and ebx, 0xfffffffb
lea eax, [r12 - 1]
test eax, eax
jne 0x1400de088
test r14, r14
je 0x1400de088
mov rcx, r14
call fcn.140247060
nop
test bl, 2
je 0x1400de0a6
and ebx, 0xfffffffd
lea eax, [r13 - 1]
test eax, eax
jne 0x1400de0a6
test r15, r15
je 0x1400de0a6
mov rcx, r15
call fcn.140247060
nop
test bl, 1
je 0x1400de0bf
lea eax, [rsi - 1]
test eax, eax
jne 0x1400de0bf
test rdi, rdi
je 0x1400de0bf
mov rcx, rdi
call fcn.140247060
mov rbx, qword [rsp + 0x8e0]
add rsp, 0x890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret