Function at 0x424020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x436e37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [esp + 0x18], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_3
push 0x2d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 4
call fcn.004317dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
call fcn.00424280
add esp, 4
mov edx, dword [esp + 0x10]
mov byte [esp + 0x28], 5
mov eax, dword [edx - 8]
test eax, eax
jne 0x4240c6
mov esi, dword [esp + 0x30]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x18], ebx
jmp 0x424229
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x28], 6
cmp edi, 9
push edi
jg 0x4240ea
lea eax, [esp + 0x18]
push 0x475f10
push eax
jmp 0x4240f4
lea ecx, [esp + 0x18]
push 0x475f0c
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42418c
test edi, edi
push eax
jl 0x424130
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s__s__s.csv
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x424147
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push edx
push str._s__s.csv
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [esp + 0x3c]
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42418c
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push esi
call sub.MFC42.DLL_operator
jmp 0x424212
test edi, edi
jl 0x4241ae
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s__s.csv
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x4241c5
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push eax
push str._s.csv
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [esp + 0x3c]
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x424207
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push esi
call sub.MFC42.DLL_operator
jmp 0x424212
mov esi, dword [esp + 0x30]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10