Function at 0x403000
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41891c
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x425028]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x834]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
xor ebx, ebx
push 0x3fe
lea eax, [esp + 0x26]
push ebx
mov dword [esp + 0x834], ebx
push eax
mov word [esp + 0x2c], bx
call sub.MSVCR80.dll_memset
push 0x200
lea esi, [esp + 0x30]
call fcn.004068f0
lea ecx, [ebp + 0x498]
push ecx
mov edx, esi
push 0x200
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0x1c
push ebx
lea esi, [ebp + 0xe90]
xor eax, eax
push ebx
mov ecx, 0x19
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x146
push eax
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
je 0x4030c9
mov ecx, dword [ebp + 0x20]
push ebx
push ebx
push 0x14b
push ecx
call edi
mov word [esi], 9
cmp word [0x425814], 9
jne 0x4030dc
mov dword [esp + 0x1c], ebx
mov edx, dword [0x42580c]
push 0x200
lea esi, [ebp + 0xa90]
push esi
push 0x152
mov word [esi], bx
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push edx
call ebx
test eax, eax
jne 0x403118
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x152
push eax
call ebx
mov eax, dword [ebp + 0x20]
push esi
push 0
push 0x14a
push eax
call edi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
mov edi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea edx, [ebp + 0x584]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4031e3
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x4031e3
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4031e3
mov word [ebp + 0xe92], di
cmp word [0x425814], di
jne 0x40319c
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x154
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4031cd
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x154
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 2
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x588]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40329f
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x40329f
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40329f
mov eax, 4
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x40325a
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x153
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x40328b
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x153
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x56c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40335b
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x40335b
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40335b
mov eax, 0x16
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x403316
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x15b
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403347
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x15b
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x564]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x403417
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x403417
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403417
mov eax, 0x19
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x4033d2
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x15c
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403403
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x15c
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x568]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4034d3
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x4034d3
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4034d3
mov eax, 0xa
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x40348e
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x15d
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4034bf
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x15d
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x580]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40358f
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x40358f
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40358f
mov eax, 6
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x40354a
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x155
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x40357b
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x155
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x57c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40364b
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x40364b
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40364b
mov eax, 0x13
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x403606
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x156
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403637
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x156
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x574]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x403707
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x403707
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403707
mov eax, 0xc
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x4036c2
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x157
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4036f3
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x157
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x578]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4037c3
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x4037c3
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4037c3
mov eax, 7
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x40377e
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x158
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4037af
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x158
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x58c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40387f
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x40387f
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40387f
mov eax, 0x10
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x40383a
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x159
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x40386b
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x159
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_768]
lea eax, [ebp + 0x570]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
je 0x403938
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x200
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
je 0x403938
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403938
mov eax, 0x11
mov word [ebp + edi*2 + 0xe90], ax
cmp word [0x425814], ax
jne 0x4038f6
mov dword [esp + 0x1c], edi
mov eax, dword [0x42580c]
push 0x200
push esi
push 0x15a
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403927
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x15a
push eax
call ebx
mov ecx, dword [ebp + 0x20]
push esi
push edi
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x20]
push 0
push esi
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x14]
mov dword [ebp + 0xef4], esi
call dword [sym.imp.MFC80U.DLL_Ordinal_575]
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00417909
add esp, 0x81c
ret 4