Function at 0x140063b10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400d0040]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r15, r8
mov rsi, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rbp + 0x40], r12d
mov rbx, qword [0x1400d14a0]
test rbx, rbx
je 0x140063b64
inc dword [rbx + 0xf4]
mov ecx, 0x5e70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x30], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x40], rax
test rax, rax
je 0x140063b91
xor edx, edx
mov rcx, rax
call fcn.14001ecc0
jmp 0x140063b94
mov rax, r12
mov qword [0x1400d14a0], rax
call fcn.140023110
test rbx, rbx
je 0x140063bac
mov qword [0x1400d14a0], rbx
xor ecx, ecx
call fcn.140040e70
mov rdi, qword [0x1400d14a0]
mov dword [rdi + 0x3844], 0x41100000
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], r12
or dword [rdi + 8], 0x20
mov dword [rdi + 0x4a98], r12d
lea r9, [rbp + 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140072c20]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14006410b
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0x30], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140063c04
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.140010250
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov byte [rbp - 0x54], 1
mov dword [rbp - 0x48], 3
mov dword [rbp - 0x1c], 0x7f7fffff
mov dword [rbp - 0x10], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0xc], ax
mov dword [rbp - 0x44], 3
mov rbx, qword [rdi + 0x58]
call fcn.140069e34
lea rcx, str.tahoma.ttf
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 0xa
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140007430
mov dword [rbp + 0x40], 0x1003
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000e270
mov dword [rbp + 0x40], 0x1007
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400076e0
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rax, qword [rsp + 0x38]
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x38], rax
call fcn.140069e34
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14000e5f0
mov dword [rbp + 0x40], 0x103f
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea r9, [rbp - 0x60]
mov rcx, rbx
call fcn.140047d80
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140063d74
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063d6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063d6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae3c
movdqa xmm0, xmmword [0x1400c3190]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140063dcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063dc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063dc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae3c
movdqa xmm0, xmmword [0x1400c3170]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140063e24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063e1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063e1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae3c
mov rbx, qword [rdi + 0x58]
call fcn.140069e34
lea rcx, str.segoeui.ttf
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 0xb
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140007430
mov dword [rbp + 0x40], 0x10fb
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000e270
mov dword [rbp + 0x40], 0x11fb
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400076e0
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rax, qword [rsp + 0x38]
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x38], rax
call fcn.140069e34
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14000e5f0
mov dword [rbp + 0x40], 0x1ffb
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea r9, [rbp - 0x60]
mov rcx, rbx
call fcn.140047d80
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140063f1c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063f17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063f17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae3c
movdqa xmm0, xmmword [0x1400c3190]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140063f74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063f6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063f6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae3c
movdqa xmm0, xmmword [0x1400c3170]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140063fcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063fc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063fc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae3c
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x1400c3028]
lea rdx, [0x140079e00]
mov rcx, qword [rdi + 0x58]
call fcn.140048060
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x1400c3030]
lea rdx, [0x140079e00]
mov rcx, qword [rdi + 0x58]
call fcn.140048060
mov qword [0x1400d1c18], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x1400c3020]
lea rdx, [0x14009d6c0]
mov rcx, qword [rdi + 0x58]
call fcn.140048060
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x1400c3030]
lea rdx, [0x14009d6c0]
mov rcx, qword [rdi + 0x58]
call fcn.140048060
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x1400c3034]
lea rdx, [0x14009d6c0]
mov rcx, qword [rdi + 0x58]
call fcn.140048060
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x1400c3028]
lea rdx, [0x1400792d0]
mov rcx, qword [rdi + 0x58]
call fcn.140048060
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x1400c3040]
lea rdx, [0x1400792d0]
mov rcx, qword [rdi + 0x58]
call fcn.140048060
mov qword [0x1400d1c20], rax
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14006410b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064106
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064106
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae3c
mov rcx, qword [r14 + 0x50]
call fcn.14004e820
test al, al
je 0x14006424d
mov rdi, qword [0x1400d14a0]
test rdi, rdi
je 0x14006412e
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14006416f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x140064172
mov rbx, r12
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x30], r12
mov rax, qword [rsi]
lea r8, [rbp + 0x40]
lea rdx, [0x1400c21b8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x1400641ef
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
lea r8, [rbp + 0x48]
lea rdx, [0x1400c21c8]
call qword [rax + 0x30]
test eax, eax
jne 0x1400641ef
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
lea r8, [rbp + 0x30]
lea rdx, [0x1400c21d8]
call qword [rax + 0x30]
test eax, eax
jne 0x1400641ef
mov qword [rbx], rsi
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0x30]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1400641fe
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14006420d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov al, 1
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.14006a9b0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, str.ImGui_ImplWin32_Init___call_failed.
lea rcx, [rsp + 0x78]
call fcn.1400025f0
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400638e0
lea rdx, [0x1400ccc88]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3