Function at 0x1000f1c8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8f8
push edi
mov dword [ebp - 0x6e0], 0
mov dword [ebp - 0x6e4], 0
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x6dc], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x6db]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x5d8], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x5d7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6ec], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10c], ecx
push 0x104
lea edx, [ebp - 0x6dc]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x6dc]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x4ee
push 0x1002c118
push 0
push 0x1e400
call sub.BaseLib.dll_MemBuf_new__
add esp, 0x10
mov dword [ebp - 0x6e8], eax
push 0x4ef
push 0x1002c154
push 0
push 0x1e400
call sub.BaseLib.dll_MemBuf_new__
add esp, 0x10
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x6e8]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
call dword [eax + 8]
add esp, 0xc
mov dword [ebp - 0x6e0], eax
cmp dword [ebp - 0x6e0], 0
jge 0x1000f32a
mov ecx, dword [ebp - 0x6e8]
push ecx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov edx, dword [ebp - 0x108]
push edx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x6e0]
jmp 0x1000f857
push 0
push 0
mov eax, dword [ebp - 0x6e8]
push eax
mov ecx, dword [ebp - 0x6e8]
call dword [ecx + 0x20]
add esp, 0xc
mov dword [ebp - 0x6e0], eax
cmp dword [ebp - 0x6e0], 0
jge 0x1000f38d
mov edx, dword [ebp - 0x6e8]
push edx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov eax, dword [ebp - 0x108]
push eax
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x6e0]
jmp 0x1000f857
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x6e8]
push edx
call sub.BaseLib.dll_ObxFldList_dec
add esp, 8
mov dword [ebp - 0x6e4], eax
cmp dword [ebp - 0x6e4], 0
jge 0x1000f3ef
mov eax, dword [ebp - 0x6e8]
push eax
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov ecx, dword [ebp - 0x108]
push ecx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x6e4]
jmp 0x1000f857
mov edx, dword [ebp + 0xc]
push edx
call fcn.1001c8b0
add esp, 4
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
jne 0x1000f41c
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001c8b0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov byte [ecx + eax - 1], 0
push 0x3c8
lea edx, [ebp - 0x4d4]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x108]
call dword [ecx + 0x14]
add esp, 0xc
cmp eax, 0x3c8
jne 0x1000f81f
push 0x104
push 0
lea edx, [ebp - 0x6dc]
push edx
call fcn.1001bb10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x6dc]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4d0]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0x104
lea edx, [ebp - 0x5d8]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x6dc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [ebp - 0x7f0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x7ef]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x8f4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x8f3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x7f0]
push edx
call fcn.1001c570
add esp, 0xc
push 0x104
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.1001c570
add esp, 0xc
mov edx, dword [ebp - 0x6ec]
push edx
call fcn.1001c8b0
add esp, 4
mov ecx, dword [ebp - 0x6ec]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
je 0x1000f564
mov eax, dword [ebp - 0x6ec]
push eax
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.1001bd70
add esp, 8
push 0x1002c190
lea edx, [ebp - 0x7f0]
push edx
call fcn.1001bd80
add esp, 8
lea eax, [ebp - 0x5d8]
push eax
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.1001bd80
add esp, 8
jmp 0x1000f590
mov edx, dword [ebp - 0x6ec]
push edx
lea eax, [ebp - 0x7f0]
push eax
call fcn.1001bd70
add esp, 8
lea ecx, [ebp - 0x5d8]
push ecx
lea edx, [ebp - 0x7f0]
push edx
call fcn.1001bd80
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.1001c8b0
add esp, 4
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x2f
je 0x1000f5e8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.1001bd70
add esp, 8
push 0x1002c194
lea edx, [ebp - 0x8f4]
push edx
call fcn.1001bd80
add esp, 8
lea eax, [ebp - 0x5d8]
push eax
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.1001bd80
add esp, 8
jmp 0x1000f611
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x8f4]
push eax
call fcn.1001bd70
add esp, 8
lea ecx, [ebp - 0x5d8]
push ecx
lea edx, [ebp - 0x8f4]
push edx
call fcn.1001bd80
add esp, 8
cmp dword [ebp - 0x4d4], 0x44
jne 0x1000f694
push 0
lea eax, [ebp - 0x7f0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x7f0]
push edx
lea eax, [ebp - 0x8f4]
push eax
call fcn.1000f1c8
add esp, 0xc
mov dword [ebp - 0x6e0], eax
cmp dword [ebp - 0x6e0], 0
jge 0x1000f68f
mov ecx, dword [ebp - 0x6e8]
push ecx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov edx, dword [ebp - 0x108]
push edx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x6e0]
jmp 0x1000f857
jmp 0x1000f81a
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.1001bb10
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x6dc]
push ecx
call fcn.1001bb10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x6dc]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x8f4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x6dc]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x55d
push 0x1002c198
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1cc]
add eax, 1
push eax
call sub.BaseLib.dll_MemBuf_new__
add esp, 0x10
mov dword [ebp - 0x8f8], eax
mov dword [0x10031560], 0
mov dword [0x10031564], 0
lea ecx, [ebp - 0x8f4]
mov dword [0x1003155c], ecx
mov edx, dword [ebp - 0x1cc]
mov dword [0x10031568], edx
mov dword [0x1003156c], 0
mov dword [0x10031560], 1
push 0x1002bc48
mov eax, dword [ebp - 0x8f8]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
call dword [eax + 0x30]
add esp, 0x10
mov dword [ebp - 0x6e0], eax
cmp dword [ebp - 0x6e0], 0
jge 0x1000f7eb
mov ecx, dword [ebp - 0x8f8]
push ecx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov edx, dword [ebp - 0x6e8]
push edx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov eax, dword [ebp - 0x108]
push eax
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov dword [ebp - 0x8f8], 0
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x6e0]
jmp 0x1000f857
lea ecx, [ebp - 0x7f0]
push ecx
mov edx, dword [ebp - 0x8f8]
push edx
call sub.BaseLib.dll_AbsFile_toFile
add esp, 8
mov eax, dword [ebp - 0x8f8]
push eax
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov dword [ebp - 0x8f8], 0
jmp 0x1000f41c
mov ecx, dword [ebp - 0x6e8]
push ecx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov edx, dword [ebp - 0x108]
push edx
call sub.BaseLib.dll_MemBuf_delete
add esp, 4
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x6e0]
pop edi
mov esp, ebp
pop ebp
ret