Function at 0x140010660
Capabilities:
Check for time delay via queryperformancecounter
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140039680]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
add rcx, 0x2c0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, rbx
call fcn.14000f810
call fcn.140010fd0
mov dword [rbx], eax
call fcn.140011170
mov dword [rbx + 8], eax
call fcn.140010f10
mov dword [rbx + 0xc], eax
call fcn.140011110
mov dword [rbx + 0x10], eax
call fcn.140011050
mov dword [rbx + 0x18], eax
call fcn.1400110b0
lea rcx, [rbx + 0x268]
mov dword [rbx + 0x1c], eax
mov eax, dword [rbx]
mov dword [rbx + 4], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbx + 0x280]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbx + 0x270]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbx + 0x2b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbx + 0x290]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbx + 0x2a0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11d, dword [0x14003b140]
mov rcx, rbx
mov dword [rbx + 0x258], r11d
call fcn.14000e5c0
mov rcx, rbx
call fcn.14000ccf0
mov rcx, rbx
call fcn.14000d500
cmp byte [rbx + 0x20], 0
jne 0x140010752
mov rcx, rbx
call fcn.14000fde0
cmp byte [rbx + 0x21], 0
jne 0x140010760
mov rcx, rbx
call fcn.140010220
lea rdx, [rbx + 0x50]
lea rcx, [rbx + 0xa0]
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.140001940
lea rdx, str.Skin_
lea rcx, [rbx + 0xa0]
mov r8d, 5
call fcn.14000c6d0
cmp qword [rbx + 0xc0], 8
jb 0x1400107a3
mov rcx, qword [rbx + 0xa8]
jmp 0x1400107aa
lea rcx, [rbx + 0xa8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400107d3
cmp qword [rbx + 0xc0], 8
jb 0x1400107c7
mov rcx, qword [rbx + 0xa8]
jmp 0x1400107ce
lea rcx, [rbx + 0xa8]
call fcn.1400109d0
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.140011ab0
cmp qword [rbx + 0x70], 8
jb 0x1400107f9
mov r8, qword [rbx + 0x58]
jmp 0x1400107fd
lea r8, [rbx + 0x58]
lea r9, str.AllSkin
lea rdx, [0x140030430]
lea rcx, [rsp + 0x20]
call fcn.140011ce0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001082e
lea rcx, [rsp + 0x20]
call fcn.1400109d0
mov rcx, rbx
call fcn.14000e410
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.140011ab0
cmp qword [rbx + 0x48], 8
jb 0x14001085c
mov r8, qword [rbx + 0x30]
jmp 0x140010860
lea r8, [rbx + 0x30]
lea r9, [0x14003045c]
lea rdx, [0x140030430]
lea rcx, [rsp + 0x20]
call fcn.140011ce0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140010894
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp qword [rbx + 0x48], 8
jb 0x1400108a1
mov r8, qword [rbx + 0x30]
jmp 0x1400108a5
lea r8, [rbx + 0x30]
lea r9, str.Dict
lea rdx, [0x140030430]
lea rcx, [rsp + 0x20]
call fcn.140011ce0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400108d9
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rbx
call fcn.14000dd10
mov rcx, rbx
call fcn.14000def0
mov rcx, rbx
call fcn.14000e0d0
mov rcx, rbx
call fcn.14000e270
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.140011ab0
cmp qword [rbx + 0x110], 8
jb 0x140010925
mov r8, qword [rbx + 0xf8]
jmp 0x14001092c
lea r8, [rbx + 0xf8]
lea r9, str.DongFangInfo.ini
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call fcn.140011ce0
cmp qword [rbx + 0x70], 8
jb 0x140010951
mov r8, qword [rbx + 0x58]
jmp 0x140010955
lea r8, [rbx + 0x58]
lea r9, [rsp + 0x20]
lea rdx, str.CfgRootPath
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x48], 8
jb 0x14001097b
mov r8, qword [rbx + 0x30]
jmp 0x14001097f
lea r8, [rbx + 0x30]
lea r9, [rsp + 0x20]
lea rdx, str.CfgUserPath
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140011c90
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret