Function at 0x180029510
Capabilities:
Get common file path

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r14, qword [0x180156ea0]
xor r15d, r15d
test r14, r14
je 0x18002954e
mov r14, qword [r14 + 0x98]
jmp 0x180029551
mov r14, r15
mov qword [rsp + 0x390], rbx
mov qword [rsp + 0x398], rsi
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x3a8], r12
cmp qword [r14], r15
je 0x1800296b5
cmp qword [r14 + 0x48], r15
je 0x180029585
call fcn.180029ae0
mov rax, qword [0x180156e30]
test rax, rax
jne 0x18002961e
mov edx, 0x104
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800296b5
mov rax, qword [0x180156e30]
mov ebx, 0x2f
nop dword [rax + rax]
test rax, rax
jne 0x18002961e
mov r9d, ebx
lea r8, [rbp + 0x150]
lea rdx, str._sd3dcompiler__02d.dll
lea rcx, [rbp - 0x20]
call fcn.18002baa0
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x180029607
lea rdx, str.D3DCompile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180156e30], rax
jmp 0x18002960e
mov rax, qword [0x180156e30]
dec ebx
cmp ebx, 0x21
jg 0x1800295c0
test rax, rax
je 0x1800296b5
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], rcx
lea r12, str.main
mov dword [rsp + 0x40], r15d
lea rcx, str.vs_4_0
mov dword [rsp + 0x38], r15d
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov qword [rsp + 0x28], r12
lea rcx, str.cbuffer_vertexBuffer_:_register_b0____________________________float4x4_ProjectionMatrix___________________________struct_VS_INPUT__________________________float2_pos_:_POSITION_______________float4_col_:_COLOR0_______________float2_uv__:_TEXCOORD0______________________________________struct_PS_INPUT__________________________float4_pos_:_SV_POSITION_______________float4_col_:_COLOR0_______________float2_uv__:_TEXCOORD0______________________________________PS_INPUT_main_VS_INPUT_input___________________________PS_INPUT_output_______________output.pos__mul__ProjectionMatrix__float4_input.pos.xy__0.f__1.f_________________output.col__input.col_______________output.uv___input.uv_______________return_output_____________
mov edx, 0x2dd
mov qword [rsp + 0x20], r15
call rax
test eax, eax
js 0x1800296b5
mov rsi, qword [r14]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x18]
lea rdx, [r14 + 0x28]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call rdi
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x1800296f3
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
mov r12, qword [rsp + 0x3a8]
mov rdi, qword [rsp + 0x3a0]
mov rsi, qword [rsp + 0x398]
mov rbx, qword [rsp + 0x390]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1800ec5e0
add rsp, 0x370
pop r15
pop r14
pop rbp
ret
mov rsi, qword [r14]
lea rax, str.POSITION
mov qword [rbp + 0xf0], rax
lea rax, str.TEXCOORD
mov qword [rbp + 0x110], rax
lea rax, str.COLOR
mov qword [rbp + 0x130], rax
mov dword [rbp + 0xf8], r15d
mov qword [rbp + 0xfc], 0x10
mov qword [rbp + 0x104], r15
mov dword [rbp + 0x10c], r15d
mov dword [rbp + 0x118], r15d
mov qword [rbp + 0x11c], 0x10
mov qword [rbp + 0x124], 8
mov dword [rbp + 0x12c], r15d
mov dword [rbp + 0x138], r15d
mov qword [rbp + 0x13c], 0x1c
mov qword [rbp + 0x144], 0x10
mov dword [rbp + 0x14c], r15d
mov rax, qword [rsi]
mov rdi, qword [rax + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x18]
lea rdx, [r14 + 0x30]
mov r8d, 3
mov qword [rsp + 0x28], rdx
mov r9, rax
lea rdx, [rbp + 0xf0]
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call rdi
mov rcx, qword [rsp + 0x60]
test eax, eax
mov rax, qword [rcx]
jne 0x1800296b2
call qword [rax + 0x10]
mov rcx, qword [r14]
lea r9, [r14 + 0x38]
mov qword [rbp - 0x80], r15
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x40
xor r8d, r8d
mov dword [rsp + 0x74], 2
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x7c], 0x10000
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rcx, str.struct_PS_INPUT________________________float4_pos_:_SV_POSITION_____________float4_col_:_COLOR0_____________float2_uv__:_TEXCOORD0__________________________sampler_sampler0_____________Texture2D_texture0_________________________float4_main_PS_INPUT_input__:_SV_Target________________________float4_out_col__input.col__texture0.Sample_sampler0__input.uv_______________return_out_col______________
mov dword [rsp + 0x40], r15d
lea rax, str.ps_4_0
mov dword [rsp + 0x38], r15d
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov qword [rsp + 0x28], r12
mov edx, 0x191
mov qword [rsp + 0x20], r15
call qword [0x180156e30]
test eax, eax
js 0x1800296b5
mov rsi, qword [r14]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x68]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x18]
lea rdx, [r14 + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call rdi
mov rcx, qword [rsp + 0x68]
test eax, eax
mov rax, qword [rcx]
jne 0x1800296b2
call qword [rax + 0x10]
xor eax, eax
lea rcx, [rbp + 5]
xor edx, edx
mov dword [rbp - 0x1c], eax
mov r8d, 0xe3
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14]
lea r8, [r14 + 0x60]
movdqa xmm0, xmmword [0x180132cf0]
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], r15d
mov dword [rbp - 0x18], 1
mov dword [rbp - 0x14], 5
movdqa xmmword [rbp - 0x10], xmm0
mov dword [rbp], 1
mov byte [rbp + 4], 0xf
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [r14]
lea r8, [r14 + 0x58]
xorps xmm0, xmm0
mov qword [rbp - 0x58], r15
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x78], 3
lea rdx, [rbp - 0x78]
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x5c], 1
mov dword [rbp - 0x60], 1
mov rax, qword [rcx]
call qword [rax + 0xb0]
movdqa xmm0, xmmword [0x180132c50]
lea r8, [r14 + 0x68]
mov rcx, qword [r14]
lea rdx, [rbp + 0xf0]
movdqu xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x10c], 1
mov dword [rbp + 0x108], 1
mov dword [rbp + 0x104], 1
mov dword [rbp + 0x110], 8
movups xmm0, xmmword [rbp + 0x104]
mov dword [rbp + 0x100], r15d
movups xmmword [rbp + 0x114], xmm0
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov rsi, qword [0x180156ea0]
test rsi, rsi
je 0x1800299b7
mov rbx, qword [rsi + 0x98]
jmp 0x1800299ba
mov rbx, r15
mov rcx, qword [rsi + 0x38]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
call fcn.1800cc1c0
mov eax, dword [rsp + 0x60]
lea r9, [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
lea r8, [rsp + 0x70]
mov dword [rbp - 0x4c], eax
lea rdx, [rbp - 0x50]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
lea eax, [rcx*4]
mov dword [rbp - 0x50], ecx
mov rcx, qword [rbx]
mov qword [rbp - 0x3c], 1
mov qword [rbp - 0x2c], r15
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 1
mov dword [rbp - 0x40], 0x1c
mov dword [rbp - 0x34], r15d
mov dword [rbp - 0x30], 8
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], r15d
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x60]
mov eax, dword [rbp - 0x48]
mov qword [rbp - 0x68], r15
mov dword [rbp - 0x78], 0x1c
mov qword [rbp - 0x74], 4
mov dword [rbp - 0x6c], eax
test rdx, rdx
je 0x180029a81
mov rcx, qword [rbx]
lea r9, [rbx + 0x50]
lea r8, [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x38]
lea r8, [rbx + 0x48]
mov rax, qword [rbx + 0x50]
lea rdx, [rbp + 0xf0]
movdqa xmm1, xmmword [0x180132c80]
xorps xmm0, xmm0
mov qword [rbp + 0x100], r15
mov qword [rcx + 8], rax
mov rcx, qword [rbx]
movdqu xmmword [rbp + 0x10c], xmm0
mov dword [rbp + 0x108], 8
movdqu xmmword [rbp + 0xf0], xmm1
mov qword [rbp + 0x11c], r15
mov rax, qword [rcx]
call qword [rax + 0xb8]
mov al, 1
jmp 0x1800296b7