Function at 0x4d90e0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61287a
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x20], 0
jne 0x4d93f1
lea ecx, [ebp + 8]
call fcn.0047bfd0
sub eax, 2
push eax
push 1
lea eax, [ebp - 0x528]
push eax
lea ecx, [ebp + 8]
call fcn.0047db00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x528]
call fcn.0047db80
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d9237
mov dword [ebp - 0x584], 2
push 0
push 2
push 0x69b3e8
push 0x427
push 0x69b47c
push 0x80
lea ecx, [ebp - 0x644]
call fcn.00486a40
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov dword [ebp - 0x588], ecx
mov byte [ebp - 4], 2
push 0x69b4dc
lea edx, [ebp - 0x584]
push edx
push str._CreateProcess_failed1__
mov eax, dword [0x6c7c2c]
push eax
push 1
mov ecx, dword [ebp - 0x588]
push ecx
call fcn.00486b20
add esp, 0xc
mov ecx, eax
call fcn.0049bd50
mov ecx, eax
call fcn.0049bf10
mov ecx, eax
call fcn.0049bd50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x644]
call fcn.00486ac0
push 0
push 0x69b4a8
push 0x69b4ac
push 0x69b508
call fcn.004dcb80
mov ecx, eax
call fcn.004dcc20
mov dword [ebp - 0x58c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047dc50
mov eax, dword [ebp - 0x58c]
jmp 0x4d9631
lea edx, [ebp + 8]
push edx
push 0x69b510
lea eax, [ebp - 0x558]
push eax
call fcn.004ca770
add esp, 0xc
mov byte [ebp - 4], 3
push 1
push 0
lea ecx, [ebp - 0x558]
call fcn.0047db80
push eax
push 0x69b4e0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x5b4], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x574], eax
cmp dword [ebp - 0x574], 0
je 0x4d93af
push 0
push 2
push 0x69b560
push 0x442
push 0x69b53c
push 0x80
lea ecx, [ebp - 0x67c]
call fcn.00486a40
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
mov byte [ebp - 4], 4
push 0x69b538
lea edx, [ebp - 0x574]
push edx
push str._CreateProcess_failed2__
mov eax, dword [0x6c7c2c]
push eax
push 1
mov ecx, dword [ebp - 0x594]
push ecx
call fcn.00486b20
add esp, 0xc
mov ecx, eax
call fcn.0049bd50
mov ecx, eax
call fcn.0049bde0
mov ecx, eax
call fcn.0049bd50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x67c]
call fcn.00486ac0
mov byte [ebp - 0x90], 0
push 0x7f
push 0
lea edx, [ebp - 0x8f]
push edx
call fcn.005e3180
add esp, 0xc
mov eax, dword [ebp - 0x574]
push eax
push 0x69b5fc
lea ecx, [ebp - 0x90]
push ecx
call fcn.0047f4b0
add esp, 0xc
push 0
lea edx, [ebp - 0x90]
push edx
push 0x69b600
push 0x69b5f4
call fcn.004dcb80
mov ecx, eax
call fcn.004dcc20
mov dword [ebp - 0x598], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x558]
call fcn.0047dc50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047dc50
mov eax, dword [ebp - 0x598]
jmp 0x4d9631
mov dword [ebp - 0x59c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x558]
call fcn.0047dc50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047dc50
mov eax, dword [ebp - 0x59c]
jmp 0x4d9631
push 0x44
push 0
lea eax, [ebp - 0x60c]
push eax
call fcn.005e3180
add esp, 0xc
mov dword [ebp - 0x60c], 0x44
mov ecx, 1
mov word [ebp - 0x5dc], cx
push 0x69b55c
lea ecx, [ebp - 0x540]
call fcn.0048c140
mov byte [ebp - 4], 5
mov edx, dword [0x6a5308]
push edx
push 0x5c
lea ecx, [ebp + 8]
call fcn.004daa10
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 0xffffffff
je 0x4d9489
mov eax, dword [ebp - 0x578]
push eax
push 1
lea ecx, [ebp - 0x570]
push ecx
lea ecx, [ebp + 8]
call fcn.0047db00
mov dword [ebp - 0x5a0], eax
mov edx, dword [ebp - 0x5a0]
push edx
lea ecx, [ebp - 0x540]
call fcn.0047dca0
lea ecx, [ebp - 0x570]
call fcn.0047dc50
lea eax, [ebp - 0x5c8]
push eax
lea ecx, [ebp - 0x60c]
push ecx
lea ecx, [ebp - 0x540]
call fcn.0047db80
push eax
push 0
push 0x4000000
push 1
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0047db80
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x4d9603
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x5b8], 0x200
push 0x200
push 0
lea edx, [ebp - 0x510]
push edx
call fcn.005e3180
add esp, 0xc
mov eax, dword [ebp - 0x57c]
push eax
push str.CreateProcess_failed3___d_
lea ecx, [ebp - 0x510]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 2
push str.int___cdecl_FuntionImpl::StartTargetMainExe_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t____int_
push 0x465
push 0x69b614
push 0x80
lea ecx, [ebp - 0x6b4]
call fcn.00486a40
mov dword [ebp - 0x5a4], eax
mov edx, dword [ebp - 0x5a4]
mov dword [ebp - 0x5a8], edx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x510]
push eax
mov ecx, dword [0x6c7c2c]
push ecx
push 1
mov edx, dword [ebp - 0x5a8]
push edx
call fcn.00486b20
add esp, 0xc
mov ecx, eax
call fcn.004ca830
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6b4]
call fcn.00486ac0
mov byte [ebp - 0x110], 0
push 0x7f
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.005e3180
add esp, 0xc
mov ecx, dword [ebp - 0x57c]
push ecx
push 0x69b634
lea edx, [ebp - 0x110]
push edx
call fcn.0047f4b0
add esp, 0xc
push 0
lea eax, [ebp - 0x110]
push eax
push str.StartWindowError
push str.Other
call fcn.004dcb80
mov ecx, eax
call fcn.004dcc20
mov dword [ebp - 0x5ac], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x540]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047dc50
mov eax, dword [ebp - 0x5ac]
jmp 0x4d9631
mov dword [ebp - 0x5b0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x540]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047dc50
mov eax, dword [ebp - 0x5b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c978e
mov esp, ebp
pop ebp
ret