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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028998a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd4]
call fcn.100ae9d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x9c]
call fcn.100236f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
call fcn.101c5850
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.101c57d0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.10029050
mov ecx, 0x10cf0ef0
call fcn.1009f5b0
lea ecx, [ebp - 0xc4]
call fcn.100064f0
mov byte [ebp - 4], 2
push 0x10cf0fc0
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x101d622d
push 0x102da2e8
push 0x10cf0fc0
lea ecx, [ebp - 0x1a0]
call fcn.10022ec0
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.1001fae0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0xc4]
call fcn.100249e0
lea ecx, [ebp - 0x188]
call fcn.10006830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a0]
call fcn.10006830
nop
push 0
lea ecx, [ebp - 0xc4]
call fcn.10007400
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x140]
call fcn.1012b580
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x90]
call fcn.101b7590
mov byte [ebp - 4], 5
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.10024970
nop
sub esp, 8
mov ecx, esp
mov dword [ebp - 0xac], esp
mov eax, dword [ebp - 0x28]
push eax
call fcn.101b7560
lea ecx, [ebp - 0x38]
push ecx
call fcn.101c3080
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 7
sub esp, 8
mov ecx, esp
mov dword [ebp - 0xa4], esp
mov edx, dword [ebp - 0x28]
push edx
call fcn.101b7560
lea eax, [ebp - 0x88]
push eax
call fcn.101c6980
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 8
jmp 0x101d5edc
lea ecx, [ebp - 0x38]
call fcn.101b9b50
nop
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x38]
call fcn.101b9860
movzx edx, al
test edx, edx
je 0x101d6202
lea ecx, [ebp - 0x38]
call fcn.101b9af0
mov dword [ebp - 0x24], eax
push 0
push str..lua
lea ecx, [ebp - 0x170]
call fcn.1011e850
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
call fcn.10067b50
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x1d0]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.101c6b20
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
or ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.101b97d0
add esp, 8
movzx eax, al
test eax, eax
jne 0x101d5fd8
push 0
push str..luac
lea ecx, [ebp - 0x158]
call fcn.1011e850
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
or ecx, 4
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
call fcn.10067b50
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x158]
push edx
lea eax, [ebp - 0x1b8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.101c6b20
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x10]
or ecx, 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.101b97d0
add esp, 8
movzx eax, al
test eax, eax
jne 0x101d5fd8
mov dword [ebp - 0x2c], 0
jmp 0x101d5fdf
mov dword [ebp - 0x2c], 1
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x10]
and edx, 8
je 0x101d5ffd
and dword [ebp - 0x10], 0xfffffff7
lea ecx, [ebp - 0x1b8]
call fcn.10024970
nop
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
and eax, 4
je 0x101d601c
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x158]
call fcn.10024970
nop
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
and ecx, 2
je 0x101d603b
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x1d0]
call fcn.10024970
nop
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x101d605a
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x170]
call fcn.10024970
nop
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x101d61fd
mov ecx, dword [ebp - 0x24]
call fcn.10067b50
push eax
lea ecx, [ebp - 0x110]
call fcn.101b8120
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x110]
call fcn.101c6ba0
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.101d70f0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1e8]
call fcn.10024970
nop
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0
jmp 0x101d60d8
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x9c]
call fcn.100328f0
cmp dword [ebp - 0x20], eax
jae 0x101d6141
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10028bd0
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.1001fa20
add esp, 8
movzx edx, al
test edx, edx
je 0x101d613f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0xd4]
call fcn.10028c50
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.10154e60
nop
mov byte [ebp - 0x11], 1
jmp 0x101d60cf
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x101d6167
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x68], edx
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x1a]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.10154ed0
nop
mov edx, dword [ebp - 0x18]
add edx, 0x50
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.10154dd0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.10022840
nop
mov eax, dword [ebp - 0x18]
add eax, 0x1c
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0xe0]
call fcn.1000e050
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.10154ea0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.10024600
nop
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
call fcn.10006830
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x110]
call fcn.10024970
nop
jmp 0x101d5ed3
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.101b9110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.101b9110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.101b9110
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.10006830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.10024680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.100246e0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret