Function at 0x10062d20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b938
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x10062e11
xor ecx, ecx
push ebx
mov word [ebp - 0x30], cx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
call fcn.1000b5b0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
xor eax, eax
jmp 0x10062d90
cmp eax, edi
jae 0x10062dc2
mov edx, ecx
cmp esi, 8
jae 0x10062d9e
lea edx, [ebp - 0x30]
cmp word [edx + eax*2], 0x2f
jne 0x10062dbf
cmp esi, 8
jae 0x10062dad
lea ecx, [ebp - 0x30]
mov edx, 0x5c
mov word [ecx + eax*2], dx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
inc eax
jmp 0x10062d90
lea edx, [edi - 1]
cmp edi, edx
ja 0x10062dd4
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, ecx
cmp esi, 8
jae 0x10062dde
lea eax, [ebp - 0x30]
cmp word [eax + edx*2], 0x5c
je 0x10062dfd
push 1
mov eax, 0x101a37bc
lea ecx, [ebp - 0x30]
call fcn.1000fa50
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
cmp edi, 2
jae 0x10062e18
cmp esi, 8
jb 0x10062e11
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x100630c0
mov eax, ecx
cmp esi, 8
jae 0x10062e22
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10062e40
cmp dword [ebp - 0x1c], 8
jb 0x100630be
mov eax, dword [ebp - 0x30]
push eax
jmp 0x100630b5
mov ecx, dword [ebp - 0x20]
xor edi, edi
cmp ecx, ebx
ja 0x10062e54
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, edx
cmp esi, 8
jae 0x10062e64
lea eax, [ebp - 0x30]
mov ebx, 0x5c
cmp word [eax], bx
jne 0x10062ed2
cmp ecx, 1
ja 0x10062e7e
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, edx
cmp esi, 8
jae 0x10062e88
lea eax, [ebp - 0x30]
cmp word [eax + 2], bx
jne 0x10062ed2
mov edi, 2
cmp edi, ecx
jae 0x100630af
mov eax, edx
cmp esi, 8
jae 0x10062ea5
lea eax, [ebp - 0x30]
cmp word [eax + edi*2], bx
je 0x10062eae
inc edi
jmp 0x10062e93
cmp edi, ecx
jae 0x100630af
inc edi
cmp edi, ecx
jae 0x100630af
mov eax, edx
cmp esi, 8
jae 0x10062ec9
lea eax, [ebp - 0x30]
cmp word [eax + edi*2], bx
jne 0x10062eb6
inc edi
jmp 0x10062f11
cmp ecx, 1
ja 0x10062ee2
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, edx
cmp esi, 8
jae 0x10062eec
lea eax, [ebp - 0x30]
cmp word [eax + 2], 0x3a
jne 0x10062f11
mov edi, 2
cmp ecx, edi
jbe 0x10062f11
mov eax, edx
cmp esi, 8
jae 0x10062f06
lea eax, [ebp - 0x30]
cmp word [eax + 4], bx
jne 0x10062f11
mov edi, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp edi, ecx
jae 0x100630af
mov eax, edx
cmp esi, 8
jae 0x10062f29
lea eax, [ebp - 0x30]
cmp word [eax + edi*2], 0x5c
jne 0x1006307f
push edi
xor ecx, ecx
lea esi, [ebp - 0x4c]
lea edx, [ebp - 0x30]
call fcn.100143f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4c]
mov esi, 8
cmp dword [ebp - 0x38], esi
jae 0x10062f56
lea eax, [ebp - 0x4c]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x1006301c
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x10062f6d
lea eax, [ebp - 0x4c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10063060
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10063060
push eax
push str.CreateDirectoryW_Failed____ErrorCode___ld
lea esi, [ebp - 0x68]
call fcn.1000c270
add esp, 8
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x10062fb2
mov esi, dword [eax]
jmp 0x10062fb4
mov esi, eax
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
push 0x101aa8c4
push esi
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x54], edi
jb 0x10062fdc
mov ecx, dword [ebp - 0x68]
push ecx
call esi
add esp, 4
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x10062fef
mov edx, dword [ebp - 0x4c]
push edx
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], edi
jb 0x10062e11
mov ecx, dword [ebp - 0x30]
push ecx
call esi
add esp, 4
xor al, al
jmp 0x100630c0
test al, 0x10
jne 0x10063060
cmp dword [ebp - 0x38], esi
jb 0x10063032
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], esi
jb 0x10062e11
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x100630c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], esi
jb 0x10063076
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
inc edi
jmp 0x10062f17
cmp esi, 8
jb 0x100630be
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret 4