Function at 0x41922a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
sub esp, 0x858
lea ebp, [esp - 4]
mov eax, dword [0x4490e8]
xor eax, ebp
mov dword [ebp + 0x858], eax
push 0x14
mov eax, 0x430fab
call fcn.00425cc9
mov eax, dword [ebp + 0x864]
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x20], eax
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_void_]
xor ebx, ebx
lea ecx, [ebp]
mov dword [ebp - 4], ebx
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_void_]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push 0x20019
push str.SOFTWAREThunder_NetworkXmp5BackUp
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040bcbf
mov esi, 0x206
mov edi, 0x104
test eax, eax
jne 0x419330
push esi
mov word [ebp + 0x448], ax
lea eax, [ebp + 0x44a]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x448]
push eax
push str.Path
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
call fcn.00416997
test eax, eax
jne 0x4192e8
lea eax, [ebp + 0x448]
push eax
lea ecx, [ebp + 0x1c]
call dword [0x434304]
xor eax, eax
push esi
mov word [ebp + 0x650], ax
lea eax, [ebp + 0x652]
push ebx
push eax
mov dword [ebp - 0x18], edi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x650]
push eax
push str.CoreDir
lea ecx, [ebp - 0x14]
call fcn.00416997
test eax, eax
jne 0x4193df
lea eax, [ebp + 0x650]
jmp 0x4193d5
push 0x20019
push str.SOFTWAREThunder_NetworkXmp
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.0040bcbf
test eax, eax
jne 0x4193df
push esi
mov word [ebp + 0x650], ax
lea eax, [ebp + 0x652]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x650]
push eax
push str.Path
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
call fcn.00416997
test eax, eax
jne 0x419396
lea eax, [ebp + 0x650]
push eax
lea ecx, [ebp + 0x1c]
call dword [0x434304]
xor eax, eax
push esi
mov word [ebp + 0x448], ax
lea eax, [ebp + 0x44a]
push ebx
push eax
mov dword [ebp - 0x18], edi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x448]
push eax
push str.CoreDir
lea ecx, [ebp - 0x14]
call fcn.00416997
test eax, eax
jne 0x4193df
lea eax, [ebp + 0x448]
push eax
lea ecx, [ebp]
call dword [0x434304]
lea ecx, [ebp + 0x1c]
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
je 0x4194ce
lea ecx, [ebp]
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
je 0x4194ce
push ebx
lea ecx, [ebp + 0x1c]
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 fcn.00415fa6
movzx eax, ax
mov dword [ebp - 0x18], edx
cdq
pop ecx
pop ecx
cmp edx, ebx
ja 0x41943d
jb 0x4194ce
cmp eax, 0xd1b
jb 0x4194ce
xor eax, eax
push esi
mov word [ebp + 0x240], ax
lea eax, [ebp + 0x242]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.xar_appPusherFix.xar
lea ecx, [ebp]
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
lea eax, [ebp + 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4194ce
xor eax, eax
push esi
mov word [ebp + 0x38], ax
lea eax, [ebp + 0x3a]
push ebx
push eax
call sub.MSVCR90.dll_memset
push dword [ebp - 0x20]
lea eax, [ebp + 0x240]
push eax
push str._loadxar___s___s
lea eax, [ebp + 0x38]
push edi
push eax
call dword [sym.imp.MSVCR90.dll__snwprintf]
add esp, 0x20
push ebx
push ebx
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
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 str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.0040bca4
lea ecx, [ebp]
mov byte [ebp - 4], bl
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 + 0x1c]
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_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x858]
xor ecx, ebp
call fcn.00425cba
add ebp, 0x85c
leave
ret