Function at 0x432ca6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4df61b
call fcn.004d1ec0
sub esp, 0x4c
mov eax, dword [0x52f220]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x38], ecx
push 0x3a
mov ecx, esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_of_wchar_t__unsigned_int_const]
cmp eax, 0xffffffff
jne 0x432ce8
xor eax, eax
jmp 0x432e5c
push ebx
push edi
push dword [esi + 0x14]
inc eax
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
mov ebx, dword [sym.imp.MSVCR71.dll_wcslen]
and dword [ebp - 4], 0
mov edi, str._AgentStreamFile
push edi
call ebx
pop ecx
push eax
push edi
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov edi, dword [sym.imp.MSVCR71.dll__wcsnicmp]
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x432dee
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432e49
mov ecx, dword [ebp - 0x30]
push str.StreamMediaTask
call dword [0x4ec734]
xor esi, esi
mov dword [ebp - 0x30], esi
push esi
push esi
push 0x80
push 3
push 1
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x30]
call fcn.004015c2
cmp eax, esi
je 0x432d8c
cmp dword [ebp - 0x30], esi
je 0x432e4b
push dword [ebp - 0x30]
jmp 0x432de6
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], esi
mov edi, dword [ebp - 0x30]
push 4
push 2
push esi
push esi
push esi
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004015f8
cmp eax, esi
jne 0x432dd9
cmp dword [ebp - 0x58], esi
je 0x432dd9
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x58]
call fcn.00432969
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.004016a5
cmp edi, esi
je 0x432dd5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
jmp 0x432e4b
lea ecx, [ebp - 0x58]
call fcn.004016a5
cmp edi, esi
je 0x432e4b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x432e4b
push str._AgentStreamShareMem
call ebx
pop ecx
push eax
push str._AgentStreamShareMem
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x432e49
mov ecx, dword [ebp - 0x30]
push str.StreamMediaTask
call dword [0x4ec734]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll__wtoi]
mov esi, eax
test esi, esi
pop ecx
je 0x432e49
mov ecx, dword [ebp - 0x34]
push esi
call dword [0x4ec734]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
xor esi, esi
pop ecx
inc esi
jmp 0x432e4b
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 0xc