Function at 0x140011dd0
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1400590c0]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov ecx, dword [0x14005b160]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x14005a760], ecx
jg 0x1400120cd
mov rax, qword [0x14005a758]
cmp dword [rax - 0x10], 0
jne 0x140012081
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14003fd50
xor r9d, r9d
mov r8d, 0x2e
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
nop
call fcn.1400033f0
mov rcx, rax
test rax, rax
je 0x14001212c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
call fcn.1400033f0
mov rcx, rax
test rax, rax
je 0x1400120c2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov rdi, 0xffffffffffffffff
cmp rax, 0x10000
lea rax, [rsp + 0x50]
jae 0x140011ecf
movzx edx, ax
lea rcx, [rsp + 0x38]
call fcn.140007210
jmp 0x140011eed
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140011ed2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400048b0
nop
lea rdx, str.AliWorkbenchDataConfig.ini
lea rcx, [rsp + 0x38]
call fcn.140002880
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.14003fd50
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x160]
lea r8, [0x1400437dc]
lea rdx, str.data_path_v2
lea rcx, str.config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp + 0x160]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140011f50
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x30]
call fcn.1400048b0
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011f86
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x30]
cmp dword [rbx - 0x10], 0
jne 0x140011fd6
lea rax, [rsp + 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140011fa0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400048b0
lea rdx, str.AliWorkbench
lea rcx, [rsp + 0x30]
call fcn.140002880
mov rbx, qword [rsp + 0x30]
cmp dword [rbx - 0x10], 0
je 0x140011ffa
lea rdx, str.System_
lea rcx, [rsp + 0x30]
call fcn.140002880
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rax, qword [0x14005a758]
cmp dword [rax - 0x10], 0
jne 0x140012069
lea rcx, [rbx - 0x18]
lea rsi, [rax - 0x18]
cmp rcx, rsi
je 0x140012069
cmp dword [rsi + 0x10], 0
jl 0x140012055
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140012055
call fcn.140002eb0
mov rbx, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x140012043
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [r8 + 8]
lea rax, [rbx + 0x18]
mov qword [0x14005a758], rax
mov rbx, qword [rsp + 0x30]
jmp 0x140012069
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x14005a758]
call fcn.1400048b0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140012081
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rcx, qword [0x14005a758]
add rcx, 0xffffffffffffffe8
call fcn.140002eb0
add rax, 0x18
mov qword [r14], rax
mov rax, r14
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14001d590
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002a90
nop
lea rcx, [0x14005a760]
call fcn.14001db7c
cmp dword [0x14005a760], 0xffffffff
jne 0x140011e2d
call fcn.1400033f0
mov rcx, rax
test rax, rax
jne 0x1400120fe
mov ecx, 0x80004005
call fcn.140002a90
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x14005a758], rax
lea rcx, [0x140041fa0]
call fcn.14001d81c
lea rcx, [0x14005a760]
call fcn.14001db10
jmp 0x140011e2d
mov ecx, 0x80004005
call fcn.140002a90
int3