Function at 0x18002e300
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6c28]
mov eax, 0x6d28
call fcn.18006ece0
sub rsp, rax
imul edi, edx, 0x575
xor r13d, r13d
mov r14, r9
mov esi, edx
mov r9, rcx
mov ebx, edx
cmp edx, edi
ja 0x18002e637
mov r15, qword [rbp + 0x6c90]
lea ecx, [r13 + 0x4f]
mov r12, qword [rbp + 0x6ca0]
lea edx, [rcx + 0x21]
lea r10d, [r13 + 0x6f]
mov eax, 0x72
cmp ebx, 0x2500
ja 0x18002e502
je 0x18002e4e2
mov eax, ebx
sub eax, 0x3f
je 0x18002e4d3
sub eax, 0xb
je 0x18002e419
sub eax, 0xa2
je 0x18002e67f
sub eax, 0x3b
je 0x18002e3ee
cmp eax, 0x1e59
jne 0x18002e623
movzx eax, word [0x1800a3894]
lea rcx, [rsp + 0x48]
mov word [rsp + 0x4a], ax
dec rcx
movzx eax, byte [0x1800a3896]
mov byte [rsp + 0x4c], al
nop dword [rax]
cmp byte [rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x18002e3d0
movzx eax, word [0x1800a3858]
mov word [rcx], ax
mov ecx, 0x4f
jmp 0x18002e623
movzx eax, word [r14]
mov word [rbp + 0xa78], ax
movzx eax, word [r12]
mov word [rbp + 0xa7a], ax
mov qword [rbp + 0xb82], r13
mov word [rbp + 0xb8a], r13w
jmp 0x18002e623
xor edx, edx
lea rcx, [rbp + 0x2e0]
mov r8d, 0x104
call fcn.180070440
lea rcx, [rbp - 0x70]
mov edx, 2
lea rax, [rbp + 0x2e0]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18002e440
mov eax, dword [rax]
lea rdx, [rbp - 0x70]
mov dword [rcx], eax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, str.Trekk_ut_MP3_Fil
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.1800732f0
mov r8, qword [rbp + 0x6c80]
mov ecx, 0x4f
lea edx, [rcx + 0x21]
lea r10d, [rcx + 0x20]
jmp 0x18002e623
mov word [rsp + 0x48], cx
mov word [rsp + 0x49], dx
jmp 0x18002e623
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, qword [rbp + 0x6c80]
mov ecx, 0x4f
lea edx, [rcx + 0x21]
lea r10d, [rcx + 0x20]
jmp 0x18002e623
cmp ebx, 0x3ec1
je 0x18002e61e
cmp ebx, 0x49b6
je 0x18002e593
cmp ebx, 0x5e02
je 0x18002e588
cmp ebx, 0x9380
je 0x18002e55c
cmp ebx, 0x125d9
jne 0x18002e623
mov ecx, 0xffffffee
lea rdx, [rbp + 0x630]
call qword [0x1800d5910]
mov r8, qword [rbp + 0x6c80]
mov ecx, 0x4f
lea edx, [rcx + 0x21]
lea r10d, [rcx + 0x20]
jmp 0x18002e623
movzx eax, word [r15]
mov word [rbp + 0xba6], ax
movzx eax, word [r8]
mov word [rbp + 0xba8], ax
mov rax, qword [rbp + 0x6c98]
movzx eax, word [rax]
mov word [rbp + 0xbaa], ax
jmp 0x18002e623
mov word [rsp + 0x4e], r10w
jmp 0x18002e623
test r14, r14
je 0x18002e5ca
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18002e5b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x18002e609
xor edx, edx
xor ecx, ecx
mov r8d, 0x106
call fcn.180035080
jmp 0x18002e5a0
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18002e609
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x18002e609
xor edx, edx
xor ecx, ecx
mov r8d, 0x106
call fcn.180035080
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18002e5e0
mov r8, qword [rbp + 0x6c80]
mov ecx, 0x4f
lea edx, [rcx + 0x21]
lea r10d, [rcx + 0x20]
jmp 0x18002e623
mov word [rsp + 0x4d], ax
imul eax, esi, 0x7f
add ebx, eax
cmp ebx, edi
jbe 0x18002e368
mov r9, qword [rbp + 0x6c70]
mov ebx, dword [rbp + 0x6c78]
lea eax, [rbx - 0xa]
mov dword [rsp + 0x70], eax
cmp ebx, eax
jbe 0x18002ef32
movabs rdi, 0x6e00720065006b
lea eax, [rbx - 0x37]
lea rdx, [0x180000000]
cmp eax, 0xf0
ja case.0x18002e67d.59
movzx eax, byte [rdx + rax + 0x2ef74]
mov ecx, dword [rdx + rax*4 + 0x2ef4c]
add rcx, rdx
jmp rcx
mov eax, dword [r14 + 0x218]
lea rdx, [0x180000000]
dec eax
movsxd rcx, eax
mov eax, dword [rdx + rcx*4 + 0x2f068]
add rax, rdx
jmp rax
mov eax, dword [rbp + 0x6c78]
mov esi, 0x2c
nop dword [rax]
mov ecx, esi
sub ecx, 0x2c
je 0x18002e6c5
cmp ecx, 1
je 0x18002ef38
jmp 0x18002e78c
mov ebx, dword [r12]
cmp ebx, dword [r14 + 8]
jae 0x18002e786
mov rcx, qword [r14]
mov edi, ebx
add rcx, rdi
movzx eax, byte [rcx]
cmp al, 0xd
je 0x18002e786
cmp al, 0xa
je 0x18002e786
cmp al, 0x3c
jne 0x18002e77a
lea r9, [rbp + 0x6c78]
mov dword [rbp + 0x6c78], 9
lea r8, str.__script_
mov edx, r10d
call fcn.180051b60
test eax, eax
jne 0x18002e800
mov rcx, qword [r14]
lea r9, [rbp + 0x6c78]
add rcx, rdi
mov dword [rbp + 0x6c78], 8
lea r8, str.__style_
lea edx, [rax + 0x6f]
call fcn.180051b60
test eax, eax
jne 0x18002e7f0
mov rcx, qword [r14]
lea r9, [rbp + 0x6c78]
add rcx, rdi
mov dword [rbp + 0x6c78], 6
lea r8, str.__pre_
lea edx, [rax + 0x6f]
call fcn.180051b60
test eax, eax
jne 0x18002e7e0
lea r10d, [rax + 0x6f]
inc ebx
cmp ebx, dword [r14 + 8]
jb 0x18002e6d3
mov dword [r15], ebx
mov eax, r13d
inc esi
cmp esi, 0x2e
jb 0x18002e6b0
mov eax, dword [r12]
lea r9, [rbp + 0x6c78]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
lea rax, [0x1800a38bc]
mov dword [rbp + 0x6c78], 3
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, r14
mov dword [rsp + 0x20], 0x57
call fcn.180015830
neg eax
sbb eax, eax
and eax, 2
jmp 0x18002ef38
lea eax, [rbx + 6]
mov dword [r15], eax
mov eax, 1
jmp 0x18002ef38
lea eax, [rbx + 8]
mov dword [r15], eax
mov eax, 1
jmp 0x18002ef38
lea eax, [rbx + 9]
mov dword [r15], eax
mov eax, 1
jmp 0x18002ef38
mov ebx, 0xe1
nop word [rax + rax]
mov eax, ebx
sub eax, 0xe1
je 0x18002e995
sub eax, 0x23
je 0x18002e946
sub eax, 0x721f
je 0x18002e9cc
cmp eax, 0x11e9
je 0x18002e9cc
jmp 0x18002e9ba
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
movsxd rcx, eax
sub rcx, 0x471
je 0x18002e96e
cmp rcx, 0xf
jne 0x18002e986
test qword [0x1800d57d0], 0x4000
jmp 0x18002e979
test qword [0x1800d57d0], 0x100
je 0x18002e986
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov ebx, 0x104
mov dword [rsp + 0x78], 1
jmp 0x18002e9ba
xor r8d, r8d
lea rcx, str.kernel32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
add ebx, 0x7242
cmp ebx, 0x1c908
jbe 0x18002e920
mov rax, qword [rsp + 0x78]
mov ebx, dword [rbp + 0x6c78]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x40], r13
jmp case.0x18002e67d.59
mov qword [rsp + 0x60], r13
jmp case.0x18002e67d.59
movzx eax, word [rbp + 0xb8a]
mov word [0x1800d5918], ax
jmp case.0x18002e67d.59
mov eax, dword [0x1800a38dc]
lea rcx, [rsp + 0x48]
dec rcx
mov dword [rsp + 0x4f], eax
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18002ea14
movzx eax, word [0x1800a38e0]
mov word [rcx], ax
jmp case.0x18002e67d.59
cmp dword [r9], 0
jne 0x18002ec21
cmp qword [r14], 0
je 0x18002ec21
mov eax, 0x101
mov dword [rsp + 0x30], eax
nop word [rax + rax]
sub eax, 0x100
je 0x18002eab6
cmp eax, 1
jne 0x18002ea89
mov rax, qword [rbp + 0x6ca0]
lea r8, [rsp + 0x38]
mov edx, 0x2000
lea rcx, [rbp + 0xc20]
call qword [rax]
test eax, eax
je 0x18002ef2b
mov eax, dword [rsp + 0x38]
shr eax, 2
mov dword [rsp + 0x5c], eax
mov ebx, dword [rbp + 0x6c78]
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp eax, 0xff
ja 0x18002ea50
mov r14, qword [rbp + 0x6c88]
movabs rdi, 0x6e00720065006b
jmp case.0x18002e67d.59
xor edi, edi
mov r13d, edi
cmp dword [rsp + 0x5c], edi
jbe 0x18002ea89
lea r12, [rbp + 0xc20]
nop dword [rax + rax]
mov r8d, dword [r12]
xor edx, edx
mov ecx, 0x410
call qword [rbp - 0x78]
mov r15, rax
test rax, rax
je 0x18002ebfb
mov rcx, rax
lea r9, [rsp + 0x38]
mov rax, qword [rbp + 0x6c90]
lea rdx, [rbp + 0x2c20]
mov r8d, 0x4000
call qword [rax]
test eax, eax
je 0x18002ebfb
mov r14d, 0x91
nop word [rax + rax]
cmp r14d, 0x91
je 0x18002ebd4
cmp r14d, 0xf4b
je 0x18002eb53
cmp r14d, 0x1e05
jne 0x18002ebdf
mov ebx, 0x38
mov dword [rbp + 0x6c78], ebx
jmp 0x18002ebe5
cmp dword [rsp + 0x58], 0
mov esi, edi
jbe 0x18002ebdf
lea rbx, [rbp + 0x2c20]
nop word [rax + rax]
mov rax, qword [rbp + 0x6c80]
lea r8, [rbp + 0x520]
mov rdx, qword [rbx]
mov r9d, 0x104
mov rcx, r15
call qword [rax]
test eax, eax
je 0x18002ebc6
mov rcx, qword [rbp + 0x6c98]
call fcn.1800737f4
lea rcx, [rbp + 0x520]
mov rdi, rax
call fcn.1800737f4
mov rdx, rdi
mov rcx, rax
call fcn.18006fa90
test rax, rax
jne 0x18002e806
xor edi, edi
mov qword [rsp + 0x40], rdi
inc esi
add rbx, 8
cmp esi, dword [rsp + 0x58]
jb 0x18002eb70
jmp 0x18002ebdf
mov eax, dword [rsp + 0x38]
shr eax, 3
mov dword [rsp + 0x58], eax
mov ebx, dword [rbp + 0x6c78]
add r14d, 0xeba
cmp r14d, 0x2c2e
jbe 0x18002eb20
jmp 0x18002ec01
mov ebx, dword [rbp + 0x6c78]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r13d
add r12, 4
cmp r13d, dword [rsp + 0x5c]
jb 0x18002ead0
jmp 0x18002ea8f
mov r12d, 0xeb
cmp r12d, 0xeb
je 0x18002ec42
cmp r12d, 0x1d60
je 0x18002ef2b
jmp 0x18002ee27
lea rcx, str.SCEraseShape
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r15, rax
test rax, rax
je 0x18002ef1e
mov r14d, 0xdb
mov ecx, r14d
sub ecx, 0xda
je 0x18002eca4
cmp ecx, 1
jne 0x18002ee17
lea rdx, str.invalid_style_or_context
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.vmxnet3.rev.20
mov rcx, r15
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
jmp 0x18002ee17
lea rdx, str.frontPrimary_
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, qword [rsp + 0x68]
mov rsi, rax
test r13, r13
je 0x18002ef1e
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x18002ef1e
test rsi, rsi
je 0x18002ef1e
mov edi, 0x3c
cmp edi, 0x3c
je 0x18002edf0
cmp edi, 0x49
jne 0x18002ee0b
mov r13, qword [rbp - 0x80]
lea rdx, [rbp + 0xa0]
mov rcx, r13
mov dword [rbp + 0xa0], 0x238
call rax
test eax, eax
je 0x18002edd7
mov rcx, qword [rbp + 0x6c98]
call fcn.1800737f4
lea rcx, [rbp + 0xcc]
mov rbx, rax
call fcn.1800737f4
mov rdx, rbx
mov rcx, rax
call fcn.18006fa90
test rax, rax
je 0x18002ed62
mov ebx, dword [rbp + 0x6c78]
mov rcx, r13
mov qword [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x68]
jmp 0x18002ee06
lea rdx, [rbp + 0xa0]
mov rcx, r13
call rsi
test eax, eax
je 0x18002edb7
mov rbx, qword [rbp + 0x6c98]
nop dword [rax]
lea rcx, [rbp + 0xcc]
call fcn.1800737f4
mov rdx, rbx
mov rcx, rax
call fcn.18006fa90
test rax, rax
jne 0x18002edae
lea rdx, [rbp + 0xa0]
mov rcx, r13
call rsi
test eax, eax
jne 0x18002ed80
jmp 0x18002edb7
mov qword [rsp + 0x40], 1
mov ebx, 0x38
mov rcx, r13
mov dword [rbp + 0x6c78], ebx
mov edi, 0x49
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x68]
jmp 0x18002ee06
mov rcx, r13
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x68]
jmp 0x18002ee06
xor edx, edx
lea ecx, [rdx + 2]
call r13
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
je 0x18002ef1e
mov rax, qword [rsp + 0x60]
add edi, 0xd
cmp edi, 0x56
jb 0x18002ece1
dec r14d
cmp r14d, 0xd9
ja 0x18002ec61
add r12d, 0x1c75
cmp r12d, 0x38ea
jbe 0x18002ec27
mov r14, qword [rbp + 0x6c88]
movabs rdi, 0x6e00720065006b
jmp case.0x18002e67d.59
mov qword [rsp + 0x68], r13
jmp case.0x18002e67d.59
xor edx, edx
mov qword [rbp - 0x80], r13
mov r8d, 0x238
lea rcx, [rbp + 0x2e0]
call fcn.180070440
lea rcx, [rbp + 0xa0]
mov edx, 4
lea rax, [rbp + 0x2e0]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18002ee90
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, qword [rax + 0x30]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
dec ebx
mov dword [rbp + 0x6c78], ebx
cmp ebx, dword [rsp + 0x70]
jbe 0x18002ef32
mov r9, qword [rbp + 0x6c70]
xor r13d, r13d
jmp 0x18002e656
xor eax, eax
jmp 0x18002ef38
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x40]
jmp 0x18002ef38
mov eax, dword [rbp + 0x6c78]
add rsp, 0x6d28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret