Function at 0x1400439c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400b0020]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
mov dword [rbp + 0x110], r15d
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.14002c3d0
test eax, eax
je 0x140043a87
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400b2834], eax
jle 0x140043a60
lea rcx, [0x1400b2834]
call fcn.14004a3ac
cmp dword [0x1400b2834], 0xffffffff
jne 0x140043a60
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400b2820], rax
lea rcx, [0x1400b2834]
call fcn.14004a340
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x1400b2820]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140043a87
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140043b0c
mov edx, 3
lea ecx, [rdx + 3]
call fcn.14002c3d0
test eax, eax
je 0x140043b06
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400b2830], eax
jle 0x140043ae4
lea rcx, [0x1400b2830]
call fcn.14004a3ac
cmp dword [0x1400b2830], 0xffffffff
jne 0x140043ae4
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400b2828], rax
lea rcx, [0x1400b2830]
call fcn.14004a340
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1400b2828]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140043b06
mov ecx, 2
call rax
jmp 0x140043b0c
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1400b27a0], 0x50
mov dword [0x1400b27a4], 0x40
lea rcx, [0x140042f30]
mov qword [0x1400b27a8], rcx
mov qword [0x1400b27b0], r15
mov qword [0x1400b27b8], rax
xorps xmm0, xmm0
movdqa xmmword [0x1400b27c0], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x1400b27d0], xmm1
lea rax, str.Class
mov qword [0x1400b27e0], rax
mov qword [0x1400b27e8], r15
lea rcx, [0x1400b27a0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r15
mov rax, qword [0x1400b27b8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x15e
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
lea r8, [0x1400a1964]
mov rdx, qword [0x1400b27e0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
mov qword [0x1400b27f0], rax
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x1400b2800], rax
test rax, rax
je 0x140044309
mov qword [0x1400b2840], r15
mov qword [0x1400b284c], r15
mov dword [0x1400b2854], r15d
mov qword [0x1400b285c], r15
mov dword [0x1400b2864], r15d
mov qword [0x1400b2874], r15
mov dword [0x1400b2868], 1
mov dword [0x1400b2858], 1
mov dword [0x1400b2848], r15d
mov dword [0x1400b286c], 1
mov dword [0x1400b2870], 0x50
mov dword [0x1400b287c], 1
mov rax, qword [rax]
lea r8, [0x1400b27f8]
mov qword [rsp + 0x30], r8
lea r8, [0x1400b2840]
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 0x40
mov r9, rbx
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x80]
test eax, eax
js 0x140044302
mov edx, 0xa
mov rcx, qword [0x1400b27f0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400b27f0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400b2718]
test rax, rax
je 0x140043cc9
inc dword [rax + 0xec]
mov ecx, 0x61d8
call fcn.140059fc0
mov qword [rbp + 0x118], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x110], rcx
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140043cfc
xor edx, edx
mov rcx, rax
call fcn.1400022a0
jmp 0x140043cff
mov rax, r15
cmp qword [0x1400b2718], 0
jne 0x140043d10
mov qword [0x1400b2718], rax
mov rcx, rax
call fcn.140008fc0
mov rax, qword [0x1400b2718]
lea rcx, [rax + 8]
mov qword [0x1400b2788], rcx
add rax, 0x3778
mov qword [0x1400b2790], rax
or dword [rcx], 1
lea r9, [rbp + 0x118]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140070620]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140043fba
mov rdx, qword [rbp + 0x118]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140043d70
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r15
lea rcx, [rbp + 0x120]
call fcn.1400466a0
nop
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [0x1400b2788]
mov rbx, qword [rax + 0x48]
call fcn.1400493d0
lea rcx, str.Arial.ttf
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 9
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.1400454f0
mov dword [rbp + 0x110], 0xf
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x58]
call fcn.140048170
mov dword [rbp + 0x110], 0x1f
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.140046430
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x78], rax
call fcn.1400493d0
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140045650
mov dword [rbp + 0x110], 0xff
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rax, [0x1400a0adc]
mov qword [rsp + 0x20], rax
movss xmm2, dword [0x1400a1c1c]
mov rcx, rbx
call fcn.1400257c0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140043ebf
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043eba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004438b
call fcn.140049f30
movdqa xmm0, xmmword [0x1400a1d10]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140043f10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044391
call fcn.140049f30
movdqa xmm0, xmmword [0x1400a1d00]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140043f62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044397
call fcn.140049f30
movdqa xmm0, xmmword [0x1400a1d00]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x140043fba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043fb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044385
call fcn.140049f30
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x10], xmm6
movups xmmword [rbp], xmm6
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x30], xmm6
movups xmmword [rbp + 0x40], xmm6
mov qword [rbp + 0x70], rax
mov byte [rbp - 4], 1
mov dword [rbp + 8], 3
mov dword [rbp + 0xc], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov dword [rbp + 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x44], ax
mov byte [rbp + 0x38], 1
mov byte [rbp + 0x10], 1
mov rax, qword [0x1400b2788]
mov r14, qword [rax + 0x48]
mov rax, qword [0x1400b2718]
test rax, rax
je 0x140044025
inc dword [rax + 0xec]
mov ecx, 0x317f8
call fcn.140059fc0
mov rsi, rax
lea rax, [0x14007e0a0]
mov qword [0x1400b2730], rax
lea rdi, [rsi + 0x317f8]
mov qword [0x1400b2738], rdi
mov qword [0x1400b2740], rsi
mov qword [0x1400b2748], rsi
lea rbx, [0x14007e0b0]
mov rcx, rbx
call fcn.140029830
cmp rax, rbx
je 0x140044089
cmp qword [0x1400b2748], rdi
ja 0x140044089
mov rbx, rax
mov rcx, rax
call fcn.140029830
cmp rax, rbx
jne 0x140044070
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x80], xmm0
movaps xmm2, xmmword [rbp]
movaps xmm3, xmmword [rbp + 0x10]
movaps xmm4, xmmword [rbp + 0x30]
movaps xmm5, xmmword [rbp + 0x40]
movsd xmm1, qword [rbp + 0x70]
mov byte [rbp + 0x8c], 1
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm2
movaps xmmword [rbp + 0x10], xmm3
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x30], xmm4
movaps xmmword [rbp + 0x40], xmm5
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x60], xmm6
movsd qword [rbp + 0x70], xmm1
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], 0x317f8
mov dword [rbp + 4], 0x41200000
lea rax, [0x1400a19b4]
mov qword [rbp + 0x28], rax
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.140025510
mov rax, qword [0x1400b2790]
mov dword [rax + 0x74], 0x40a00000
mov dword [rax + 0x80], 0x40a00000
mov dword [rax + 0x7c], 0x41200000
mov dword [rax + 0x44], 0x40000000
mov dword [rax + 0x88], 0x40800000
mov rax, qword [0x1400b2788]
mov qword [rax + 0x18], r15
mov rsi, qword [0x1400b27f0]
mov rbx, qword [0x1400b2718]
lea rcx, [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14004428f
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004428f
mov rax, qword [0x1400b2718]
test rax, rax
je 0x14004418a
inc dword [rax + 0xec]
mov ecx, 0x48
call fcn.140059fc0
mov rdi, rax
test rax, rax
je 0x1400441b6
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 0x1400441b9
mov rdi, r15
mov qword [rbx + 0x90], rdi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0x80], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 0x118]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x110]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1400b2718]
mov rcx, qword [rax + 0x4030]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x78], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x68], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x60], rax
mov rbx, r15
mov rcx, qword [rbp + rbx*8 - 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140044263
inc rbx
cmp rbx, 5
jl 0x140044245
jmp 0x14004428f
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 rdi, qword [0x1400b27f8]
mov rbx, qword [0x1400b2718]
test rbx, rbx
je 0x1400442a8
inc dword [rbx + 0xec]
mov ecx, 0x28
call fcn.140059fc0
test rax, rax
je 0x1400442d6
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x1400442d9
mov rax, r15
mov qword [rbx + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov al, 1
jmp 0x140044354
mov rcx, qword [0x1400b2800]
mov rdx, qword [0x1400b27f8]
test rdx, rdx
je 0x14004432c
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x1400b27f8], r15
mov rcx, qword [0x1400b2800]
test rcx, rcx
je 0x14004433e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400b2800], r15
mov rdx, qword [0x1400b27b8]
mov rcx, qword [0x1400b27e0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140049f10
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140050994
nop
call fcn.140050994
nop
call fcn.140050994
nop
call fcn.140050994
int3