Function at 0x412350
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x416f69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.00411180
mov esi, dword [esp + 0x130]
push 0x421970
mov ecx, esi
mov dword [esp + 0x124], 0
call fcn.00414874
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x3c]
push eax
push edi
mov ecx, ebp
call fcn.00413030
test eax, eax
jne 0x4123cd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x120], 0xffffffff
call fcn.00411210
mov eax, 1
jmp 0x4127e1
lea ecx, [esp + 0x64]
call fcn.00410cc0
mov eax, dword [esp + 0x12c]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x64]
push ecx
push edx
push edi
push eax
mov ecx, ebp
mov byte [esp + 0x130], 1
call fcn.00411a80
mov edi, eax
test edi, edi
je 0x41242a
lea ecx, [esp + 0x64]
mov byte [esp + 0x120], 0
call fcn.00410d40
lea ecx, [esp + 0x3c]
mov dword [esp + 0x120], 0xffffffff
call fcn.00411210
mov eax, edi
jmp 0x4127e1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::CFileFind
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x120], 2
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp al, 0x10
jne 0x41248c
lea edx, [esp + 0x68]
push str..
lea eax, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x128], 3
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0xc]
mov edi, eax
mov byte [esp + 0x120], 2
call fcn.0041486e
jmp 0x41249e
mov ecx, dword [esp + 0x68]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
mov edi, eax
test edi, edi
push ebx
je 0x412617
mov bl, 5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x41260f
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x20]
call dword [edx + 0x40]
test eax, eax
je 0x4124dd
push str.drwx______
jmp 0x4124e2
push str._rwx______
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push str._1_user_group
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x124], 4
call sub.MFC42.DLL_CFileFind::GetLength
push eax
lea eax, [esp + 0x18]
push 0x4213e8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x421790
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x124], bl
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
sub eax, ecx
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, esi
mov byte [esp + 0x128], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x38]
mov byte [esp + 0x124], bl
call fcn.0041486e
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x1c]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, ebp
call fcn.004134c0
push eax
mov ecx, esi
mov byte [esp + 0x128], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x3c]
mov byte [esp + 0x124], bl
call fcn.0041486e
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
mov ecx, esi
mov byte [esp + 0x128], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x124], bl
call fcn.0041486e
push 0x4204b0
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 4
call fcn.0041486e
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 2
call fcn.0041486e
test edi, edi
jne 0x4124a9
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4127a8
mov eax, dword [esp + 0x54]
xor edi, edi
test eax, eax
jle 0x4127a8
lea edx, [esp + 0x8c]
push edi
push edx
lea ecx, [esp + 0x54]
call fcn.00413630
mov ecx, dword [eax + 0x20]
mov byte [esp + 0x124], 9
test ecx, ecx
jne 0x412692
lea eax, [esp + 0xd4]
push edi
push eax
lea ecx, [esp + 0x54]
call fcn.00413630
mov eax, dword [eax + 8]
push 0x421970
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0xd4]
test eax, eax
setne bl
call fcn.00410d40
test bl, bl
je 0x412692
mov bl, 1
jmp 0x412694
xor bl, bl
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 2
call fcn.00410d40
test bl, bl
je 0x41279b
lea ecx, [esp + 0xb0]
push edi
push ecx
lea ecx, [esp + 0x54]
call fcn.00413630
mov eax, dword [eax + 4]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x12c], 0xa
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0xb0]
mov ebx, eax
mov byte [esp + 0x124], 2
call fcn.00410d40
test ebx, ebx
je 0x41279b
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
push str.drwx______
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push str._1_user_group
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push str._____________0
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.004134c0
push eax
mov ecx, esi
mov byte [esp + 0x128], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x124], 2
call fcn.0041486e
lea ecx, [esp + 0xf8]
push edi
push ecx
lea ecx, [esp + 0x54]
call fcn.00413630
add eax, 8
mov ecx, esi
push eax
mov byte [esp + 0x128], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xf8]
mov byte [esp + 0x124], 2
call fcn.00410d40
push 0x4204b0
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x412634
lea ecx, [esp + 0x1c]
mov byte [esp + 0x124], 1
call fcn.00414eaa
lea ecx, [esp + 0x68]
mov byte [esp + 0x124], 0
call fcn.00410d40
lea ecx, [esp + 0x40]
mov dword [esp + 0x124], 0xffffffff
call fcn.00411210
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x118
ret 0xc