Function at 0x41a1f0
Capabilities:
Check if file exists
Create process on windows
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0897
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4e42e0]
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 ebx, ecx
mov dword [ebp - 0x204], ebx
mov esi, dword [ebp + 8]
mov ecx, 0x4e97a8
push 0x4e20
mov dword [ebp - 0x208], 0
call fcn.00424910
test al, al
je 0x41a35c
call fcn.00425480
mov edi, eax
push str.Entering_runExecutable_exePath:
push edi
call fcn.0040b300
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x41a269
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.0040b8d0
add esp, 0xc
mov ecx, dword [edi + 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x208], 2
test cl, 2
jne 0x41a2cc
mov eax, dword [edi + 0x24]
mov ebx, dword [eax]
test ebx, ebx
je 0x41a2cc
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x20c]
cmp ebx, dword [edi + 0x3c]
mov dword [ebp - 0x20c], ebx
mov edx, dword [eax]
lea eax, [edi + 0x3c]
cmovb ecx, eax
mov eax, dword [ecx]
sub eax, edx
push eax
push edx
jmp 0x41a2ea
test cl, 4
jne 0x41a2f2
mov eax, dword [edi + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x41a2f2
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov eax, dword [edi + 0x30]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408c80
push str.bool___thiscall_System::ProcessImpl::runExecutable_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
push 0x37
push str......._src_systemprocess_impl.cpp
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push 0x4e20
push 0x4e97a8
call fcn.004254b0
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x41a356
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a34c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a562
push edx
push ecx
call fcn.0047242a
add esp, 8
mov ebx, dword [ebp - 0x204]
mov edi, dword [esi + 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x224], xmm0
mov eax, esi
movlpd qword [ebp - 0x21c], xmm0
movlpd qword [ebp - 0x214], xmm0
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0x40
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], str.runas
cmp edi, 0x10
jb 0x41a3ab
mov eax, dword [esi]
mov dword [ebp - 0x238], eax
mov eax, dword [0x4e978c]
push 0x160
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x200]
push 0
push eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 5
mov dword [ebp - 0x228], 0
call fcn.0048a240
add esp, 0xc
mov eax, esi
cmp edi, 0x10
jb 0x41a3f9
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41a567
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41a412
mov eax, dword [esi]
push 0x2000
push 0x160
lea ecx, [ebp - 0x200]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x41a599
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x41a5cb
mov edi, dword [ebp - 0x228]
cmp edi, 0x20
jg 0x41a539
lea eax, [edi - 2]
cmp eax, 0x18
ja case.0x41a46b.4
movzx eax, byte [eax + 0x41a638]
jmp dword [eax*4 + 0x41a620]
push esi
lea eax, [ebp - 0x50]
push str.File_not_found_at_path:
push eax
call fcn.00419eb0
add esp, 0xc
mov dword [ebp - 4], 7
push edi
jmp 0x41a582
push esi
lea eax, [ebp - 0x50]
push str.Path_not_found_at_path:
push eax
call fcn.00419eb0
add esp, 0xc
mov dword [ebp - 4], 8
push edi
jmp 0x41a582
push esi
lea eax, [ebp - 0x50]
push str.Access_denied:
push eax
call fcn.00419eb0
add esp, 0xc
mov dword [ebp - 4], 9
push edi
jmp 0x41a582
push str.Not_enough_memory_or_resources_to_run_at
lea ecx, [ebp - 0x50]
call fcn.00403d10
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x50]
push edi
jmp 0x41a582
push esi
lea eax, [ebp - 0x50]
push str.Cannot_share_an_open_file_:
push eax
call fcn.00419eb0
add esp, 0xc
mov dword [ebp - 4], 0xb
push edi
jmp 0x41a582
push str.Error_while_launch_file
lea ecx, [ebp - 0x68]
call fcn.00403d10
push edi
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xa0]
call fcn.004182f0
push 0x4d8eec
lea eax, [ebp - 0xa0]
jmp 0x41a593
mov eax, dword [ebp - 0x210]
mov dword [ebx + 4], eax
mov al, 1
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.00472897
mov esp, ebp
pop ebp
ret 4
call fcn.0048d2da
push esi
lea eax, [ebp - 0x50]
push str.File_not_found_at_path:
push eax
call fcn.00419eb0
add esp, 0xc
mov dword [ebp - 4], 2
push 1
push eax
lea ecx, [ebp - 0x38]
call fcn.004182f0
push 0x4d8eec
lea eax, [ebp - 0x38]
push eax
call fcn.0048927d
push esi
lea eax, [ebp - 0x50]
push str.Not_executable_file_at:
push eax
call fcn.00419eb0
add esp, 0xc
push 1
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.004182f0
push 0x4d8eec
lea eax, [ebp - 0x38]
push eax
call fcn.0048927d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00419ff0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 4
push str.Error_while_launch_file:
push eax
call fcn.0040b790
add esp, 0x14
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00404260
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x78]
call fcn.004182f0
push 0x4d8eec
lea eax, [ebp - 0x78]
push eax
call fcn.0048927d
nop dword [eax]
jb 0x41a5c6
inc ecx
add byte [ecx - 0x4fffbe5c], dl
movsb byte es:[edi], byte [esi]
inc ecx
add bh, cl
movsb byte es:[edi], byte [esi]
inc ecx
add ah, ch
movsb byte es:[edi], byte [esi]
inc ecx
add byte [eax], cl
movsd dword es:[edi], dword [esi]
inc ecx
add byte [eax], al
add dword [0x3050502], eax
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, -859044859
int3