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

Disassembly:
push 0xffffffffffffffff
push 0x1011073c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x207
lea eax, [esp + 0x49]
push ebx
push eax
mov byte [esp + 0x50], bl
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x50]
add esp, 0xc
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x10053cf0
mov edi, dword [sym.imp.MSVCR80.dll_strtok_s]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push 0x1011da34
push edx
mov dword [esp + 0x20], ebx
call edi
add esp, 0xc
lea ecx, [esp + 0x28]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp esi, ebx
mov dword [esp + 0x258], ebx
je 0x10053df5
mov ebp, 0x10
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10053d47
sub eax, edx
je 0x10053df5
cmp dword [esp + 0x3c], ebx
je 0x10053d6d
push 0x1011da34
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
xor eax, eax
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jae 0x10053da4
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10053ddb
cmp dword [esp + 0x40], ebp
mov eax, dword [esp + 0x2c]
jae 0x10053dbe
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10053ddb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10053e34
lea edx, [esp + 0x14]
push edx
push 0x1011da34
push ebx
call edi
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x10053d40
lea ecx, [esp + 0x28]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.1010dc50
add esp, 0x248
ret
call sub.Comn.dll_GetObjectLog
mov ebx, eax
mov esi, dword [ebx]
push 0x2d6b
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiRecord.cpp
add esi, 0xc
call fcn.1002ef80
push eax
mov eax, dword [esi]
push str._s:_Failed_to_crate_dir.
push ebx
call eax
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 0x2d6c1006
jmp 0x10053e0c