Function at 0x414779
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426be5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov dword [ebp - 0x44], eax
push 1
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp - 0x40]
movsx eax, byte [edx]
cmp eax, 8
jne 0x414809
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x34], 0
jmp 0x41481b
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x44]
jge 0x414981
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x34]
movsx ecx, byte [eax]
cmp ecx, 8
jne 0x41496b
cmp dword [ebp - 0x34], 0
je 0x414863
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x34]
movsx eax, byte [edx]
cmp eax, 8
jne 0x414863
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x34]
movsx edx, byte [ecx - 1]
cmp edx, 8
jne 0x414863
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x414904
push 1
lea ecx, [ebp - 0x38]
call fcn.00415ba0
movsx eax, al
cmp eax, 0x3a
jne 0x4148a0
push 2
lea ecx, [ebp - 0x38]
call fcn.00415ba0
movsx ecx, al
cmp ecx, 0x5c
jne 0x4148a0
lea ecx, [ebp - 0x38]
call fcn.00401c20
cmp eax, 4
jge 0x4148a0
jmp 0x4148db
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
or eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
and eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.004143ac
add esp, 0x18
jmp 0x414961
lea ecx, [ebp - 0x30]
push ecx
push 1
push 1
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00414331
add esp, 0xc
test eax, eax
je 0x414961
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
or eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
and eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
add esi, edx
mov edx, dword [ecx + 4]
adc edx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edx
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::Empty
jmp 0x41497c
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x34]
mov dl, byte [ecx]
push edx
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::operator_2
jmp 0x414812
mov dword [ebp - 0x4c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret