Function at 0x100159e0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1006e6c1
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x1008ab54]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov eax, dword [0x100933f4]
push str.usign
push eax
call fcn.10015f50
push 0x104
xor edi, edi
lea ecx, [esp + 0x288]
push edi
push ecx
call fcn.1004b150
add esp, 0x14
push edi
push 0x1a
lea edx, [esp + 0x284]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10040589
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x10015a6f
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x490], edi
call fcn.10040589
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x10015aa0
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebx, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x490], bl
call fcn.10002060
push str.QuanDuoDuo
lea ecx, [esp + 0x280]
push ecx
lea edx, [esp + 0x1c]
push str._s_s
push edx
call fcn.10012ec0
mov ebp, dword [esp + 0x24]
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], ebx
jle 0x10015b00
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.10001bc0
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10015b1a
test byte [esp + 0x2c], 0x10
je 0x10015b1a
mov esi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, edi
jne 0x10015b57
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], 0xc
cmp dword [ebp - 4], ebx
jle 0x10015b4b
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.10001bc0
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0x18]
call fcn.10002060
cmp dword [ebp - 4], ebx
jle 0x10015b76
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.10001bc0
mov ebp, dword [esp + 0x14]
push str.sign
push ebp
lea edx, [esp + 0x20]
push str._s_s
push edx
call fcn.10012ec0
mov eax, dword [0x100933e8]
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
call fcn.10012a90
mov esi, eax
mov byte [esp + 0x490], 2
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], ebx
jle 0x10015bbc
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.10001a90
mov edi, dword [esi]
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], ebx
jle 0x10015bd8
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.10001bc0
mov esi, dword [esp + 0x18]
push esi
call fcn.10016170
mov byte [esp + 0x494], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10015c08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x490], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10015c2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x490], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10015c53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.10048e2f
add esp, 0x480
ret