Function at 0x41e790
Capabilities:
Create directory
Read file on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x43d70a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x44a754
lea ecx, [esp + 0x20]
mov dword [esp + 0x240], 0
call fcn.0043abe8
push 0x5c
lea ecx, [esp + 0x248]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x244]
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push 0x449460
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator_2
lea edi, [esi + 0x2e4]
push eax
mov ecx, edi
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x244], 4
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x41e888
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edi
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00412ee0
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x244]
push 0x448b20
push eax
mov byte [esp + 0x244], 5
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e8c8
push 0x449450
jmp 0x41e8f3
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 4
lea ecx, [esp + 0x68]
push 1
push ecx
call ebp
lea eax, [esp + 0x70]
mov edx, 0x449114
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [edx]
cmp ecx, eax
je 0x41e94e
push 0x449440
lea ecx, [esp + 0x18]
call fcn.0043ac24
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x23c], 1
call fcn.0043ae52
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x244]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x41eb2c
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
push 1
lea edx, [esp + 0x68]
push 1
push edx
call ebp
movsx ebx, byte [esp + 0x70]
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
push edi
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
mov dword [esp + 0x3c], eax
xor eax, eax
add esp, 0x18
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
jle 0x41ea1b
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
sub eax, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
push esi
push 1
lea eax, [esp + 0x68]
push 1
push eax
call ebp
movsx eax, byte [esp + 0x70]
push esi
push eax
lea ecx, [esp + 0x78]
push 1
push ecx
mov dword [esp + 0x38], eax
call ebp
mov edx, dword [esp + 0x38]
push esi
push 1
lea eax, [esp + 0x40]
push 4
push eax
mov byte [esp + edx + 0x90], 0
call ebp
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x90]
push 0x449110
push eax
mov dword [edx + edi], ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov dword [edi], eax
mov eax, dword [esp + 0x58]
add esp, 0x38
add edi, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x41e9b2
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push esi
call edi
push 2
push 0
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
call edi
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ecx, 0xffffffec
push 0
sub ecx, eax
push eax
push esi
add edi, ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x20
lea ecx, [esp + 0x164]
call fcn.00439f30
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
push edi
push esi
lea ecx, [esp + 0x178]
mov byte [esp + 0x250], 6
call fcn.0043a540
test ebx, ebx
jle 0x41ea99
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
add edi, 4
dec ebx
jne 0x41ea87
push esi
push 0x14
lea edx, [esp + 0x54]
push 1
push edx
call ebp
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 0x1c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x164]
mov byte [esp + 0x23c], 5
call fcn.00439fa0
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x23c], 1
call fcn.0043ae52
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x244]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x230
ret 4