Function at 0x424583
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ad0aa
call fcn.0049f0d0
sub esp, 0x4c
mov eax, dword [0x4f0dd0]
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 0x4245c5
xor eax, eax
jmp 0x424739
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 0x4246cb
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 0x424726
mov ecx, dword [ebp - 0x30]
push str.StreamMediaTask
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__::operator_wchar_t_const__]
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.00401506
cmp eax, esi
je 0x424669
cmp dword [ebp - 0x30], esi
je 0x424728
push dword [ebp - 0x30]
jmp 0x4246c3
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.0040153c
cmp eax, esi
jne 0x4246b6
cmp dword [ebp - 0x58], esi
je 0x4246b6
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x58]
call fcn.00424246
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.004015e9
cmp edi, esi
je 0x4246b2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
jmp 0x424728
lea ecx, [ebp - 0x58]
call fcn.004015e9
cmp edi, esi
je 0x424728
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424728
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 0x424726
mov ecx, dword [ebp - 0x30]
push str.StreamMediaTask
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__::operator_wchar_t_const__]
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 0x424726
mov ecx, dword [ebp - 0x34]
push 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__::operator_wchar_t_const__]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
xor esi, esi
pop ecx
inc esi
jmp 0x424728
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.0049f127
leave
ret 0xc