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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48776b
mov eax, dword fs:[0]
push eax
sub esp, 0xe68
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xe4c], 0
push 4
xor eax, eax
push str.open
lea ecx, [ebp - 0xe44]
mov dword [ebp - 0xe30], 7
mov dword [ebp - 0xe34], 0
mov word [ebp - 0xe44], ax
call fcn.00401d60
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call edi
test eax, eax
je 0x45b390
push 7
push str.explore
lea ecx, [ebp - 0xe44]
call fcn.00401d60
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
jne 0x45b3e4
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x45b3e4
push ecx
push esi
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x21c]
call fcn.0043b7c0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
push esi
sete byte [ebp - 0xe45]
call edi
test eax, eax
je 0x45b4f4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x62c]
push esi
push 0x4a357c
push 0x208
push eax
call fcn.00405020
lea ecx, [ebp - 0x21c]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b442
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub ecx, edx
xor eax, eax
sar ecx, 1
cmp eax, ecx
push 4
sbb eax, eax
lea ecx, [ebp - 0x21c]
and eax, ecx
push eax
push 0
lea eax, [ebp - 0x62c]
push eax
push str.explore
push 0
call edi
cmp eax, 5
jne 0x45b6b0
mov eax, dword [0x4ca61c]
test al, 1
jne 0x45b4a1
or eax, 1
push 0x489120
mov dword [0x4ca61c], eax
call fcn.0047ce4d
add esp, 4
call fcn.00460b40
cmp eax, 3
jle 0x45b6b9
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
jmp 0x45b4c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b4c0
sub ecx, edx
xor eax, eax
sar ecx, 1
cmp eax, ecx
push 4
sbb eax, eax
lea ecx, [ebp - 0x21c]
and eax, ecx
push eax
push esi
push str.explorer.exe
push str.open
push 0
call edi
jmp 0x45b6b0
mov eax, dword [0x4ca61c]
test al, 1
jne 0x45b512
or eax, 1
push 0x489120
mov dword [0x4ca61c], eax
call fcn.0047ce4d
add esp, 4
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45b538
lea ecx, [ebp - 0xe70]
push ecx
call eax
jmp 0x45b545
lea eax, [ebp - 0xe70]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0xe70]
cmp ax, 9
je 0x45b55c
cmp ax, 6
jne 0x45b65f
cmp byte [ebp - 0xe45], 0
jne 0x45b65f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x424]
call fcn.0045afc0
lea eax, [ebp - 0x424]
push eax
call ebx
test eax, eax
je 0x45b65f
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xe2c], ax
lea eax, [ebp - 0xe2a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0xe30], 8
push 4
lea ecx, [ebp - 0x21c]
push ecx
push 0x48fcb8
push esi
lea eax, [ebp - 0xe44]
cmovae eax, dword [ebp - 0xe44]
push eax
push str._a:shellexecute____cmd:_s_s_s_s_d_
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00405020
add esp, 0x20
lea eax, [ebp - 0xe2c]
push eax
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0
call fcn.0045b090
mov bl, al
test bl, bl
je 0x45b707
call fcn.00403840
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b707
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b707
shr eax, 5
and eax, 1
je 0x45b707
push esi
push 3
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
jmp 0x45b707
lea edx, [ebp - 0x21c]
lea ecx, [edx + 2]
jmp 0x45b670
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45b670
sub edx, ecx
sar edx, 1
cmp dword [ebp - 0xe30], 8
lea ecx, [ebp - 0xe44]
cmovae ecx, dword [ebp - 0xe44]
xor eax, eax
cmp eax, edx
push 4
sbb eax, eax
lea edx, [ebp - 0x21c]
and eax, edx
push eax
push 0
push esi
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
je 0x45b6c3
cmp eax, 0x20
ja 0x45b6c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x45b707
mov eax, dword [0x4ca54c]
test al, 1
jne 0x45b6e1
or eax, 1
push 0x488df0
mov dword [0x4ca54c], eax
call fcn.0047ce4d
add esp, 4
push esi
call ebx
test eax, eax
je 0x45b705
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b705
shr eax, 5
and eax, 1
je 0x45b705
push esi
push 3
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
mov bl, 1
cmp dword [ebp - 0xe30], 8
jb 0x45b71f
push dword [ebp - 0xe44]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret 0xc