Function at 0x552370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1664
call fcn.005c4400
mov eax, dword [ebp + 8]
test eax, eax
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
je 0x5526fc
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x5526fc
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5523b4
push 0
push 0xffffffffffffffff
push 0
push eax
call sym.vidcap60.exe__SfList_DeleteList_16
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5523d2
test al, 0x10
je 0x5523d2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
call sym.vidcap60.exe__SfDoesFileExist_4
test eax, eax
jne 0x5523ea
mov eax, 0x8004e00a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0xe54]
push ecx
lea edx, [esp + 0x1268]
push edx
lea eax, [esp + 0x844]
push eax
push esi
call dword [0x5d24f4]
lea ecx, [esp + 0x234]
add esp, 0x14
test ecx, ecx
je 0x55242b
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
lea eax, [esp + 0x220]
push str..wav
push eax
call dword [0x5d25ac]
mov ebx, dword [0x5d2618]
add esp, 8
neg eax
sbb eax, eax
inc eax
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
jmp 0x552460
mov ecx, dword [esi + 0x6121d0]
push ecx
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0xe58]
push eax
lea ecx, [esp + 0x126c]
push ecx
lea edx, [esp + 0x848]
push edx
lea eax, [esp + 0xa54]
push str._s_s_s_s_s
push eax
call sym.vidcap60.exe_SfPrintF
add esp, 0x1c
lea ecx, [esp + 0xa40]
push ecx
call sym.vidcap60.exe__SfDoesFileExist_4
test eax, eax
je 0x5525b4
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x18]
push 0x104
lea edx, [esp + 0xa44]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x20]
push eax
call ebx
lea ecx, [esp + 0xa4c]
push ecx
lea edx, [esp + 0x28]
xor esi, esi
push edx
mov word [esp + 0x232], si
call dword [0x5d24c4]
add esp, 0x14
test eax, eax
jne 0x5526d8
mov ecx, dword [ebp + 8]
push esi
push 0xffffffffffffffff
push 0x208
lea eax, [esp + 0x24]
push eax
push ecx
call sym.vidcap60.exe__SfList_AllocAndInsertItem_20
mov edx, dword [esi + 0x6121dc]
push edx
lea eax, [esp + 0xa44]
push eax
lea ecx, [esp + 0x430]
push 0x5d4ee8
push ecx
call sym.vidcap60.exe_SfPrintF
add esp, 0x10
lea edx, [esp + 0x428]
push edx
call sym.vidcap60.exe__SfDoesFileExist_4
test eax, eax
je 0x5525a4
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x42c]
push eax
lea ecx, [esp + 0x20]
push ecx
call ebx
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x28]
push eax
mov word [esp + 0x232], 0
call dword [0x5d24c4]
add esp, 0x14
test eax, eax
jne 0x5526d8
mov edx, dword [ebp + 8]
push eax
push 0xffffffffffffffff
push 0x208
lea ecx, [esp + 0x24]
push ecx
push edx
call sym.vidcap60.exe__SfList_AllocAndInsertItem_20
add esi, 4
cmp esi, 0xc
jb 0x552510
mov esi, dword [esp + 0x10]
add esi, 4
cmp esi, 0xc
mov dword [esp + 0x10], esi
jb 0x552460
xor esi, esi
jmp 0x5525d0
mov edx, dword [esi + 0x6121dc]
xor eax, eax
mov ecx, 0x104
lea edi, [esp + 0x428]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
test eax, eax
push edx
je 0x55261e
lea eax, [esp + 0xe54]
push eax
lea ecx, [esp + 0x1268]
push ecx
lea edx, [esp + 0x844]
push edx
lea eax, [esp + 0x438]
push str._s_s_s_s
push eax
call sym.vidcap60.exe_SfPrintF
add esp, 0x18
jmp 0x552653
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0xe58]
push edx
lea eax, [esp + 0x126c]
push eax
lea ecx, [esp + 0x848]
push ecx
lea edx, [esp + 0x43c]
push str._s_s_s_s_s
push edx
call sym.vidcap60.exe_SfPrintF
add esp, 0x1c
lea eax, [esp + 0x428]
push eax
call sym.vidcap60.exe__SfDoesFileExist_4
test eax, eax
je 0x5526bf
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x104
lea ecx, [esp + 0x42c]
push ecx
lea edx, [esp + 0x20]
push edx
call ebx
lea eax, [esp + 0x434]
push eax
lea ecx, [esp + 0x28]
push ecx
mov word [esp + 0x232], 0
call dword [0x5d24c4]
add esp, 0x14
test eax, eax
jne 0x5526d8
push eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0x208
lea edx, [esp + 0x24]
push edx
push eax
call sym.vidcap60.exe__SfList_AllocAndInsertItem_20
add esi, 4
cmp esi, 0xc
jb 0x5525d0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
push 0
push 0xffffffffffffffff
push 0
push ecx
mov dword [esp + 0x1c], 0x8004e00d
call sym.vidcap60.exe__SfList_DeleteList_16
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret 0xc