Function at 0x18002fcb0
Capabilities:
Check if file exists

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xc20
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0xc10], rax
mov rsi, rcx
xor ebp, ebp
mov word [rsp + 0x430], bp
xor edx, edx
mov r8d, 0x3e6
lea rcx, [r11 - 0x806]
call fcn.1800be330
mov word [rsp + 0x820], bp
xor edx, edx
mov r8d, 0x3e6
lea rcx, [rsp + 0x822]
call fcn.1800be330
mov word [rsp + 0x40], bp
xor edx, edx
mov r8d, 0x3e6
lea rcx, [rsp + 0x42]
call fcn.1800be330
mov rbx, qword [0x180278790]
test rbx, rbx
jne 0x18002fd73
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18002fd69
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], ebp
jmp 0x18002fd6c
mov rbx, rbp
mov qword [0x180278790], rbx
lea rdi, [rbx + 0xc8]
cmp qword [rdi + 0x18], 8
jb 0x18002fd84
mov rdi, qword [rdi]
test rbx, rbx
jne 0x18002fdba
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18002fdb0
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], ebp
jmp 0x18002fdb3
mov rbx, rbp
mov qword [0x180278790], rbx
lea r8, [rbx + 0x88]
cmp qword [r8 + 0x18], 8
jb 0x18002fdcb
mov r8, qword [r8]
lea rdx, [0x1801ec2c4]
lea rcx, [rsp + 0x430]
call fcn.1800b5a54
lea rcx, [rsp + 0x430]
call fcn.180010cf0
lea r14, str..wnpf
mov qword [rsp + 0x20], r14
mov r9, rsi
mov r8, rdi
lea rdx, str._sSkin_s_s
lea rcx, [rsp + 0x40]
call fcn.1800b5a54
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18002fe82
mov rbx, qword [0x180278790]
test rbx, rbx
jne 0x18002fe5b
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18002fe51
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], ebp
jmp 0x18002fe54
mov rbx, rbp
mov qword [0x180278790], rbx
lea r8, [rbx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x18002fe69
mov r8, qword [r8]
mov qword [rsp + 0x20], r14
mov r9, rsi
lea rdx, str._sAllSkin_s_s
lea rcx, [rsp + 0x40]
call fcn.1800b5a54
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.WnSkinInst.exe
mov r8, rdi
lea rdx, str._s_s__untie__s
lea rcx, [rsp + 0x820]
call fcn.1800b5a54
lea rcx, [rsp + 0x820]
call fcn.18002c7a0
mov rcx, rbp
lea rdx, str.default
movzx eax, word [rsi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x18002ff0e
cmp rcx, 8
jne 0x18002fec1
lea rbx, vtable.CShareConfigManager.0
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x18002ff09
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x18002feff
mov qword [rax], rbx
jmp 0x18002ff02
mov rcx, rbp
mov qword [0x180278788], rcx
xor r8d, r8d
jmp 0x18002ff48
lea rbx, vtable.CShareConfigManager.0
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x18002ff42
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x18002ff38
mov qword [rax], rbx
jmp 0x18002ff3b
mov rcx, rbp
mov qword [0x180278788], rcx
mov r8d, 1
mov rax, qword [rcx]
mov edx, 0x5a
call qword [rax + 0x18]
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x18002ff80
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x18002ff76
mov qword [rax], rbx
jmp 0x18002ff79
mov rcx, rbp
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov r8, rsi
mov edx, 0xa2
call qword [rax + 0x10]
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x18002ffbb
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x18002ffb1
mov qword [rax], rbx
jmp 0x18002ffb4
mov rcx, rbp
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov edx, 0x9d
call qword [rax]
mov edi, eax
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x18002fff4
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x18002ffea
mov qword [rax], rbx
jmp 0x18002ffed
mov rcx, rbp
mov qword [0x180278788], rcx
mov rax, qword [rcx]
lea r8d, [rdi + 1]
mov edx, 0x9d
call qword [rax + 0x18]
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x180030030
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x180030026
mov qword [rax], rbx
jmp 0x180030029
mov rcx, rbp
mov qword [0x180278788], rcx
mov rax, qword [rcx]
lea r8d, [rdi + 1]
mov edx, 0x9d
call qword [rax + 0x90]
mov rbx, qword [0x180278790]
test rbx, rbx
jne 0x18003007f
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180030075
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], ebp
jmp 0x180030078
mov rbx, rbp
mov qword [0x180278790], rbx
add rbx, 0x108
cmp qword [rbx + 0x18], 8
jb 0x180030090
mov rbx, qword [rbx]
mov r9, rbx
lea r8, [0x1801ebd7c]
lea rdx, [0x1801ebd80]
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r9, rbx
lea r8, [0x1801ebd7c]
lea rdx, str.IsModifyUIStyle
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r9, rbx
lea r8, [0x1801ebd7c]
lea rdx, str.IsTempModifyUIStyle64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r9, rbx
lea r8, [0x1801ebd7c]
lea rdx, str.IsTempModifyUIStyle
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rcx, qword [rsp + 0xc10]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0xc20]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret