Function at 0x4bf250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edd58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x2a4]
push ebx
lea ecx, [esi + 0x1bc]
call fcn.0041af68
push 0x54b360
push ebx
call fcn.00403130
add esp, 8
test al, al
je 0x4bf5c9
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bf668
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov edi, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 0x14], edi
call fcn.00402370
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [ebp - 4], 1
or ebx, 0xffffffff
lea edi, [esi + 0x2bc]
mov dword [ebp - 4], ebx
call fcn.004d05e0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x54b364
call fcn.00401830
mov dword [ebp - 4], 2
mov dword [ebp - 4], ebx
mov ebx, edi
call fcn.004d0400
call fcn.0041d9cc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bf322
push 0x80004005
call fcn.004016a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [esi + 0x230]
call fcn.0041af68
lea edx, [ebp - 0x10]
push 0x54b384
push edx
call fcn.00403130
add esp, 8
test al, al
je 0x4bf61d
lea ebx, [ebp - 0x10]
call fcn.00401c50
mov ebx, eax
call fcn.00401cd0
lea edi, [ebp - 0x10]
call fcn.004057c0
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.00407070
mov byte [ebp - 4], 5
push 0x54b388
push eax
call fcn.00403130
add esp, 8
mov bl, al
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf3bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4bf3cf
push 0x54b38c
lea ecx, [ebp - 0x10]
push ecx
xor eax, eax
call fcn.00406dc0
push 1
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00406f90
mov byte [ebp - 4], 7
push 0x54b390
push eax
call fcn.00403130
add esp, 8
mov bl, al
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf414
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4bf425
push 0x54b394
lea ecx, [ebp - 0x10]
call fcn.004022e0
mov ecx, dword [ebp - 0x10]
lea edi, [esi + 0x2a8]
push edi
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov ebx, eax
test ebx, ebx
js 0x4bf5e4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x2a4]
push 1
push eax
call dword [sym.imp.ole32.dll_CoLoadLibrary]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4bf475
push 0x54b398
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4bf48d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4bf4ee
jle 0x4bf48b
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
jns 0x4bf4f5
lea ecx, [ebp - 0x18]
call fcn.004010b0
mov byte [ebp - 4], 9
push ebx
lea edx, [ebp - 0x18]
push str.Error_loading_library__hr__0x_08x_
push edx
call fcn.00402950
add esp, 0xc
push 0x10
push 0x54b3ac
mov eax, dword [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004188af
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x80070482
jmp 0x4bf491
lea ecx, [esi + 0x2b8]
push ecx
push 0x51afcc
push edi
call dword [ebp - 0x18]
mov edi, eax
test edi, edi
jns 0x4bf532
lea ecx, [ebp - 0x18]
call fcn.004010b0
mov byte [ebp - 4], 0xa
push edi
lea edx, [ebp - 0x18]
push str.Error_getting_IClassFactory_for_filter__hr__0x_08x_
push edx
call fcn.00402950
add esp, 0xc
push 0x10
push 0x54b46c
jmp 0x4bf4b6
mov eax, dword [esi + 0x2a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401830
mov bl, 0xb
mov byte [ebp - 4], bl
lea edi, [ebp - 0x14]
call fcn.00405820
push 0x54b478
mov ecx, edi
call fcn.00402320
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00402220
push ecx
mov edx, edi
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.004023e0
mov byte [ebp - 4], 0xc
lea edi, [esi + 0x2d4]
mov byte [ebp - 4], bl
call fcn.004d05e0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x54b47c
call fcn.00401830
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], bl
mov ebx, edi
call fcn.004d0400
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00401120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401120
push 1
mov ecx, esi
call fcn.0042bb55
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push 0x54b4a8
push str.CLSID___Parsing_Error
mov ecx, esi
call fcn.004188af
mov eax, dword [0x54cfd4]
mov dword [edi], eax
mov ecx, dword [0x54cfd8]
mov dword [edi + 4], ecx
mov edx, dword [0x54cfdc]
mov dword [edi + 8], edx
mov eax, dword [0x54cfe0]
mov dword [edi + 0xc], eax
jmp 0x4bf4cd
push 0x10
push 0x54b4e0
push str.No_CLSID_provided
mov ecx, esi
call fcn.004188af
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf5d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.004014a0
push 0x10
push 0x54b510
push str.Can_not_find_specified_file
mov ecx, esi
call fcn.004188af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret