Function at 0x4247ea
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x40
lea ebp, [esp - 4]
mov eax, dword [0x4490e8]
xor eax, ebp
mov dword [ebp + 0x40], eax
push 0x48
mov eax, 0x431d99
call fcn.00425cc9
lea eax, [ebp - 0x54]
push eax
mov dword [ebp], ecx
call dword [sym.imp.xlstat4.dll_XLSTAT4_PrepareParam]
mov dword [ebp - 0x50], str.xl_video_pc
mov dword [ebp - 0x54], str.eGxfdmlkZW9fcGMACgAB
mov dword [ebp - 0x2c], 1
call fcn.0041f882
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 4], eax
mov edi, 0x3fffffff
test eax, eax
je 0x424849
push eax
call esi
inc eax
cmp eax, edi
jle 0x42484f
and dword [ebp - 0x4c], 0
jmp 0x42486a
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00426200
mov eax, esp
push 3
push ebx
push dword [ebp + 4]
push eax
call fcn.00415c83
mov dword [ebp - 0x4c], eax
call fcn.0041fa3e
mov dword [ebp + 4], eax
test eax, eax
je 0x42487e
push eax
call esi
inc eax
cmp eax, edi
jle 0x424884
and dword [ebp - 0x48], 0
jmp 0x42489f
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00426200
mov eax, esp
push 3
push ebx
push dword [ebp + 4]
push eax
call fcn.00415c83
mov dword [ebp - 0x48], eax
call fcn.00423e97
mov dword [ebp + 4], eax
test eax, eax
je 0x4248b3
push eax
call esi
inc eax
cmp eax, edi
jle 0x4248b9
and dword [ebp - 0x44], 0
jmp 0x4248d4
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00426200
mov eax, esp
push 3
push ebx
push dword [ebp + 4]
push eax
call fcn.00415c83
mov dword [ebp - 0x44], eax
call fcn.0041f9cc
mov ebx, eax
test ebx, ebx
je 0x4248e7
push ebx
call esi
inc eax
cmp eax, edi
jle 0x4248ed
and dword [ebp - 0x40], 0
jmp 0x424906
lea esi, [eax + eax]
mov eax, esi
call fcn.00426200
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00415c83
mov dword [ebp - 0x40], eax
lea eax, [ebp + 4]
push str.Stat_
push eax
call fcn.00423fb2
pop ecx
pop ecx
push dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 4]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP90.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
jne 0x424958
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP90.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
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP90.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 dword [ebp - 0x24], eax
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x439bb0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.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 + 8]
call dword [sym.imp.MSVCP90.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 dword [ebp - 0x28], eax
mov eax, dword [ebp]
add eax, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.xlstat4.dll_XLSTAT4_InitParam]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esp, [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40]
xor ecx, ebp
call fcn.00425cba
add ebp, 0x44
leave
ret