Function at 0x10032ead
Capabilities:
Create directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x3fc], 0
lea ecx, [ebp - 0x268]
call fcn.10035eca
mov dword [ebp - 4], 0
push str.Template_
mov eax, dword [sym.imp.JsTools3D.dll_class_CString_G_strExePath]
push eax
lea ecx, [ebp - 0x400]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x414], eax
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x268]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x400]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x268]
call sym.STools.dll_public:_int___thiscall_Cp_dbl2::get_ID_void_
push eax
call dword [sym.imp.MSVCRT.dll__chdir]
add esp, 4
test eax, eax
je 0x10032f69
lea ecx, [ebp - 0x268]
call sym.STools.dll_public:_int___thiscall_Cp_dbl2::get_ID_void_
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
mov ecx, dword [0x1005bdd4]
push ecx
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strExePath]
call sym.STools.dll_public:_int___thiscall_Cp_dbl2::get_ID_void_
push eax
push 0x1005676c
lea edx, [ebp - 0x3f8]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x10056780
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jne 0x10032fdc
mov dword [ebp - 0x404], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x404]
jmp 0x100330f2
mov ecx, dword [ebp - 0x3fc]
push ecx
push 0x32
push 1
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov eax, dword [0x1005bdd4]
push eax
push 0x10056784
lea ecx, [ebp - 0x264]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x10033081
cmp dword [ebp - 0x3fc], 0
je 0x1003305d
mov ecx, dword [ebp - 0x3fc]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov edx, dword [sym.imp.JsTools3D.dll_int_JS_OpenFileNum]
mov eax, dword [edx]
sub eax, 1
mov ecx, dword [sym.imp.JsTools3D.dll_int_JS_OpenFileNum]
mov dword [ecx], eax
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x408]
jmp 0x100330f2
mov edx, dword [ebp - 0x3fc]
push edx
push 0x32
push 4
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 0x3fc]
push ecx
push 0x1388
push 4
mov edx, dword [ebp - 0x410]
add edx, 0xc8
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov eax, dword [ebp - 0x3fc]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x40c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret