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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61259a
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 0x4d9101
lea ecx, [ebp + 8]
call fcn.0048b7c0
sub eax, 2
push eax
push 1
lea eax, [ebp - 0x528]
push eax
lea ecx, [ebp + 8]
call fcn.0047c9a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x528]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d8f47
mov dword [ebp - 0x584], 2
push 0
push 2
push 0x69b638
push 0x426
push 0x69b60c
push 0x80
lea ecx, [ebp - 0x644]
call fcn.00485d60
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov dword [ebp - 0x588], ecx
mov byte [ebp - 4], 2
push 0x69b608
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.00485e40
add esp, 0xc
mov ecx, eax
call fcn.0049bb80
mov ecx, eax
call fcn.0049bd40
mov ecx, eax
call fcn.0049bb80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x644]
call fcn.00485de0
push 0
push 0x69b6d4
push 0x69b6d8
push 0x69b6cc
call fcn.004dc890
mov ecx, eax
call fcn.004dc930
mov dword [ebp - 0x58c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047caf0
mov eax, dword [ebp - 0x58c]
jmp 0x4d9341
lea edx, [ebp + 8]
push edx
push 0x69b62c
lea eax, [ebp - 0x558]
push eax
call fcn.004ca580
add esp, 0xc
mov byte [ebp - 4], 3
push 1
push 0
lea ecx, [ebp - 0x558]
call fcn.0047ca20
push eax
push str.explorer.exe
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 0x4d90bf
push 0
push 2
push 0x69b728
push 0x441
push 0x69b6ec
push 0x80
lea ecx, [ebp - 0x67c]
call fcn.00485d60
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
mov byte [ebp - 4], 4
push 0x69b7fc
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.00485e40
add esp, 0xc
mov ecx, eax
call fcn.0049bb80
mov ecx, eax
call fcn.0049bc10
mov ecx, eax
call fcn.0049bb80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x67c]
call fcn.00485de0
mov byte [ebp - 0x90], 0
push 0x7f
push 0
lea edx, [ebp - 0x8f]
push edx
call fcn.005e2ec0
add esp, 0xc
mov eax, dword [ebp - 0x574]
push eax
push 0x69b7c8
lea ecx, [ebp - 0x90]
push ecx
call fcn.0047e710
add esp, 0xc
push 0
lea edx, [ebp - 0x90]
push edx
push 0x69b7cc
push 0x69b8cc
call fcn.004dc890
mov ecx, eax
call fcn.004dc930
mov dword [ebp - 0x598], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x558]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047caf0
mov eax, dword [ebp - 0x598]
jmp 0x4d9341
mov dword [ebp - 0x59c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x558]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047caf0
mov eax, dword [ebp - 0x59c]
jmp 0x4d9341
push 0x44
push 0
lea eax, [ebp - 0x60c]
push eax
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x60c], 0x44
mov ecx, 1
mov word [ebp - 0x5dc], cx
push 0x69b8d4
lea ecx, [ebp - 0x540]
call fcn.0048b540
mov byte [ebp - 4], 5
mov edx, dword [0x6a56b8]
push edx
push 0x5c
lea ecx, [ebp + 8]
call fcn.004da720
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 0xffffffff
je 0x4d9199
mov eax, dword [ebp - 0x578]
push eax
push 1
lea ecx, [ebp - 0x570]
push ecx
lea ecx, [ebp + 8]
call fcn.0047c9a0
mov dword [ebp - 0x5a0], eax
mov edx, dword [ebp - 0x5a0]
push edx
lea ecx, [ebp - 0x540]
call fcn.0047cb40
lea ecx, [ebp - 0x570]
call fcn.0047caf0
lea eax, [ebp - 0x5c8]
push eax
lea ecx, [ebp - 0x60c]
push ecx
lea ecx, [ebp - 0x540]
call fcn.0047ca20
push eax
push 0
push 0x4000000
push 1
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0047ca20
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x4d9313
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.005e2ec0
add esp, 0xc
mov eax, dword [ebp - 0x57c]
push eax
push 0x69b800
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 0x464
push 0x69b8f4
push 0x80
lea ecx, [ebp - 0x6b4]
call fcn.00485d60
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.00485e40
add esp, 0xc
mov ecx, eax
call fcn.004ca640
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6b4]
call fcn.00485de0
mov byte [ebp - 0x110], 0
push 0x7f
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.005e2ec0
add esp, 0xc
mov ecx, dword [ebp - 0x57c]
push ecx
push 0x69b914
lea edx, [ebp - 0x110]
push edx
call fcn.0047e710
add esp, 0xc
push 0
lea eax, [ebp - 0x110]
push eax
push str.StartWindowError
push str.Other
call fcn.004dc890
mov ecx, eax
call fcn.004dc930
mov dword [ebp - 0x5ac], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x540]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047caf0
mov eax, dword [ebp - 0x5ac]
jmp 0x4d9341
mov dword [ebp - 0x5b0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x540]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0047caf0
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.005c950e
mov esp, ebp
pop ebp
ret