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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60cf10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edi
call fcn.00414bc0
cmp dword [ebp - 0x14], edi
jne 0x415ff0
xor edx, edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edx
mov word [ebp - 0x24], di
mov eax, dword [0x6ec738]
mov byte [ebp - 4], 1
cmp eax, edi
mov esi, eax
jne 0x415e0b
mov esi, 0x6ec73c
mov ecx, 0x6bc11c
test ecx, ecx
je 0x415fd4
cmp esi, edi
je 0x415fd4
mov eax, 0x6bd84c
test eax, eax
je 0x415fd4
push edi
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x30], di
call fcn.00402d00
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040e020
mov ebx, 3
push 0x6bd84c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0040e020
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00401070
mov edi, dword [ebp - 0x40]
test edi, edi
jne 0x415e79
lea edi, [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
call fcn.004023d0
push eax
call fcn.005de123
mov edx, eax
push edi
mov dword [ebp - 0x18], edx
call fcn.005de123
mov ecx, dword [ebp - 0x18]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005f6c5c
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x28], edx
je 0x415efa
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, ebx
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x4c]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x40]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x34]
call fcn.004023d0
push eax
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005de123
add esp, 0x18
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401070
mov edx, dword [ebp - 0x28]
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x88]
xor esi, esi
rep stosd dword es:[edi], eax
cmp edx, esi
mov dword [ebp - 0x88], 0x3c
mov dword [ebp - 0x84], 0x40
mov dword [ebp - 0x7c], 0x6bd840
jne 0x415f53
lea edx, [ebp - 0x24]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x28]
cmp eax, esi
mov dword [ebp - 0x74], 0x6bd814
jne 0x415f79
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415fe4
mov eax, dword [ebp - 0x28]
cmp eax, esi
jne 0x415f8f
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
push esi
push eax
call fcn.00412850
test al, al
je 0x415fe4
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x415fde
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [0x6ec108], 1
jmp 0x415fe4
mov ebx, 3
jmp 0x415f20
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret