Function at 0x403730
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41e95c
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x42d028]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42d028]
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.00408e40
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 0x4037f9
mov ecx, dword [ebp + 0x20]
push ebx
push ebx
push 0x14b
push ecx
call edi
mov word [esi], 9
cmp word [0x42d9b4], 9
jne 0x40380c
mov dword [esp + 0x1c], ebx
mov edx, dword [0x42d8dc]
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 0x403848
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 0x40391a
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 0x40391a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40391a
mov eax, edi
mov word [ebp + 0xeca], ax
cmp word [0x42d9b4], ax
jne 0x4038d2
mov dword [esp + 0x1c], eax
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x154
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403903
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 0x4039d6
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 0x4039d6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4039d6
mov eax, 4
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403991
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x153
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4039c2
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 0x403a92
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 0x403a92
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403a92
mov eax, 0x16
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403a4d
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x15b
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403a7e
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 0x403b4e
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 0x403b4e
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403b4e
mov eax, 0x19
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403b09
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x15c
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403b3a
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 0x403c0a
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 0x403c0a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403c0a
mov eax, 0xa
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403bc5
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x15d
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403bf6
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 0x403cc6
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 0x403cc6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403cc6
mov eax, 6
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403c81
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x155
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403cb2
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 0x403d82
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 0x403d82
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403d82
mov eax, 0x13
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403d3d
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x156
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403d6e
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 0x403e3e
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 0x403e3e
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403e3e
mov eax, 0xc
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403df9
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x157
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403e2a
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 0x403efa
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 0x403efa
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403efa
mov eax, 7
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403eb5
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x158
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403ee6
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 0x403fb6
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 0x403fb6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x403fb6
mov eax, 0x10
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x403f71
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x159
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x403fa2
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 0x404072
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 0x404072
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x404072
mov eax, 0x11
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x40402d
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x15a
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x40405e
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 0x40412e
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 0x40412e
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40412e
mov eax, 0x1e
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x4040e9
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x161
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x40411a
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 0x4041ea
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 0x4041ea
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4041ea
mov eax, 0x1f
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x4041a5
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x162
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4041d6
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 0x4042a6
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 0x4042a6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4042a6
mov eax, 0x22
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x404261
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x163
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x404292
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 0x404362
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 0x404362
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x404362
mov eax, 0x2a
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x40431d
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x164
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x40434e
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 0x40441e
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 0x40441e
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40441e
mov eax, 0xb
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x4043d9
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x165
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x40440a
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 0x4044da
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 0x4044da
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4044da
mov eax, 0x15
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x404495
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x166
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x4044c6
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 0x404593
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 0x404593
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x404593
mov eax, 0x21
mov word [ebp + edi*2 + 0xec8], ax
cmp word [0x42d9b4], ax
jne 0x404551
mov dword [esp + 0x1c], edi
mov eax, dword [0x42d8dc]
push 0x200
push esi
push 0x167
push eax
mov word [esi], 0
call ebx
test eax, eax
jne 0x404582
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.0041d7b2
add esp, 0x81c
ret 4