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

Disassembly:
push 0xffffffffffffffff
push 0x4157c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov dword [esp + 0x1c], ecx
je 0x41203a
push esi
mov esi, dword [esp + 0x40]
test esi, esi
je 0x412039
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x412039
cmp dword [esi + 4], 3
je 0x412039
push ebp
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
shr eax, 1
push eax
lea edi, [esi + 0xc]
push edi
push 0
push 0
mov dword [esp + 0x5c], 0
call ebp
push 0
mov esi, eax
push 0
push esi
push esi
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 8]
push eax
shr edx, 1
push edx
push edi
push 0
push 0
call ebp
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
mov eax, dword [ebx + 4]
push eax
lea ecx, [esp + 0x48]
call dword [0x416138]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00410210
add esp, 8
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov edx, dword [esp + 0x48]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x28]
mov edi, dword [ebp]
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push ebx
mov ecx, ebp
call dword [edi + 0x20]
cmp eax, 1
je 0x412019
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411c48
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [ebx + 0x20]
push eax
call fcn.0040e280
test eax, eax
mov dword [esp + 0x18], eax
jne 0x411c48
cmp esi, 1
je 0x411c26
cmp esi, 5
jne 0x411c48
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x411c48
test al, 0x10
je 0x411c48
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 4]
cmp eax, 3
je 0x412019
mov ecx, dword [esp + 0x44]
push ecx
push eax
push str.Action___d____s__n
push 0x41c3d8
call fcn.00408720
mov eax, dword [ebx + 8]
add esp, 0x10
test eax, eax
je 0x411e25
cmp byte [eax], 0
je 0x411e25
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411c91
sub eax, edx
mov edx, dword [ebx + 8]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], eax
call dword [0x416138]
lea eax, [esp + 0x28]
push eax
push 0x416a18
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 3
mov dword [esp + 0x34], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Tokenize]
cmp dword [esp + 0x28], 0xffffffff
mov byte [esp + 0x3c], 4
je 0x411d78
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411cf0
sub eax, edx
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea ecx, [esp + 0x14]
mov edi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x2c]
sub edx, esi
push esi
add eax, edx
push edi
push eax
call dword [sym.imp.MSVCR71.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
je 0x411e04
lea eax, [esp + 0x28]
push eax
push 0x416a18
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Tokenize]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 5
call dword [0x41614c]
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp dword [esp + 0x28], 0xffffffff
jne 0x411ce2
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x411df1
cmp esi, 4
je 0x411e0c
cmp esi, 5
je 0x411e0c
cmp esi, 2
je 0x411e0c
cmp esi, 1
je 0x411e0c
mov eax, dword [0x41c698]
test eax, eax
jne 0x411e0c
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411dca
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [ebx + 0x20]
push eax
mov eax, dword [edi + 4]
push eax
call fcn.0040e4d0
mov dword [esp + 0x24], eax
mov esi, eax
test byte [0x41c51c], 1
lea ecx, [esp + 0x1c]
je 0x411df5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x411ed3
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
jmp 0x412013
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411e4e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [edi + 4]
mov ecx, dword [ebx + 0x20]
push eax
push edx
call fcn.0040e4d0
mov dword [esp + 0x24], eax
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x411e6e
cmp esi, 2
je 0x411e60
cmp esi, 1
jne 0x411e6e
test byte [0x41c51c], 1
jne 0x411ee0
jmp 0x412019
push 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator]
test al, al
je 0x411eb0
cmp esi, 4
je 0x411e8b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x411eb0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push esi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push ebx
call dword [ebp + 0x18]
mov dword [0x41c698], 1
jmp 0x411ed3
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push ebx
call dword [ebp + 0x18]
mov dword [0x41c698], 0
test byte [0x41c51c], 1
je 0x412019
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x412019
mov eax, dword [ebx + 8]
test eax, eax
je 0x412019
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov bl, 6
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], bl
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
test eax, eax
je 0x411f9b
cmp esi, 4
je 0x411f25
mov eax, dword [esp + 0x18]
test eax, eax
je 0x411f9b
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.00410180
mov esi, eax
add esp, 4
test esi, esi
je 0x411f95
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, esi
sub ecx, eax
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 7
call dword [0x41614c]
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [edi + 4]
push eax
mov ebx, dword [ebp]
inc esi
push esi
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call dword [ebx + 0x28]
jmp 0x41200f
mov ecx, dword [edi + 4]
push ecx
jmp 0x411ffa
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.00410180
mov esi, eax
add esp, 4
test esi, esi
je 0x411ff6
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, esi
sub edx, eax
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 8
call dword [0x41614c]
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [edi + 4]
push ecx
jmp 0x411f7e
mov edx, dword [edi + 4]
push edx
mov esi, dword [ebp]
lea ecx, [esp + 0x14]
push 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, ebp
push eax
call dword [esi + 0x28]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x28]
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8