Function at 0x140003070
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400f9040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, qword [0x1400fc448]
test rbx, rbx
je 0x1400030b7
inc dword [rbx + 0xf4]
mov ecx, 0x5dd8
call fcn.14007dac0
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400030e4
xor edx, edx
mov rcx, rax
call fcn.1400056a0
nop
mov qword [0x1400fc448], rax
call fcn.140009ca0
test rbx, rbx
je 0x1400030fc
mov qword [0x1400fc448], rbx
xor ecx, ecx
call fcn.140027120
mov rbx, qword [0x1400fc448]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea r8, str.MicrosoftWindowsFonts_smallest_pixel_7.ttf
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.14006fab0
movss xmm2, dword [0x1400e876c]
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x58]
call fcn.14002bcc0
mov rcx, qword [0x1400fc528]
mov qword [rcx], rax
mov rax, qword [0x1400fc528]
mov dword [rax + 8], 0x41200000
mov rsi, qword [0x1400fc480]
mov rbx, qword [0x1400fc448]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400032ba
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400032ba
mov rax, qword [0x1400fc448]
test rax, rax
je 0x1400031ad
inc dword [rax + 0xf4]
mov ecx, 0x48
call fcn.14007dac0
mov rdi, rax
test rax, rax
je 0x1400031d9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x1400031db
xor edi, edi
mov qword [rbx + 0x98], rdi
lea rax, [0x1400e7b38]
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1400fc448]
mov rcx, qword [rax + 0x4878]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
mov byte [rdi + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x50], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x58], rax
xor ebx, ebx
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14000328e
inc rbx
cmp rbx, 5
jl 0x140003270
jmp 0x1400032ba
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov r14, qword [0x1400fc4e0]
mov rsi, qword [0x1400fc4d8]
mov rdi, qword [0x1400fc448]
test rdi, rdi
je 0x1400032da
inc dword [rdi + 0xf4]
mov ecx, 0x78
call fcn.14007dac0
mov rbx, rax
test rax, rax
je 0x14000331a
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 0x14000331c
xor ebx, ebx
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 8
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], 0
mov rax, qword [rsi]
lea r8, [rsp + 0x68]
lea rdx, [0x1400e7b08]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x1400033ae
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1400e7b18]
call qword [rax + 0x30]
test eax, eax
jne 0x1400033ae
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x1400e7b28]
call qword [rax + 0x30]
test eax, eax
jne 0x1400033ae
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400033be
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400033ce
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 rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140049d30
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret