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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026362a
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.10091010
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x9c]
call fcn.1001f200
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
call fcn.100fa980
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.100fa890
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.1001f090
mov ecx, 0x10660560
call fcn.1008adf0
lea ecx, [ebp - 0xc4]
call fcn.1000ee20
mov byte [ebp - 4], 2
push 0x10946888
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x100f986f
push 0x10946888
lea ecx, [ebp - 0x1a0]
call fcn.1001f800
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 3
push 0x102b5fe0
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.100211d0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0xc4]
call fcn.1001f750
lea ecx, [ebp - 0x188]
call fcn.10007e60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a0]
call fcn.10007e60
push 0
lea ecx, [ebp - 0xc4]
call fcn.1001f3d0
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.100fda80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x90]
call fcn.100f0460
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.100125f0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0xac], esp
mov eax, dword [ebp - 0x28]
push eax
call fcn.100f9b30
lea ecx, [ebp - 0x38]
push ecx
call fcn.100f0580
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.100f9b30
lea eax, [ebp - 0x88]
push eax
call fcn.100f05f0
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 8
jmp 0x100f9529
lea ecx, [ebp - 0x38]
call fcn.100f0500
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x38]
call fcn.100f0540
movzx edx, al
test edx, edx
je 0x100f9845
lea ecx, [ebp - 0x38]
call fcn.100f04e0
mov dword [ebp - 0x24], eax
push 0
push str..lua
lea ecx, [ebp - 0x170]
call fcn.101001b0
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.1004da30
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x1d0]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.100ef6b0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x170]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.100ef7e0
add esp, 8
movzx eax, al
test eax, eax
jne 0x100f9625
push 0
push str..luac
lea ecx, [ebp - 0x158]
call fcn.101001b0
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.1004da30
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x1b8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.100ef6b0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
or eax, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.100ef7e0
add esp, 8
movzx eax, al
test eax, eax
jne 0x100f9625
mov dword [ebp - 0x2c], 0
jmp 0x100f962c
mov dword [ebp - 0x2c], 1
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x10]
and edx, 8
je 0x100f9649
and dword [ebp - 0x10], 0xfffffff7
lea ecx, [ebp - 0x1b8]
call fcn.100125f0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
and eax, 4
je 0x100f9667
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x158]
call fcn.100125f0
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
and ecx, 2
je 0x100f9685
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x1d0]
call fcn.100125f0
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x100f96a3
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x170]
call fcn.100125f0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100f9840
mov ecx, dword [ebp - 0x24]
call fcn.1004da30
push eax
lea ecx, [ebp - 0x110]
call fcn.100ef880
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x110]
call fcn.100ef650
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.100ef3a0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1e8]
call fcn.100125f0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0
jmp 0x100f9720
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x9c]
call fcn.1001f020
cmp dword [ebp - 0x20], eax
jae 0x100f9788
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x9c]
call fcn.1001efe0
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.10050b40
add esp, 8
movzx edx, al
test edx, edx
je 0x100f9786
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.1001ee00
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.100f98b0
mov byte [ebp - 0x11], 1
jmp 0x100f9717
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x100f97ad
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.100f98f0
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.100f9930
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.10012c70
mov eax, dword [ebp - 0x18]
add eax, 0x1c
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0xe0]
call fcn.1001f280
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.100f9a30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.100229e0
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
call fcn.10007e60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x110]
call fcn.100125f0
jmp 0x100f9521
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.100f05a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.100f05a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.100f05a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.10007e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.1001f140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.1001fe30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret