Function at 0x4066d0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x423e4c
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
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.0040e7b0
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 + 0xec8]
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 0x406799
mov ecx, dword [ebp + 0x20]
push ebx
push ebx
push 0x14b
push ecx
call edi
mov word [esi], 9
cmp word [0x435a04], 9
jne 0x4067ac
mov dword [esp + 0x1c], ebx
mov edx, dword [0x43592c]
push 0x200
lea esi, [ebp + 0xac8]
push esi
push 0x152
mov word [esi], bx
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push edx
call ebx
test eax, eax
jne 0x4067e8
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 dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
mov edi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
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 0x4068ba
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 0x4068ba
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4068ba
mov eax, edi
mov word [ebp + 0xeca], ax
cmp word [0x435a04], ax
jne 0x406872
mov dword [esp + 0x1c], eax
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x154
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4068a3
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 1
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_776]
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 0x406976
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 0x406976
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406976
mov eax, 4
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406931
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x153
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406962
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_776]
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 0x406a32
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 0x406a32
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406a32
mov eax, 0x16
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x4069ed
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x15b
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406a1e
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_776]
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 0x406aee
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 0x406aee
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406aee
mov eax, 0x19
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406aa9
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x15c
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406ada
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_776]
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 0x406baa
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 0x406baa
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406baa
mov eax, 0xa
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406b65
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x15d
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406b96
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_776]
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 0x406c66
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 0x406c66
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406c66
mov eax, 6
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406c21
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x155
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406c52
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_776]
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 0x406d22
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 0x406d22
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406d22
mov eax, 0x13
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406cdd
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x156
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406d0e
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_776]
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 0x406dde
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 0x406dde
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406dde
mov eax, 0xc
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406d99
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x157
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406dca
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_776]
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 0x406e9a
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 0x406e9a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406e9a
mov eax, 7
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406e55
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x158
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406e86
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_776]
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 0x406f56
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 0x406f56
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x406f56
mov eax, 0x10
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406f11
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x159
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406f42
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_776]
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 0x407012
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 0x407012
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x407012
mov eax, 0x11
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x406fcd
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x15a
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x406ffe
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]
add edi, 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea eax, [ebp + 0x598]
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 0x4070ce
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 0x4070ce
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4070ce
mov eax, 0x1e
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x407089
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x161
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4070ba
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x161
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_776]
lea eax, [ebp + 0x590]
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 0x40718a
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 0x40718a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40718a
mov eax, 0x1f
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x407145
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x162
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x407176
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x162
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_776]
lea eax, [ebp + 0x59c]
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 0x407246
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 0x407246
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x407246
mov eax, 0x22
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x407201
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x163
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x407232
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x163
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_776]
lea eax, [ebp + 0x594]
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 0x407302
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 0x407302
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x407302
mov eax, 0x2a
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x4072bd
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x164
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4072ee
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x164
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_776]
lea eax, [ebp + 0x5a0]
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 0x4073be
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 0x4073be
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4073be
mov eax, 0xb
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x407379
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x165
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4073aa
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x165
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_776]
lea eax, [ebp + 0x5a4]
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 0x40747a
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 0x40747a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40747a
mov eax, 0x15
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x407435
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x166
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x407466
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x166
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_776]
lea eax, [ebp + 0x5a8]
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 0x407533
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 0x407533
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x407533
mov eax, 0x21
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x435a04], ax
jne 0x4074f1
mov dword [esp + 0x1c], edi
mov eax, dword [0x43592c]
push 0x200
push esi
push 0x167
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x407522
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push esi
push 0x167
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 + 0xf2c], esi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
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.00422de8
add esp, 0x81c
ret 4