Function at 0x4102ebc0
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 [0x41359af8]
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.4102dd50
call fcn.41050440
mov dword [rbx], eax
call fcn.41050840
mov dword [rbx + 8], eax
call fcn.410500d0
mov dword [rbx + 0xc], eax
call fcn.410507e0
mov dword [rbx + 0x10], eax
call fcn.41050720
mov dword [rbx + 0x18], eax
call fcn.41050780
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 [0x413604b0]
mov rcx, rbx
mov dword [rbx + 0x258], r11d
call fcn.4102cb20
mov rcx, rbx
call fcn.4102b230
mov rcx, rbx
call fcn.4102ba50
cmp byte [rbx + 0x20], 0
jne 0x4102ecb2
mov rcx, rbx
call fcn.4102e340
cmp byte [rbx + 0x21], 0
jne 0x4102ecc0
mov rcx, rbx
call fcn.4102e780
lea rdx, [rbx + 0x50]
lea rcx, [rbx + 0xa0]
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.41022de0
lea rdx, str.Skin_
lea rcx, [rbx + 0xa0]
mov r8d, 5
call fcn.41022fe0
cmp qword [rbx + 0xc0], 8
jb 0x4102ed03
mov rcx, qword [rbx + 0xa8]
jmp 0x4102ed0a
lea rcx, [rbx + 0xa8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102ed33
cmp qword [rbx + 0xc0], 8
jb 0x4102ed27
mov rcx, qword [rbx + 0xa8]
jmp 0x4102ed2e
lea rcx, [rbx + 0xa8]
call fcn.410522e0
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.412121c0
cmp qword [rbx + 0x70], 8
jb 0x4102ed59
mov r8, qword [rbx + 0x58]
jmp 0x4102ed5d
lea r8, [rbx + 0x58]
lea r9, str.AllSkin
lea rdx, [0x4129a1b0]
lea rcx, [rsp + 0x20]
call fcn.412122b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102ed8e
lea rcx, [rsp + 0x20]
call fcn.410522e0
mov rcx, rbx
call fcn.4102c970
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.412121c0
cmp qword [rbx + 0x48], 8
jb 0x4102edbc
mov r8, qword [rbx + 0x30]
jmp 0x4102edc0
lea r8, [rbx + 0x30]
lea r9, [0x4129a1dc]
lea rdx, [0x4129a1b0]
lea rcx, [rsp + 0x20]
call fcn.412122b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102edf4
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp qword [rbx + 0x48], 8
jb 0x4102ee01
mov r8, qword [rbx + 0x30]
jmp 0x4102ee05
lea r8, [rbx + 0x30]
lea r9, str.Dict
lea rdx, [0x4129a1b0]
lea rcx, [rsp + 0x20]
call fcn.412122b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102ee39
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rbx
call fcn.4102c270
mov rcx, rbx
call fcn.4102c450
mov rcx, rbx
call fcn.4102c630
mov rcx, rbx
call fcn.4102c7d0
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.412121c0
cmp qword [rbx + 0x110], 8
jb 0x4102ee85
mov r8, qword [rbx + 0xf8]
jmp 0x4102ee8c
lea r8, [rbx + 0xf8]
lea r9, str.SmartCloudInfo.ini
lea rdx, [0x4129a250]
lea rcx, [rsp + 0x20]
call fcn.412122b0
cmp qword [rbx + 0x70], 8
jb 0x4102eeb1
mov r8, qword [rbx + 0x58]
jmp 0x4102eeb5
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 0x4102eedb
mov r8, qword [rbx + 0x30]
jmp 0x4102eedf
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.41211b80
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret