Function at 0x1006f060
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3de7
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x1006f397
xor eax, eax
push ebx
mov word [ebp - 0x2c], ax
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.100166c0
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x1006f0cf
push str.invalid_string_position
call fcn.1009b636
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp edi, 8
jae 0x1006f0dd
lea edx, [ebp - 0x2c]
cmp word [edx + eax*2], 0x5c
je 0x1006f113
cmp ecx, eax
ja 0x1006f0f2
push str.invalid_string_position
call fcn.1009b636
mov ecx, dword [ebp - 0x2c]
cmp edi, 8
jae 0x1006f0fd
lea ecx, [ebp - 0x2c]
cmp word [ecx + eax*2], 0x2f
je 0x1006f113
push 1
mov eax, 0x100cde64
lea ecx, [ebp - 0x2c]
call fcn.10016590
lea ecx, [ebp - 0x2c]
call fcn.1006e9d0
test al, al
jne 0x1006f251
lea ecx, [ebp - 0x138]
push ecx
call fcn.10013470
mov byte [ebp - 4], 1
push esi
push ecx
lea edx, [ebp - 0x138]
push str.return_false1._path:
push edx
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 8
push 0x17
mov esi, 0xf
push str.CFileUtility::CreateDir
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.100191b0
mov byte [ebp - 4], 2
push esi
push str.FileUtility.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.100191b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.10013570
mov byte [ebp - 4], 4
push eax
push 0x2f4
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x48]
call fcn.10072520
mov byte [ebp - 4], 3
cmp dword [ebp - 0x6c], 8
jb 0x1006f1d0
mov edx, dword [ebp - 0x80]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 2
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x1006f1fa
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], edi
jb 0x1006f218
mov edx, dword [ebp - 0x64]
push edx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x138]
call fcn.10002af0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x1006f248
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
add esp, 4
xor ecx, ecx
xor al, al
jmp 0x1006f5c4
cmp dword [ebp - 0x1c], ebx
je 0x1006f29c
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x1006f266
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x1006f29c
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], edi
jb 0x1006f28f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov al, 1
jmp 0x1006f5c8
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.1006ecb0
mov eax, dword [ebp - 0x58]
add esp, 4
cmp eax, dword [ebp - 0x54]
jne 0x1006f39e
lea edx, [ebp - 0x138]
push edx
call fcn.10013470
mov byte [ebp - 4], 6
push esi
push ecx
lea eax, [ebp - 0x138]
push str.return_false2._path:
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 8
push str.CFileUtility::CreateDir
lea ecx, [ebp - 0x80]
call fcn.10011a40
mov byte [ebp - 4], 7
push str.FileUtility.cpp
lea ecx, [ebp - 0x9c]
call fcn.10011a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.10013570
mov byte [ebp - 4], 9
push eax
push 0x301
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x9c]
call fcn.10072520
mov byte [ebp - 4], 8
lea esi, [ebp - 0x48]
call fcn.10012b80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
call fcn.10011aa0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.10011aa0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.10002af0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x58]
call fcn.10026870
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.10012b80
xor al, al
jmp 0x1006f5d2
mov byte [ebp - 0x9d], 1
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x1006f3b1
mov eax, dword [edi]
jmp 0x1006f3b3
mov eax, edi
xor ecx, ecx
mov word [ebp - 0x48], cx
mov ecx, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea esi, [ecx + 2]
jmp 0x1006f3d0
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x1006f3d0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x48]
call fcn.10019760
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x38], ebx
jne 0x1006f3f5
xor al, al
jmp 0x1006f40e
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1006f401
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
sete byte [ebp - 0x9e]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 8
jb 0x1006f42d
mov edx, dword [ebp - 0x48]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp byte [ebp - 0x9e], bl
je 0x1006f45e
cmp dword [edi + 0x14], 8
jb 0x1006f450
mov eax, dword [edi]
jmp 0x1006f452
mov eax, edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1006f46f
add edi, 0x1c
cmp edi, dword [ebp - 0x54]
jne 0x1006f3a7
jmp 0x1006f57c
lea ecx, [ebp - 0x138]
push ecx
call fcn.10013470
mov byte [ebp - 4], 0xb
push edi
push ecx
lea edx, [ebp - 0x138]
push str.bRet__false.
push edx
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 8
push str.CFileUtility::CreateDir
lea ecx, [ebp - 0x80]
call fcn.10011a40
mov byte [ebp - 4], 0xc
push str.FileUtility.cpp
lea ecx, [ebp - 0x48]
call fcn.10011a40
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.10013570
mov byte [ebp - 4], 0xe
push eax
push 0x30d
push 3
call fcn.10013c70
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x48]
call fcn.10072520
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x88], 8
jb 0x1006f50c
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 0xc
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x1006f53b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1009c0c0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x6c], edi
jb 0x1006f55e
mov edx, dword [ebp - 0x80]
push edx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.10002af0
mov byte [ebp - 0x9d], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x58], ebx
je 0x1006f59a
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
mov eax, esi
call fcn.10026d60
push esi
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x1006f5bc
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
add esp, 4
mov al, byte [ebp - 0x9d]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret