Function at 0x4151dc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420645
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2bc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x298]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.00413890
push 0x439b58
lea ecx, [ebp - 0x294]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
push 0x439b5c
lea ecx, [ebp - 0x29c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
push 0x439b60
lea ecx, [ebp - 0x290]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 4
push 0x439b64
lea ecx, [ebp - 0x28c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x298]
call fcn.0040d320
push eax
call sub.MFC42.DLL_CFile::GetStatus
fild dword [ebp - 0x27c]
fstp dword [ebp - 0x2a0]
fld dword [ebp - 0x2a0]
fcomp dword [0x421918]
fnstsw ax
test ah, 0x41
jne 0x415306
fld dword [ebp - 0x2a0]
fdiv dword [0x421918]
fstp dword [ebp - 0x2a0]
fld dword [ebp - 0x2a0]
fcomp dword [0x421918]
fnstsw ax
test ah, 1
je 0x4152e4
push 0x42a6ac
lea ecx, [ebp - 0x294]
call sub.MFC42.DLL_CString::operator_2
jmp 0x415306
fld dword [ebp - 0x2a0]
fdiv dword [0x421918]
fstp dword [ebp - 0x2a0]
push 0x42a6b0
lea ecx, [ebp - 0x294]
call sub.MFC42.DLL_CString::operator_2
fld dword [ebp - 0x2a0]
fcomp dword [0x421914]
fnstsw ax
test ah, 0x41
jne 0x415342
mov edx, dword [ebp - 0x294]
push edx
fld dword [ebp - 0x2a0]
sub esp, 8
fstp qword [esp]
push str._1.2f__s
lea eax, [ebp - 0x29c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x41536f
mov dword [ebp - 0x2a0], 0
fld dword [ebp - 0x2a0]
fcomp dword [0x421914]
fnstsw ax
test ah, 0x40
jne 0x41536f
push 0x42a6c0
lea ecx, [ebp - 0x29c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x29c]
call fcn.0040d320
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1248
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.00417f20
mov dword [ebp - 0x2a8], eax
lea ecx, [ebp - 0x288]
call fcn.00417f00
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x288]
call fcn.00417ee0
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x288]
call fcn.00417ec0
mov dword [ebp - 0x2b4], eax
lea ecx, [ebp - 0x288]
call fcn.00417ea0
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
mov edx, dword [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
push 0x42a6c4
lea ecx, [ebp - 0x290]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [ebp - 0x284]
call fcn.00417f20
mov dword [ebp - 0x2bc], eax
lea ecx, [ebp - 0x284]
call fcn.00417f00
mov dword [ebp - 0x2c0], eax
lea ecx, [ebp - 0x284]
call fcn.00417ee0
mov dword [ebp - 0x2c4], eax
lea ecx, [ebp - 0x284]
call fcn.00417ec0
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x284]
call fcn.00417ea0
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2bc]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x2c4]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
push str._d__02d__02d__02d:_02d
lea ecx, [ebp - 0x28c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
jmp 0x4154d1
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x290]
call fcn.0040d320
push eax
mov edx, dword [ebp + 8]
add edx, 0x12a8
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x28c]
call fcn.0040d320
push eax
mov eax, dword [ebp + 8]
add eax, 0x1288
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x711
push 0x160
lea ecx, [ebp - 0x170]
push ecx
push 0x80
lea ecx, [ebp - 0x298]
call fcn.0040d320
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x415564
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x170]
mov dword [edx + 0x4024], eax
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x12c8
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x2a4], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret