Function at 0x401bef
Capabilities:
Get file system object information

Disassembly:
jmp 0x415ac0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x525a61
push eax
mov dword fs:[0], esp
sub esp, 0x4d8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4f8]
cmp byte [edi], 0
jne 0x415b32
mov eax, dword [0x5668ec]
test eax, eax
jne 0x415b07
push 0xffffffffffffffff
push 0x30
push 0x28e5
call sub.MFC42.DLL_AfxMessageBox
jmp 0x416143
mov ecx, 0x566958
call fcn.00401af0
test eax, eax
je 0x415b18
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x8004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
jmp 0x416145
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str._dde
push edi
call esi
test eax, eax
jne 0x415b4e
mov eax, 1
jmp 0x416145
push str._kill
push edi
call esi
test eax, eax
jne 0x415b69
mov ecx, 0x566958
call fcn.004010af
jmp 0x416143
xor ebp, ebp
lea eax, [esp + 0x280]
push ebp
push eax
push 0x105
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [esp + 0x280]
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jne 0x415bb3
lea edx, [esp + 0x280]
push ebp
push edx
mov ecx, 0x566958
call fcn.00402ae5
mov eax, 1
jmp 0x416145
mov ebx, vtable.Table_char_.0
push 0x80
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_operatornew
mov esi, 0x40
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0x1f
mov dword [esp + 0x28], esi
lea eax, [esp + 0x74]
lea ecx, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x4fc], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x3c], edi
call fcn.00416310
add esp, 0xc
test eax, eax
je 0x415cb9
lea edx, [esp + 0x70]
push edx
call fcn.00471c80
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x415c95
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x415c81
mov edx, dword [esp + 0x24]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add esp, 8
add eax, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x70]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.00416310
add esp, 8
test eax, eax
jne 0x415c0c
mov esi, 0x40
mov ebx, vtable.Table_char_.0
push 0x80
mov dword [esp + 0x54], ebx
call sub.MFC42.DLL_operatornew
xor ebp, ebp
mov edi, 0x1f
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
push 0x80
mov byte [esp + 0x4f8], 1
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_operatornew
xor ebx, ebx
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], esi
mov eax, 1
xor edi, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x4f0], 2
cmp eax, ebp
mov dword [esp + 0x2c], edi
jle 0x41606e
cmp edi, eax
jge 0x415d45
test edi, edi
jl 0x415d45
mov eax, dword [esp + 0x14]
mov esi, dword [eax + edi*4]
jmp 0x415d47
xor esi, esi
push 0x551d4c
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x415f4b
lea ecx, [esp + 0x178]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
call esi
lea edx, [esp + 0x178]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jle 0x415d94
lea eax, [esp + 0x178]
push 0
push eax
call fcn.00472130
add esp, 8
lea ecx, [esp + 0x178]
push 0
push ecx
lea edx, [esp + 0x180]
push 0x105
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x178]
push eax
push ecx
call fcn.00475b10
add esp, 8
test eax, eax
jne 0x415dd9
lea edx, [esp + 0x178]
lea eax, [esp + 0x70]
push edx
push eax
call esi
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x566788
call fcn.004c1ec0
test eax, eax
jne 0x415e57
lea edx, [esp + 0x70]
push 0x2a
push edx
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x415ee1
lea eax, [esp + 0x70]
push 0x3f
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x415ee1
push 0x800
lea ecx, [esp + 0x38c]
push 0x160
push ecx
lea edx, [esp + 0x7c]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x415ecd
mov eax, dword [esp + 0x390]
shr eax, 0x1d
and eax, 1
test eax, eax
je 0x415ee1
lea ecx, [esp + 0x70]
push ecx
call fcn.00471c80
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
je 0x415f4b
mov ecx, dword [esp + 0x40]
lea esi, [ecx + 1]
cmp ebx, esi
jne 0x415ebe
lea edx, [ecx*4 + 0x104]
push edx
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov esi, eax
mov edi, ebp
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
add esp, 8
add eax, 0x40
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x3c], ebx
mov dword [ecx + ebx*4 - 4], eax
jmp 0x415f4b
lea eax, [esp + 0x70]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jne 0x415f4b
lea edx, [esp + 0x70]
push edx
call fcn.00471c80
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x415f47
mov eax, dword [esp + 0x5c]
lea esi, [eax + 1]
cmp ebp, esi
jne 0x415f3a
lea eax, [eax*4 + 0x104]
push eax
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov eax, dword [esp + 0x58]
mov ecx, esi
mov esi, eax
mov edi, ebp
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x34]
add esp, 8
add eax, 0x40
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x54]
inc ebp
mov dword [esp + 0x58], ebp
mov dword [ecx + ebp*4 - 4], ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
mov dword [esp + 0x2c], edi
jl 0x415d38
test ebp, ebp
je 0x41606e
xor esi, esi
test ebp, ebp
jle 0x415fac
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x4f8]
push 0x551d4c
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
neg eax
sbb eax, eax
neg eax
cmp esi, ebp
jge 0x415f96
test esi, esi
jl 0x415f96
mov ecx, dword [edi]
jmp 0x415f98
xor ecx, ecx
push eax
push ecx
mov ecx, 0x566958
call fcn.00402ae5
inc esi
add edi, 4
cmp esi, ebp
jl 0x415f6e
xor esi, esi
test ebx, ebx
jle 0x415fd5
mov edi, dword [esp + 0x38]
cmp esi, ebx
jge 0x415fc2
test esi, esi
jl 0x415fc2
mov eax, dword [edi]
jmp 0x415fc4
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc esi
add edi, 4
cmp esi, ebx
jl 0x415fba
mov eax, dword [esp + 0x38]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
test ebp, ebp
jle 0x41600b
mov edi, dword [esp + 0x54]
cmp esi, ebp
jge 0x415ff8
test esi, esi
jl 0x415ff8
mov eax, dword [edi]
jmp 0x415ffa
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc esi
add edi, 4
cmp esi, ebp
jl 0x415ff0
mov ecx, dword [esp + 0x54]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
mov dword [esp + 0x10], vtable.Table_char_.0
je 0x416057
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x416057
cmp esi, eax
jge 0x416043
test esi, esi
jl 0x416043
mov edx, dword [esp + 0x14]
mov eax, dword [edx + esi*4]
jmp 0x416045
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x416036
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
jmp 0x416145
mov edi, dword [esp + 0x4f8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x50
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push edi
push 0x3e8b
push eax
push esi
call fcn.00475a90
add esp, 0x10
push 0
push 0x30
push esi
call sub.MFC42.DLL_AfxMessageBox_1
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x4160de
mov edi, dword [esp + 0x38]
cmp esi, ebx
jge 0x4160cb
test esi, esi
jl 0x4160cb
mov eax, dword [edi]
jmp 0x4160cd
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc esi
add edi, 4
cmp esi, ebx
jl 0x4160c3
mov ecx, dword [esp + 0x38]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x58]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
mov dword [esp + 0x4f0], 0xffffffff
mov dword [esp + 0x10], vtable.Table_char_.0
je 0x416136
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x416136
push esi
lea ecx, [esp + 0x14]
call fcn.0040170d
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x41611a
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4e8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e4
ret