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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578ff8
mov eax, dword fs:[0]
push eax
mov eax, 0x130c
call fcn.0052c270
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor bl, bl
xor esi, esi
mov dword [ebp - 0x1310], eax
test eax, eax
jne 0x49aa7a
mov eax, dword [edi]
lea ecx, [ebp - 0x130c]
push dword [eax + 4]
push dword [eax + 0xc]
call fcn.0043b040
mov dword [ebp - 4], esi
call fcn.0040baa0
cmp dword [eax + 0x274], 8
lea esi, [eax + 0x260]
jb 0x49a945
mov esi, dword [esi]
xor eax, eax
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push 0x5883b8
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00406c80
mov byte [ebp - 4], 1
movzx eax, word [esi]
test ax, ax
je 0x49a9ff
cmp eax, 0x2e
je 0x49a9a8
push 0x58823c
lea ecx, [ebp - 0x230]
call fcn.0040a2e0
cmp word [esi], 0
jne 0x49a9b2
xor ecx, ecx
jmp 0x49a9c6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49a9b7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.00406760
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x49a9e8
lea eax, [ebp - 0x230]
push 0
push eax
lea eax, [ebp - 0x130c]
push str.Session_file
push eax
call fcn.0043c6a0
add esp, 0x10
push 0
push 0x587888
lea eax, [ebp - 0x130c]
push str.All_types
push eax
call fcn.0043c6a0
add esp, 0x10
lea ecx, [ebp - 0x130c]
call fcn.0043bab0
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x49aa49
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130c]
call fcn.0043b1b0
jmp 0x49aa8b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49aa8b
mov esi, dword [ebp - 0x1310]
call fcn.0040baa0
mov dword [ebp - 0x1310], eax
test esi, esi
je 0x49ace6
cmp dword [edi + 0x320], 1
jne 0x49ab0c
cmp dword [edi + 0x3a4], 1
jne 0x49ab0c
push 0
lea ecx, [edi + 0x310]
call fcn.00439b00
mov dword [ebp - 0x1314], eax
call fcn.00439ba0
push 0
lea ecx, [edi + 0x394]
call fcn.00439b00
mov dword [ebp - 0x1318], eax
call fcn.00439ba0
mov ecx, dword [ebp - 0x1314]
mov al, byte [ecx + 0x30]
test al, al
jne 0x49ab06
cmp dword [ecx + 0x64], 2
jne 0x49ab06
mov ecx, dword [ebp - 0x1318]
mov al, byte [ecx + 0x30]
test al, al
jne 0x49ab06
cmp dword [ecx + 0x64], 2
je 0x49ab24
mov eax, dword [ebp - 0x1310]
mov eax, dword [eax + 0x6f8]
cmp eax, 1
je 0x49ac21
cmp eax, 2
je 0x49ac21
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 3
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 5
call fcn.0040baa0
push esi
lea ecx, [ebp - 0x254]
push ecx
mov ecx, eax
call fcn.004b9850
test al, al
je 0x49abce
push 0
lea eax, [ebp - 0x254]
mov ecx, edi
push eax
call fcn.0049c670
mov bl, 1
test al, al
jne 0x49abce
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.0040baa0
mov ecx, eax
call fcn.004bcb10
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x23c]
call fcn.00468ec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00468ec0
test bl, bl
jne 0x49ace6
push 0
push 0
push 0
push str.Could_not_Load_Session
push str.Session_file_is_either_corrupted_or_not_valid.
push 0
push str.SessionFileInvalidError
lea ecx, [edi + 0x300]
call fcn.004607b0
jmp 0x49ace6
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str._multiInst__nosession__openSession
lea ecx, [ebp - 0x248]
call fcn.004029a0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x248]
push 1
push 0x593ed8
call fcn.00406760
cmp word [esi], 0
jne 0x49ac68
xor ecx, ecx
jmp 0x49ac7f
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49ac70
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.00406760
push 1
push 0x593ed8
lea ecx, [ebp - 0x248]
call fcn.00406760
cmp dword [ebp - 0x234], 8
mov ecx, dword [ebp - 0x248]
jae 0x49acb3
lea ecx, [ebp - 0x248]
mov eax, dword [edi]
push 5
push 0x58823c
push ecx
lea ecx, [ebp - 0x218]
push ecx
push str.open
push dword [eax + 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004038c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4