Function at 0x45baf0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4b6fd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x40], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1ac], 1
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1b8]
lea ebp, [esi + 0xb0]
push eax
lea ecx, [esp + 0x24]
push ebp
push ecx
mov byte [esp + 0x1b8], 2
call sub.MFC42.DLL_operator_4
lea ebx, [esi + 0x80]
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, ebx
mov byte [esp + 0x1b4], 3
call fcn.0045d6c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ac], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jne 0x45c078
mov eax, dword [esp + 0x1b8]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [esp + 0x28]
call fcn.004abd48
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b0], 4
call sub.MFC42.DLL_CString::MakeLower
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
lea ecx, [esi + 0x98]
push edx
push eax
mov dword [esp + 0x38], ecx
call fcn.0045d6c0
mov esi, dword [esi + 0x9c]
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x45bca0
lea ecx, [esp + 0x1bc]
lea edx, [esp + 0x14]
push ecx
push ebp
push edx
call sub.MFC42.DLL_operator_4
mov esi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 5
call sub.MFC42.DLL_CString::CString_2
mov edi, eax
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 6
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], 7
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x1b8], 8
call fcn.0045d5b0
mov esi, dword [eax]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], 6
call fcn.00406130
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x2c]
lea ecx, [esi + 0x10]
add edx, 0x10
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
add eax, 0x10
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x45c064
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1bc]
lea edx, [esp + 0x14]
push ecx
push ebp
push edx
mov byte [esp + 0x1bc], 9
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b4], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e58d8
push eax
call esi
add esp, 8
test eax, eax
jne 0x45bd0d
push 0x4df1dc
lea ecx, [esp + 0x1c]
call fcn.004abdba
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x48]
mov edx, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c0]
push 0x400
mov ecx, edi
lea eax, [esp + 0x4c]
neg ecx
sbb ecx, ecx
push 0x160
and ecx, 0xffffff90
push eax
add ecx, 0x80
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x45bf01
lea eax, [esp + 0x158]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x10]
push 0x4e58d8
push ecx
call esi
add esp, 8
test eax, eax
jne 0x45bdfe
mov edx, dword [esp + 0x1bc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
push 0x4e58d8
push eax
call esi
add esp, 8
test eax, eax
je 0x45bdd9
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0x10]
push 0x4e58d8
push edx
call esi
add esp, 8
test eax, eax
je 0x45bf8b
jmp 0x45bf7b
mov eax, dword [esp + 0x1bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [esp + 0x18]
call fcn.004abd48
test edi, edi
mov byte [esp + 0x1b0], 0xc
jne 0x45beeb
mov ecx, dword [esp + 0x14]
push 0x4e58d8
push ecx
call esi
add esp, 8
test eax, eax
je 0x45beeb
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov esi, eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x1b4], 0xd
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], 0xe
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x1b8], 0xf
call fcn.00406260
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00451d50
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b0], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b0], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 9
call sub.MFC42.DLL_CString::CString
jmp 0x45bf99
mov edx, dword [esp + 0x1bc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
push 0x4e58d8
push eax
call esi
add esp, 8
test eax, eax
je 0x45bf5f
lea ecx, [esp + 0x28]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0x10]
push 0x4e58d8
push edx
call esi
add esp, 8
test eax, eax
je 0x45bf8b
push str._file
lea ecx, [esp + 0x14]
call fcn.004abdba
jmp 0x45bf99
push str.File
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x1bc]
lea ecx, [esp + 0x30]
push eax
push ebp
push ecx
call sub.MFC42.DLL_operator_4
mov esi, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b0], 0x12
call sub.MFC42.DLL_CString::CString_2
mov edi, eax
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 0x13
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], 0x14
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x1c]
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x1b8], 0x15
call fcn.00406260
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b0], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b0], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b0], 2
call sub.MFC42.DLL_CString::CString
pop edi
jmp 0x45c085
add ecx, 0x10
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x1b4]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x40], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1ac], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x1ac], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 0xc