Function at 0x4c34d0
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x503fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x254]
mov eax, dword [ebx + 0x10]
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
test eax, eax
je 0x4c352e
cmp eax, esi
je 0x4c352e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x608
push 0x2b4
lea ecx, [ebx + 0x14]
push ecx
mov eax, esi
push 0
push eax
mov dword [ebx + 0x10], esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebx + 0x20]
test ecx, ecx
jne 0x4c3555
xor eax, eax
jmp 0x4c356f
mov eax, ecx
lea edi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4c3560
sub eax, edi
sar eax, 1
push eax
lea ebp, [ebx + 0x2cc]
push ecx
mov eax, ebp
call fcn.00401560
mov eax, dword [ebx + 0x2c8]
lea edi, [ebx + 0x2c8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x4c35ad
mov ecx, 0x104
mov eax, edi
call fcn.004014d0
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4c35d4
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x4c3730
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4c3730
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
test esi, esi
jne 0x4c3718
mov eax, dword [ebp]
cmp dword [eax - 0xc], esi
jne 0x4c3602
lea eax, [edx + 1]
jmp 0x4c3935
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_ILClone]
mov ebp, eax
push ebp
call dword [sym.imp.SHELL32.dll_ILRemoveLastID]
test eax, eax
je 0x4c367c
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x4c363f
mov ecx, 0x104
mov eax, edi
call fcn.004014d0
mov eax, dword [edi]
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4c3666
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x4c3730
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4c3730
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
push ebp
call dword [sym.imp.SHELL32.dll_ILFree]
test esi, esi
je 0x4c36a5
push 1
push 0x511ddc
push edi
call fcn.0041e520
mov eax, dword [ebx + 0x2cc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call fcn.0041e520
mov edx, dword [edi]
cmp dword [edx - 0xc], 0x104
jl 0x4c36fd
push edi
call fcn.0041e5f0
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x3a]
push ecx
mov word [esp + 0x3c], ax
call fcn.004e8fe0
mov eax, dword [edi]
add esp, 0xc
push 0x104
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jbe 0x4c36fd
lea edx, [esp + 0x30]
call fcn.00401600
push 0
push edi
mov eax, 4
call fcn.00427480
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c3714
mov edx, 0x510130
call fcn.00401600
test esi, esi
je 0x4c373a
mov eax, dword [edi]
lea esi, [ebx + 0x2d4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x4c3746
jmp 0x4c3740
push 0x80070057
call fcn.00401540
lea esi, [ebx + 0x2d4]
mov dword [esi], 0xffffffff
lea eax, [esp + 0x28]
push eax
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], esp
mov ebp, esp
call fcn.004048c0
add eax, 0x10
mov dword [ebp], eax
mov ecx, dword [esi]
push ecx
call fcn.004c29f0
test eax, eax
je 0x4c377f
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x18], edx
jmp 0x4c379e
lea eax, [ebx + 0x14]
test eax, eax
je 0x4c379e
push 0x4009
push 0x2b4
push eax
mov eax, dword [esp + 0x24]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4c38fa
test al, 0x10
jne 0x4c38fa
lea ebp, [ebx + 0x228]
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c37c0
sub eax, edx
sar eax, 1
jne 0x4c38fa
push edi
mov eax, 4
lea ecx, [esp + 0x1c]
call fcn.00429020
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push str..exe
push eax
call esi
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x1f]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c381b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], 0
je 0x4c386a
lea ecx, [esp + 0x20]
push 0x12a
push ecx
call fcn.00433510
mov eax, dword [eax]
push 0x50
push eax
push 0x50
push ebp
call fcn.004e53b6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c38fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4c38fa
push edi
mov eax, 4
lea ecx, [esp + 0x1c]
call fcn.00429020
mov eax, dword [eax]
push str..lnk
push eax
call esi
test eax, eax
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c38a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4c38ce
lea ecx, [esp + 0x18]
push 0x12b
push ecx
call fcn.00433510
mov eax, dword [eax]
push 0x50
push eax
push 0x50
push ebp
call fcn.004e53b6
lea ecx, [esp + 0x30]
jmp 0x4c38ee
lea edx, [esp + 0x2c]
push 0x12c
push edx
call fcn.00433510
mov eax, dword [eax]
push 0x50
push eax
push 0x50
push ebp
call fcn.004e53b6
lea ecx, [esp + 0x44]
add esp, 0x18
call fcn.004016f0
mov ebx, dword [esp + 0x20]
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x250], 0
call fcn.004c30f0
mov dword [esp + 0x250], 0xffffffff
call fcn.004c3160
mov byte [ebx + 0xc], al
xor eax, eax
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004e3edb
add esp, 0x23c
ret 4