Function at 0x180088e20
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x330], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r13, rdx
mov r12, rcx
mov rbx, qword [0x180344ad0]
test rbx, rbx
jne 0x180088e91
mov ecx, 0x238
call fcn.1802037c4
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.18006f080
nop
mov qword [0x180344ad0], rbx
mov rcx, rbx
call fcn.180071450
mov qword [rbp - 0x48], 7
xor edi, edi
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
or r14, 0xffffffffffffffff
cmp word [rax], di
jne 0x180088eb9
mov r8d, edi
jmp 0x180088eca
mov r8, r14
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x180088ec0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.18005c660
nop
lea rcx, [rbp - 0x80]
call fcn.1800884d0
nop
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x38]
call fcn.18006ba10
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
mov r8d, 5
lea rdx, str..wnpf
lea rcx, [rsp + 0x60]
call fcn.18005c660
nop
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180089c70
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x180088f63
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18005cac0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
mov r8d, 6
lea rdx, str..swnpf
lea rcx, [rsp + 0x60]
call fcn.18005c660
nop
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180089c70
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x180088fcc
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18005cac0
mov r8, qword [rsp + 0x38]
mov rbx, qword [r8]
cmp rbx, r8
je 0x180089138
nop dword [rax]
lea rsi, [rbx + 0x20]
cmp qword [rsi + 0x18], 8
jb 0x180088ff0
mov r15, qword [rsi]
jmp 0x180088ff3
mov r15, rsi
lea rdi, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdi, qword [rbp - 0x60]
mov rcx, r12
call fcn.18005c650
mov r9, rax
mov qword [rsp + 0x20], r15
mov r8, rdi
lea rdx, str._sSkin_s_s
lea rcx, [rbp - 0x40]
call fcn.18005c530
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800890fd
cmp qword [rsi + 0x18], 8
jb 0x180089040
mov rsi, qword [rsi]
lea rdi, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdi, qword [rbp - 0x80]
mov rcx, r12
call fcn.18005c650
mov r9, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
lea rdx, str._s_s_s
lea rcx, [rbp - 0x40]
call fcn.18005c530
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800890e0
cmp byte [rbx + 0x19], al
jne 0x1800890ce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800890ae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800890ce
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800890a0
jmp 0x1800890ce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800890cb
cmp rbx, qword [rax + 0x10]
jne 0x1800890cb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800890b8
mov rbx, rax
mov r8, qword [rsp + 0x38]
cmp rbx, r8
jne 0x180088fe0
xor edi, edi
jmp 0x180089138
cmp word [rbp - 0x40], 0
jne 0x1800890ec
xor r14d, r14d
jmp 0x18008911b
lea rax, [rbp - 0x40]
inc r14
cmp word [rax + r14*2], 0
jne 0x1800890f0
jmp 0x18008911b
cmp word [rbp - 0x40], 0
jne 0x180089109
xor r14d, r14d
jmp 0x18008911b
lea rax, [rbp - 0x40]
nop dword [rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x180089110
mov r8, r14
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.18005c660
mov ebx, 1
mov r8, qword [rsp + 0x38]
xor edi, edi
jmp 0x18008913a
mov ebx, edi
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180061e00
mov rcx, qword [rsp + 0x38]
call fcn.180203788
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180089174
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.18005cac0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x18008919e
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.18005cac0
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret