Function at 0x18006fc80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rsi, qword [0x1800f4ce8]
movzx r15d, dl
mov r14, rcx
mov rdi, qword [rsi + 0x18]
mov rbx, qword [rsi + 0x10]
cmp rbx, rdi
je 0x18006fcdf
nop dword [rax]
mov rax, qword [0x1800f4ce0]
mov rcx, qword [rbx + 8]
mov r8, qword [rax + 0x38]
call r8
mov qword [rbx + 8], rax
add rbx, 0x20
cmp rbx, rdi
jne 0x18006fcc0
mov rdi, qword [rsi + 0x30]
mov rbx, qword [rsi + 0x28]
cmp rbx, rdi
je 0x18006fd0e
nop dword [rax]
mov rax, qword [0x1800f4ce0]
mov rcx, qword [rbx + 8]
mov rdx, qword [rax + 0x38]
call rdx
mov qword [rbx + 8], rax
add rbx, 0x10
cmp rbx, rdi
jne 0x18006fcf0
mov rcx, qword [0x1800f4cf0]
lea rdx, str.Skin_database_loaded__n
call fcn.18006e8b0
mov rbx, qword [0x1800f6b70]
test rbx, rbx
je 0x18006fd33
inc dword [rbx + 0xf0]
mov ecx, 0x5e78
call fcn.18008ad58
xor r12d, r12d
test rax, rax
je 0x18006fd51
xor edx, edx
mov rcx, rax
call fcn.180018230
jmp 0x18006fd54
mov rax, r12
mov qword [0x1800f6b70], rax
call fcn.18001e000
test rbx, rbx
je 0x18006fd6e
mov qword [0x1800f6b70], rbx
jmp 0x18006fd75
mov rbx, qword [0x1800f6b70]
call fcn.18006db70
mov ecx, dword [0x1800f58d0]
lea rdi, [0x1800f72a8]
mov rax, qword gs:[0x58]
mov edx, 4
mov dword [rbx + 0x37d0], 0x41400000
mov dword [rbx + 0x37d4], 0x41000000
mov rax, qword [rax + rcx*8]
mov dword [rbx + 0x37dc], r12d
mov dword [rbx + 0x37e8], 0x3f000000
mov dword [rbx + 0x37ec], 0x3f000000
mov eax, dword [rdx + rax]
mov dword [rbx + 0x3848], 0x40c00000
cmp dword [0x1800f7298], eax
jle 0x18006ff4f
lea rcx, [0x1800f7298]
call fcn.180077ba0
cmp dword [0x1800f7298], 0xffffffff
jne 0x18006ff4f
call fcn.1800762e0
lea rcx, str.imgui.ini
mov qword [rsp + 0x38], 9
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x58]
mov edx, eax
call fcn.1800036b0
lea rdx, [0x1800f4cf8]
lea rcx, [rsp + 0x60]
call fcn.180003bf0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180003bf0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.1800038f0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18006f870
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18006fea1
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fe9c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007077a
call fcn.180077b2c
mov rdx, qword [rsp + 0x78]
movdqa xmm0, xmmword [0x1800e21b0]
mov word [rsp + 0x40], r12w
movdqu xmmword [rsp + 0x50], xmm0
cmp rdx, 8
jb 0x18006fef7
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fef2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007077a
call fcn.180077b2c
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18006ff37
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006ff32
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007077a
call fcn.180077b2c
lea rcx, [0x1800a5130]
call fcn.180077fbc
lea rcx, [0x1800f7298]
call fcn.180077b34
cmp qword [0x1800f72c0], 0x10
lea rdx, str.ImGui_Path:__s_n
mov rcx, qword [0x1800f4cf0]
mov r8, rdi
cmovae r8, qword [0x1800f72a8]
call fcn.18006e8b0
cmp qword [0x1800f72c0], 0x10
lea r9, [rbp + 0xa0]
lea rcx, [0x1800a65e0]
cmovae rdi, qword [0x1800f72a8]
xor r8d, r8d
or dword [rbx + 8], 0x20
xor edx, edx
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], r12
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1800704e3
mov rcx, qword [rbp + 0xa0]
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x30], rcx
inc rax
cmp word [rcx + rax*2], r12w
jne 0x18006ffc5
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x58]
call fcn.180014310
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, qword [rbx + 0x38]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor eax, eax
mov dword [rbp - 0x18], 2
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x50], rax
mov eax, 0xffff
movups xmmword [rbp - 0x30], xmm0
mov word [rbp + 0x24], ax
movups xmmword [rbp + 0x10], xmm0
mov byte [rbp - 0x24], 1
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x14], 1
movups xmmword [rbp], xmm0
mov dword [rbp + 0x14], 0x7f7fffff
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x20], 0x3f800000
movups xmmword [rbp + 0x40], xmm0
mov dword [rbp - 0x1c], 0x41700000
call fcn.1800762e0
lea rcx, str.tahoma.ttf
mov qword [rsp + 0x38], 0xa
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x78]
mov edx, eax
call fcn.1800036b0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.180003bf0
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.1800038f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18006f870
cmp qword [rax + 0x18], 0x10
jb 0x1800700ab
mov rax, qword [rax]
movss xmm2, dword [0x1800e2094]
lea rcx, [0x1800db660]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x30]
mov rcx, rdi
mov rdx, rax
call fcn.180045010
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18007010b
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180070106
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180070780
call fcn.180077b2c
mov rdx, qword [rsp + 0x58]
movdqa xmm0, xmmword [0x1800e21d0]
mov byte [rsp + 0x60], r12b
movdqu xmmword [rsp + 0x70], xmm0
cmp rdx, 8
jb 0x180070160
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007015b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180070780
call fcn.180077b2c
mov rdx, qword [rbp - 0x60]
movdqa xmm0, xmmword [0x1800e21b0]
mov word [rsp + 0x40], r12w
movdqu xmmword [rsp + 0x50], xmm0
cmp rdx, 8
jb 0x1800701b4
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800701af
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180070780
call fcn.180077b2c
mov rdi, qword [rbx + 0x38]
mov byte [rbp + 0x18], 1
call fcn.1800762e0
lea rcx, str.malgun.ttf
mov qword [rsp + 0x38], 0xa
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x78]
mov edx, eax
call fcn.1800036b0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.180003bf0
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.1800038f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18006f870
cmp qword [rax + 0x18], 0x10
jb 0x18007021b
mov rax, qword [rax]
movss xmm2, dword [0x1800e2094]
lea rcx, [0x1800df030]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x30]
mov rcx, rdi
mov rdx, rax
call fcn.180045010
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18007027b
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180070276
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180070786
call fcn.180077b2c
mov rdx, qword [rsp + 0x58]
movdqa xmm0, xmmword [0x1800e21d0]
mov byte [rsp + 0x60], r12b
movdqu xmmword [rsp + 0x70], xmm0
cmp rdx, 8
jb 0x1800702d0
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800702cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180070786
call fcn.180077b2c
mov rdx, qword [rbp - 0x60]
movdqa xmm0, xmmword [0x1800e21b0]
mov word [rsp + 0x40], r12w
movdqu xmmword [rsp + 0x50], xmm0
cmp rdx, 8
jb 0x180070324
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007031f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180070786
call fcn.180077b2c
mov rbx, qword [rbx + 0x38]
call fcn.1800762e0
lea rcx, str.msyh.ttc
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x78]
mov edx, eax
call fcn.1800036b0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.180003bf0
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.1800038f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18006f870
cmp qword [rax + 0x18], 0x10
jb 0x180070387
mov rax, qword [rax]
movss xmm2, dword [0x1800e2094]
lea rcx, [0x1800df008]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x30]
mov rcx, rbx
mov rdx, rax
call fcn.180045010
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1800703e7
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800703e2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007078c
call fcn.180077b2c
mov rdx, qword [rsp + 0x58]
movdqa xmm0, xmmword [0x1800e21d0]
mov byte [rsp + 0x60], r12b
movdqu xmmword [rsp + 0x70], xmm0
cmp rdx, 8
jb 0x18007043c
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180070437
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007078c
call fcn.180077b2c
mov rdx, qword [rbp - 0x60]
movdqa xmm0, xmmword [0x1800e21b0]
mov word [rsp + 0x40], r12w
movdqu xmmword [rsp + 0x50], xmm0
cmp rdx, 8
jb 0x180070490
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007048b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007078c
call fcn.180077b2c
mov rcx, qword [0x1800f4cf0]
lea rdx, str.Fonts_loaded__n
call fcn.18006e8b0
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1800704e3
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800704de
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180070774
call fcn.180077b2c
mov rcx, qword [0x1800f4ce0]
mov rcx, qword [rcx + 8]
call fcn.18004bae0
test r15b, r15b
je 0x1800706ac
mov rax, qword [r14]
lea r8, [0x1800f6b98]
lea rdx, [0x1800dfc08]
mov qword [0x1800f6bc0], r14
mov rcx, r14
call qword [rax + 0x38]
mov rcx, qword [0x1800f6b98]
lea rdx, [0x1800f6bb8]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rcx, qword [0x1800f6bc0]
lea r9, [rbp + 0xa0]
lea r8, [0x1800dfc18]
mov qword [rbp + 0xa0], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x180070585
mov rcx, qword [0x1800f6b98]
lea r9, [0x1800f6ba0]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [0x1800f6b70]
mov r14, qword [0x1800f6bb8]
mov rsi, qword [0x1800f6b98]
test rdi, rdi
je 0x1800705a5
inc dword [rdi + 0xf0]
mov ecx, 0x78
call fcn.18008ad58
mov rbx, rax
test rax, rax
je 0x1800705e5
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 0x1800705e8
mov rbx, r12
or dword [rdi + 0xc], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
lea r8, [rbp + 0xa8]
mov qword [rdi + 0x98], rbx
lea rdx, [0x1800df518]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rbp + 0xa8], r12
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x30], r12
call qword [rax]
test eax, eax
jne 0x180070671
mov rcx, qword [rbp + 0xa8]
lea r8, [rbp - 0x80]
lea rdx, [0x1800df528]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x180070671
mov rcx, qword [rbp - 0x80]
lea r8, [rsp + 0x30]
lea rdx, [0x1800df538]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x180070671
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x180070683
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180070692
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]
call fcn.18004a830
jmp 0x180070714
mov rbx, qword [0x1800f6b70]
test rbx, rbx
je 0x1800706be
inc dword [rbx + 0xf0]
mov ecx, 0x28
call fcn.18008ad58
test rax, rax
je 0x1800706ec
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x1800706ef
mov rax, r12
or dword [rbx + 0xc], 8
lea rcx, [0x1800df548]
mov qword [rbx + 0x88], rcx
mov rcx, r14
mov qword [rbx + 0x98], rax
mov qword [rax], r14
mov rax, qword [r14]
call qword [rax + 8]
mov rcx, qword [0x1800f4ce0]
lea r8, [0x18006fa30]
mov edx, 0xfffffffc
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x1800f4cf0]
lea r9, [0x18006fa30]
lea r8, [0x1800f72a0]
mov qword [0x1800f72a0], rax
lea rdx, str.WndProc_hooked__n_tOriginal:_0x_X_n_tNew:_0x_X_n
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
jmp fcn.18006e8b0
call fcn.1800877ec
int3
call fcn.1800877ec
int3
call fcn.1800877ec
int3
call fcn.1800877ec
int3
call fcn.1800877ec
int3